‎2007 Aug 29 10:27 PM
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.....
‎2007 Aug 29 10:53 PM
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
‎2007 Aug 30 3:38 AM
My question do i need to combine both header and line item table into one table and loop through and call the function module....
‎2007 Aug 29 11:25 PM
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