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

BADI MB_BAPI_GOODSMVT_CREATE

Former Member
0 Likes
1,983

Hi

I have appended custom fields in MSEG table. Now i want to update the custom fields using

BADI MB_BAPI_GOODSMVT_CREATE during GR document creation.

I went thru forum, but no proper answer for this?

Pls confirm which way its possible to update the fields

1)creating Classic implementation ZXXXX and passing parameter EXTENSIONIN

in METHOD EXTENSIONIN_TO_MATDOC can solve my problem? Should i have to use BAPIPAREX structure?

2)only Enhancement spot MB_GOODSMOVEMENT can solve filling the Custom fields in MSEG table?

After many reference i am confused whether BAPI BAPI_GOODSMVT_CREATE allows enhancement parameter or not?

Pls confirm.

Regards

Chandra

Hi

I have appended custom fields in MSEG table. Now i want to update the custom fields using

BADI MB_BAPI_GOODSMVT_CREATE during GR document creation.

I went thru forum, but no proper answer for this?

Pls confirm which way its possible to update the fields

1)creating Classic implementation ZXXXX and passing parameter EXTENSIONIN

in METHOD EXTENSIONIN_TO_MATDOC can solve my problem? Should i have to use BAPIPAREX structure?

2)only Enhancement spot MB_GOODSMOVEMENT can solve filling the Custom fields in MSEG table?

After many reference i am confused whether BAPI BAPI_GOODSMVT_CREATE allows enhancement parameter or not?

Pls confirm.

Regards

Chandra

1 REPLY 1
Read only

Former Member
0 Likes
1,132

Hi

I have added key fields BLNR(document no) Itemno and custom zfieldsv in MSEG into my new BAPI structure ZMSEG_BAPI.

Now i am trying to pass values to those zfields using VALUEPART1 and update the MSEG table using BADI method EXTENSIONIN_TO_MATDOC

since I am creating document using BAPI_GOODSMVT_CREATE i will not have key field values of document number and item no to pass in Valuepart1 field.

Can you pls confirm should i have to pass blank valuesfor key field in valuepart1. just wondering how the key fields n BAPI structure will related with MSEG Table.

Regard

Chandra

Edited by: princeck on Sep 26, 2011 3:17 AM