01-25-2017 5:05 AM
Hi All,
Pl explain the steps for adding mtsnr fields in bapi_goodsmvt_create..
01-25-2017 6:37 AM
Did you notice the EXTENSIONIN table parameter, read its documentation and look at BAdI MB_BAPI_GOODSMVT_CREATE in Enhancement Spot MB_GOODSMOVEMENT. Also you should really elaborate on 'adding mtsnr fieldS' requirement?
Regards,
Raymond
01-25-2017 5:31 AM
Hi Sathesh,
Can you be clear with more information..
The reason why i am asking is ..i have worked on it..
Regards,
D.Rohan Sriram
01-26-2017 7:47 AM
Hi,
Pl find the attached Report for more details.
REQUIREMENT:
Need to Material slip field (MKPF-MTSNR) to that attached report program,
ISSUE:
I tried to add that field in BAPI (i.e)(MKPF-MTSNR), I tried using Extension but that field is not getting uploaded,
Pl advice.
01-25-2017 6:37 AM
Did you notice the EXTENSIONIN table parameter, read its documentation and look at BAdI MB_BAPI_GOODSMVT_CREATE in Enhancement Spot MB_GOODSMOVEMENT. Also you should really elaborate on 'adding mtsnr fieldS' requirement?
Regards,
Raymond
01-26-2017 7:38 AM
Hi,
Pl find the attached Report for more details.
REQUIREMENT:
Need to Material slip field (MKPF-MTSNR) to that attached report program,
ISSUE:
I tried to add that field in BAPI (i.e)(MKPF-MTSNR), I tried using Extension but that field is not getting uploaded,
Pl advice.
01-26-2017 10:51 AM
And what did you code in method IF_EX_MB_BAPI_GOODSMVT_CREATE->EXTENSIONIN_TO_MATDOC, look first at the sample provided by SAP.
01-27-2017 5:01 AM
Hi ,
Pl find the attachment,
Ya i ve seen the sample code, it says that i have to create the new field using Append structure option in existing structure but while trying that it says that Structure cannot be enhanced and im unable to append the new structure ,
pl advice regarding how to add the field in structure.
01-27-2017 7:38 AM
Never change a BAdI signature, Extensionin were created for this reason, pass your data to the extension parameters and if required in documentation, implement the required BAdI to map data from the extension to work area table provided by the BAdI.