Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Sorce List (ME01)

Former Member
0 Kudos

Hi,

Is there any BAPI for Source List (ME01)?

Thanks

1 ACCEPTED SOLUTION

ritesh_dugad2
Active Participant
0 Kudos

Look at these Function Modules:

ME_CHK_SOURCE_OF_SUPPLY_FOR_MA

ME_CCP_CHECK_SOURCE_EXT

ME_MAINTAIN_SOURCE_LIST

ME_POST_SOURCE_LIST

ME_UPDATE_SOURCES_OF_SUPPLY

ME_UPDATE_SOURCES_OF_SUPPLY_BA

ME_DIRECT_INPUT_SOURCE_LIST

ME_INITIALIZE_SOURCE_LIST

ME_MAINTAIN_SOURCE_LIST_NEW

ME_POST_SOURCE_LIST_NEW

ME_SELECT_SOURCE_BY_PRICE

ME_CHECK_SOURCE_OF_SUPPLY_1

ME_CHECK_SOURCE_OF_SUPPLY_1_EX

ME_CHECK_SOURCE_OF_SUPPLY_2

ME_CHECK_SOURCE_OF_SUPPLY_3

ME_CHECK_SOURCE_OF_SUPPLY_4

ME_CHECK_SOURCE_OF_SUPPLY_QM

ME_GENERATE_SOURCE_LIST

ME_SEARCH_SOURCE_OF_SUPPLY

ME_SEARCH_SOURCE_OF_SUPPLY_EXP

ME_SOURCE_PRICE_SIMULATION

Reward points if useful.

Thanks

7 REPLIES 7

former_member183994
Active Participant
0 Kudos

I am not aware of such a BAPI. I am using idoc message type SRCLST, basic type SRCLST01 (version 46c) to upload source lists

Former Member
0 Kudos

Try This one:

BAPI_SOURCEDETERMIN_GETSOS

PS: award pts if helps

ritesh_dugad2
Active Participant
0 Kudos

Look at these Function Modules:

ME_CHK_SOURCE_OF_SUPPLY_FOR_MA

ME_CCP_CHECK_SOURCE_EXT

ME_MAINTAIN_SOURCE_LIST

ME_POST_SOURCE_LIST

ME_UPDATE_SOURCES_OF_SUPPLY

ME_UPDATE_SOURCES_OF_SUPPLY_BA

ME_DIRECT_INPUT_SOURCE_LIST

ME_INITIALIZE_SOURCE_LIST

ME_MAINTAIN_SOURCE_LIST_NEW

ME_POST_SOURCE_LIST_NEW

ME_SELECT_SOURCE_BY_PRICE

ME_CHECK_SOURCE_OF_SUPPLY_1

ME_CHECK_SOURCE_OF_SUPPLY_1_EX

ME_CHECK_SOURCE_OF_SUPPLY_2

ME_CHECK_SOURCE_OF_SUPPLY_3

ME_CHECK_SOURCE_OF_SUPPLY_4

ME_CHECK_SOURCE_OF_SUPPLY_QM

ME_GENERATE_SOURCE_LIST

ME_SEARCH_SOURCE_OF_SUPPLY

ME_SEARCH_SOURCE_OF_SUPPLY_EXP

ME_SOURCE_PRICE_SIMULATION

Reward points if useful.

Thanks

Former Member
0 Kudos

Hi, Use FM 'ME_MAINTAIN_SOURCE_LIST'.

0 Kudos

Hi Venkat,

I am unable to create source list using the above FM and ME_POST_SOURCE_LIST . I am interested using BAPI or FM not by BDC or LSMW, In case any such options using BAPI or FM please advice.

If you go to ME01 as you will enter Material & Plant in initial screen and in 2nd screen you will enter Vendor and validity dates. At this stage I have only these inputs based on this I want to create an upload program which must facilities upload in mass.

Please kindly suggest better working FM or BAPI for source list. pls don't suggest use LSMW or BDC, I know this works fine for me.

I have tried using this FM ME_MAINTAIN_SOURCE_LIST_NEW and its not getting saved.

Regards

Nandish

Former Member
0 Kudos

Hello Experts Any answer I can expect????

Former Member
0 Kudos

Dear Community,

Has anyone figured out how to do validation at Save for ME01?

I tried ME_CHECK_SOURCES and had no luck.  I went to SE18, entered the BADI Name 'ME_CHECK_SOURCES'. I created an Implementation 'ZME_CHECK_SOURCES'.  Within this were two Methods 'CHECK_DURING_SEARCH' & 'CHECK_DURING_STD_CHECK'.  I added a break-point in each Method, Saved, Activated, went back to the Implementation, and then Activated the Implementation.  I ran ME01, keyed in new vendor source info, and Saved.  It failed to call any of the breaks I set. 

Has anyone found a BADI that works here for ME01 validation at SAVE?  I've tried the following and none have worked?

ME_CHECK_SOURCES
ME_CCP_BESWK_AUTH_CH
ME_CHECK_ALL_ITEMS
ME_PURCHDOC_POSTED


Thanks.


Erik