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

How to use BAPI_BAPI_CTRACDOCUMENT_CREATE

Former Member
0 Likes
574

Hi!

I'm new to BAPI and would like to use BAPI_BAPI_CTRACDOCUMENT_CREATE. I can't find a way on how to post documents having the following fields:

Field Tech Field

Document Date BLDAT

Posting Date BUDAT

Doc Type BLART

Currency WAERS

Company Code VWBUK

Debit GL Account HKONT

Credit GL Account HKONT

Amount BETRW

Assignment HZUON

Line Item XEIPH

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

rodrigo_paisante3
Active Contributor
0 Likes
511

Hi,

See this thread, hope this help you:

Regards.

2 REPLIES 2
Read only

rodrigo_paisante3
Active Contributor
0 Likes
512

Hi,

See this thread, hope this help you:

Regards.

Read only

0 Likes
511

Thanks Rodrigo.

But I haven't figured out how to pass the other fields such as the following:

Debit GL Account - HKONT

Credit GL Account - HKONT

Assignment - HZUON

And also:

- How am I going to input the Debit GL Account and Credit GL Account?

- What is the difference of the OPEN ITEM and OFFSET ITEM tables?

- Is the TESTRUN export entry needed?