‎2010 Jul 23 8:51 AM
Hi Experts,
Iam using bapi " BAPI_ACC_INVOICE_RECEIPT_POST " to post outgoing payments ( tcode F-53 ).
I have passed all the values to the bapi structures. It is giving the error saying -- " Required field DOC_TYPE was not transferred in parameter DOCUMENTHEADER ". What could be the problem.
Iam passing the doc_type field also. In debugging also, it is showing the doc_type value.
Still error is throwing.
Thanks in advance
Regards
Murali Krishan.T
‎2010 Jul 23 9:08 AM
Hi,
Compare your code with the Standard program "LWOSCR_EXIF01" which calls this BAPI .
Regards
Vinod
‎2010 Jul 24 8:18 AM
Hi Vinod,
Thanks for prompt reply.
I have compared my program code with the standard program that you suggested.
And I passed the values to the bapi strucutres accordingly.
But it is throwing these errors :
Error in document: BKPFF $ KDVCLNT201
Required field USERNAME was not transferred in parameter DOCUMENTHEADER
Required field COMP_CODE was not transferred in parameter ACCOUNTPAYABLE
Required field PSTNG_DATE was not transferred in parameter ACCOUNTPAYABLE
Required field COMP_CODE was not transferred in parameter DOCUMENTHEADER
Required field PSTNG_DATE was not transferred in parameter DOCUMENTHEADER
Required field DOC_TYPE was not transferred in parameter DOCUMENTHEADER
what could be the problem?
regards,
Murali