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

Section Code: BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
2,379

Dear All,

I am using above BAPI for creating Incoming Invoice. In miro Business Place and Section Code are mandatory fields. In headerdata of BAPI I am able to see Business place field, but there is no field for Section Code.

Similarly I am not finding field for Sales tax Code.

Please guide me on the same.

Thanks in advance.

Vinod.

1 REPLY 1
Read only

Former Member
0 Likes
1,033

Hi,

I faced the same issue while trying to post Invoice through "BAPI_INCOMINGINVOICE_CREATE" as Section Code was made a mandatory field.

To solve this problem I did the following:

1. Declared a field ZZSECCO in the structure "BAPI_INCINV_CREATE_HEADER".

2. Then created an implicit enhancement point in subroutine "RBKPV_FILL_FROM_HEADERDATA" present inside the subroutine "RBKPV_FILL" in the BAPI_INCOMINGINVOICE_CREATE".

I passed value in ZZSECCO field in HEADERDATA during the BAPI call.

Then I moved the contents of field zzsecco to e_rbkpv-secco :

enhancement 27 zxxxx. "active version

move i_headerdata-zzsecco to e_rbkpv-secco.

endenhancement.

Best Regards

Tejaswini