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

Bapi Field Updating Which Table

Former Member
0 Likes
2,431

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?

1 ACCEPTED SOLUTION
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
1,484

Hello VijayaChandran.

     Table: MKPF

     Field:  XBLNR

     As the BAPI variable description suggests, it will be in Material document header table(MKPF).

Regards.

3 REPLIES 3
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
1,485

Hello VijayaChandran.

     Table: MKPF

     Field:  XBLNR

     As the BAPI variable description suggests, it will be in Material document header table(MKPF).

Regards.

Read only

0 Likes
1,484

Thanks Mr. Arun.

    It's On The Table You Mentioned.

Read only

0 Likes
1,484

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