Skip to Content
0
Former Member
Sep 27, 2016 at 02:28 PM

BAPI_DOCUMENT_CREATE2 CV01N Document not creating

396 Views

Hi Everybody

I am using the bapi fm BAPI_DOCUMENT_CREATE2 for craeting document for CV01n ..

BAPI_DOC_DRAW2-DOCUMENTNUMBER = wa_finaldata-doknr.
BAPI_DOC_DRAW2-DOCUMENTTYPE = wa_finaldata-dokar.
BAPI_DOC_DRAW2-DOCUMENTVERSION = wa_finaldata-dokvr.
BAPI_DOC_DRAW2-DOCUMENTPART = wa_finaldata-doktl.
BAPI_DOC_DRAW2-DESCRIPTION = wa_finaldata-dktxt.
BAPI_DOC_DRAW2-LABORATORY = wa_finaldata-labor.
BAPI_DOC_DRAW2-AUTHORITYGROUP = wa_finaldata-begru.
BAPI_DOC_DRAW2-STATUSEXTERN = wa_finaldata-stabk.
BAPI_DOC_DRAW2-WSAPPLICATION1 = wa_finaldata-dappl.


I am exporting the values ...Return no error message I am getting and sy-subrc = 0..



But Document not creating ..Pl. help me where is mistake ???



Thanks

Subhasis