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 ME11

Former Member
0 Kudos

Hi Friends,

Please suggest me some BAPI Function module to create info record in ME11 transaction, hence i got some function module but those doesnt help in handling exceptions and error message.

Kindly help me.

Thanks

Lekha

5 REPLIES 5

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Not aware of any BAPIs but did you try : WSTN1_INFO_RECORD_BUILD ?

Mathews

0 Kudos

i guess BDC is better option for ME11. we dont have BAPI or good fm to do so.

Above FM works only under ceratin conditions , check documentation for the same.

We get a list of purchase prices for the prepacks to be created /

*--- changed. From this list, we build the corresponding info records.

*--- We copy part of the logic of material master, function group mgwl,

*--- form reference_after. The routine call must be placed later, when

*--- material data are at least available in the corresponding buffers

*--- of the select modules.

*--- Currently, the module is not very clearly structured. Think about

*--- further modularisation.

*--- Open points:

*--- o Should we read general EINE data (without plant) when no

*--- record for the desired plant exists?

*--- o Which fields should be copied from generic material EINA /

*--- EINE, which ones should be filled according to article master

*--- logic?

Former Member
0 Kudos

Hi,

check the below Function modules it may be helpful

MMPUR_EKKN_ARRAY_READ

MMPUR_EKKN_READ_EBELN

MMPUR_EKKN_READ_EBELN_EBELP

MMPUR_EKKN_REFRESH_BUFFER

Thanks & Regards,

Sateesh.

former_member156446
Active Contributor
0 Kudos

Looks like we dont have a BAPI to create.... so option Either a BDC or IDOC method.