11-27-2006 2:03 PM
<b>BBKPF</b>
BLDAT Document date in document
BLART Document type
BUKRS Company Code
BUDAT Posting date in the document
MONAT Fiscal period
WAERS Currency Key
BKTXT Document header text
<b>BBSEG </b>
<b>Line item 1 data</b>
NEWBS Posting Key for the Next Line Item
DUMMY Do Not Use Field - Use Field NEWKO
NEWUM Special G/L Indicator for the Next Line Item
WRBTR Amount in document currency (batch input field)
ZFBDT Date (batch input)
ZUONR Assignment number
SGTXT Item Text
<b>Line Item Data2</b>
NEWBS Posting Key for the Next Line Item
DUMMY Do Not Use Field - Use Field NEWKO
WRBTR Amount in document currency (batch input field)
VALUT Date (batch input)
ZUONR Assignment number
SGTXT Item Text
PS_POSID Work Breakdown Structure Element (WBS Element)
KDAUF
KDPOS
For the above structure how to upload the data and Recording Structure SHDB
Plz send the sample code or suggestion for above
I look forward to your reply
Thanks & Regards
SEK
11-27-2006 2:21 PM
11-27-2006 2:25 PM
Hi Raja Sekhar,
Better to use the BAPI
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
If you use the recording it will be difficult to handle ( for each posting key, the screens are different)
Message was edited by:
Lakshmi Sekhar Reddy
11-27-2006 3:23 PM
Hi,
PS_POSID Work Breakdown Structure Element (WBS Element)
KDAUF
KDPOS
These Three fields belongs to which table
i look forward to your reply
thanks & Regards
SEK
11-28-2006 4:17 AM
Hi Raja sekhar
these three fields belongs to S279 table.
KDAUF
KDPOS
PS_POSID
11-27-2006 3:36 PM
Hi
All fields you don't need to use have to be filled with /
<b>BGR00</b>
STYPE = '0'
GROUP = 'MYSESSION'
MANDT = SY-MANDT.
USNAM = SY-UNAME.
START = SPACE.
XKEEP = 'X'.
NODATA = '/'.
<b>BBKPF</b>
STYPE = '1'.
TCODE = 'FB01'.
BLDAT = '241106'.
BLART = <Document type> .
BUKRS = <Company code>.
BUDAT = '241106'.
WAERS = 'EUR' .
BKTXT = 'RBIBL00'.
<b>BBSEG</b>
Line item 1 data
NEWBS = <Posting key depends on type of account>.
NEWUM =
NEWKO = <Account Code>
WRBTR = '1.000,10'.
ZFBDT = '241106'.
ZUONR = 'Test'.
SGTXT = 'Test'.
<b>BBSEG</b>
Line item 1 data
NEWBS = <Posting key depends on type of account>.
NEWUM =
NEWKO = <Account Code>
WRBTR = '1.000,10'.
ZFBDT = '241106'.
ZUONR = 'Test'.
SGTXT = 'Test'.
Max