2007 Oct 23 9:51 PM
Hi all
Im using BAPI_ACC_DOCUMENT_POST to post docs for Tcode FB01.
Im giving the Document type as 'SA'. Though I am populating the HEADER_TXT of DOCUMENTHEADER, when i test the BAPI, the following error is coming in the RETURN table
<b>"For document type SA, an entry is required in field Doc. Hdr Text"</b>
The rest of the header details are
BUS_ACT = RFBU
USERNAME = ARUN
HEADER_TXT = TEST BAPI
COMP_CODE = 1004
DOC_DATE = 10/23/2007
PSTNG_DATE = 10/23/2007
FISC_YEAR = 2007
FIS_PERIOD = 10
DOC_TYPE = SA
Can any one guide me pls
Regards
Arun
2007 Oct 23 10:00 PM
2007 Oct 23 10:05 PM
Hi Rob....
I filled it as in theres a "Details View/Edit" button. clicked that and inside i fillled the required columns.
In HEADER_TXT, i entered TEST_BAPI
after fillin other required columns, press F3 and then F8
I am jus executing the BAPI, not yet included it in any program
Isn't this the way to fill..or am i doing somthing wrong??
Arun
null
2007 Oct 23 10:12 PM
That should be OK - you might find it easier to work out errors if you just put it into a program.
Rob
2007 Oct 23 10:15 PM