2013 Oct 26 12:32 PM
Hi Experts.
I Want To Know On Thing. I Am Using The Function Module "BAPI_GOODSMVT_CREATE" To Create A GR Doc. I Assigned A Value To Field REF_DOC_NO_LONG In Structure bapi2017_gm_head_01. In Which Table I Can Find That Data?
2013 Oct 26 12:58 PM
Hello VijayaChandran.
Table: MKPF
Field: XBLNR
As the BAPI variable description suggests, it will be in Material document header table(MKPF).
Regards.
2013 Oct 26 12:58 PM
Hello VijayaChandran.
Table: MKPF
Field: XBLNR
As the BAPI variable description suggests, it will be in Material document header table(MKPF).
Regards.
2013 Oct 26 3:03 PM
2013 Oct 27 6:20 AM
Hi,
This field will be updated in MKPF table only. However please find the below dependency of the filed.
You can only uses this field if domain XBLNR1 has been lengthened from 16 to 35 spaces, which causes large-scale changes in the database.
This lengthening is required by customers in special cases. please check the below code for your reference.
Please find the below code inside the BAPI*GMVT*
* IS-PS: special logic because the length of domain XBLNR1 could be 35
CALL FUNCTION 'REF_DOC_NO_CONVERSION_INBOUND'
EXPORTING
i_ref_doc_no = bapi2017_gm_head_01-ref_doc_no
i_ref_doc_no_long = bapi2017_gm_head_01-ref_doc_no_long
IMPORTING
e_ref_doc_no_long = imkpf-xblnr.
Thanks,
Kiran