BAPI_ENTRYSHEET_CREATE
Breslavets, Sergey
Sergey.Breslavets at anheuser-busch.com
Thu Dec 12 12:24:37 EST 2002
Hi Michael,
i've done that some time ago.
here's the syntax i used to call BAPI:
CALL FUNCTION 'BAPI_ENTRYSHEET_CREATE'
EXPORTING
ENTRYSHEETHEADER = ES_HEADER
* TESTRUN = ' '
IMPORTING
ENTRYSHEET = ENTRYSHEET_NO
TABLES
ENTRYSHEETACCOUNTASSIGNMENT = ES_ACCOUNTASSIGNMENT
ENTRYSHEETSERVICES = ES_SERVICES
ENTRYSHEETSRVACCASSVALUES = ES_SRVACCASSVALUES
RETURN = RETURN
* ENTRYSHEETSERVICESTEXTS =
* ENTRYSHEETHEADERTEXT =
.
Email me at s_breslavetz at hotmail.com if you need more details.
Thanks,
Sergey
-----Original Message-----
From: Michael [mailto:mkl_workflow at yahoo.com]
Sent: Thursday, December 12, 2002 5:28 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: BAPI_ENTRYSHEET_CREATE
Hi all
I have a workflow requirement to create a service
entry sheet in background
with reference to a PO item.
I am on 4.6c and using bus object type BUS2091,
method, Create - this references a BAPI call,
BAPI_ENTRYSHEET_CREATE.
I am having troubles trying to get this BAPI to work
and i am a bit confused as to the values i need to put
into the import parameters & table parameters.
Everytime i test the BAPI via se37, I either get
message SE536 (short text and number of outline not
maintained) or SE214 (Error during Updating). Although
with the latter, if i mark the import parameter 'Test
Run' = X then i get a success message saying that the
service entry sheet was created.
I suspect the problem is with creation with the
service lines but i am not sure.
Your help will be greatly appreciated.
Michael
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the SAP-WUG
mailing list