2011 Sep 21 4:06 PM
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
2011 Sep 26 2:16 AM
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