Application Development 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: 
SAP Community Downtime Scheduled for This Weekend

Help me Urgent

Former Member
0 Kudos
126

<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

5 REPLIES 5

Former Member
0 Kudos
76

You can record it using FB01.

Former Member
0 Kudos
76

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

0 Kudos
76

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

0 Kudos
76

Hi Raja sekhar

these three fields belongs to S279 table.

KDAUF

KDPOS

PS_POSID

Former Member
0 Kudos
76

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