Application Development and Automation 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: 
Read only

BAPI or FM

Former Member
0 Likes
1,101

Hi friends,

my requirement is to develop a program which automatically creates InfoRecord and Sourcelist for a given

material number,

the required input fields for the info record and sourcelist will be brought from other ztables.

Now the problem is to find out the function module or Bapi which performs the exact function of ME11, and ME01.

i searched in the tcodes SE37 and Bapi for the

createinforec but could not round up on any because, none of those have any proper documentation,

has any one come across such a scenario earlier,

it would heipl me a lot in the future if some one could guide me how to find a function module or BAPI in a set of function modules in SE37.

Or more precisely, given a tcode how do i find an equivalent BAPI or FM.

Best Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
811

Hi ,

Try these function modules for source list,

ME_MAINTAIN_SOURCE_LIST_NEW

ME_POST_SOURCE_LIST_NEW

ME_DIRECT_INPUT_SOURCE_LIST

ME_INITIALIZE_SOURCE_LIST

Try these for Info Record

ME_UPDATE_INFORECORD

ME_UPDATE_INFORECORD_COND

Thanks,

Susan.

3 REPLIES 3
Read only

Former Member
0 Likes
811

Hello Vinay,

You can go to the T-Code SWO1 and use the Pattern BUS* and Press F4. You'll see a list of all possible Business Objects. Select the Appropriate (Material Master or something relevant) and DISPLAY it. Inside, you'll find some Methods which will internally use BAPIs.

Hope I was helpful.

Thanks and Regards,

Venkat Phani Prasad Konduri

Read only

0 Likes
811

Hi Venkata Phani,

Thanks for the response,

As you have mentioned , i went to SWO1 and looked for the object, there were several, but none were close to my requirement.

I need a FM or BAPI for creating InfoRecord and SourceList.

Thanks again for your time.

Read only

Former Member
0 Likes
812

Hi ,

Try these function modules for source list,

ME_MAINTAIN_SOURCE_LIST_NEW

ME_POST_SOURCE_LIST_NEW

ME_DIRECT_INPUT_SOURCE_LIST

ME_INITIALIZE_SOURCE_LIST

Try these for Info Record

ME_UPDATE_INFORECORD

ME_UPDATE_INFORECORD_COND

Thanks,

Susan.