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

posting_interface_documents

SG141
Active Participant
0 Likes
757

Can anyone demonstrate the use of function modules "POSTING_INTERFACE_DOCUMENTS" with a simple example. My header data and line data are in two different tables...do i need to club all the data into one table and pass into function module. Please help me.....

3 REPLIES 3
Read only

Former Member
0 Likes
683

hi ,

this is for to Post document using the internal posting interface,

yes you need to combine header and item data to one internal table and you can specify that one under parameter T_FTPOST. try with this

Read only

SG141
Active Participant
0 Likes
683

My question do i need to combine both header and line item table into one table and loop through and call the function module....

Read only

Former Member
0 Likes
683

Yes you have to fill FTPOST.

Eg:

FTPOST-STYPE = 'K'.

FTPOST-COUNT = '001'.

FTPOST-FNAM = BKPF-BLART.

FTPOST-FVAL = 'AB'.

APPEND FTPOST.

CLEAR FTPOST.

1. CALL FUNCTION 'POSTING_INTERFACE_START'

2. CALL FUNCTION 'POSTING_INTERFACE_CLEARING'

3. CALL FUNCTION 'POSTING_INTERFACE_END'

I think you have to call all the 3 functions