BAPI_ENTRYSHEET_CREATE
Nat 4 Govender
ngovender4 at toyota.co.za
Fri Dec 13 02:49:18 EST 2002
Hi Sergey,
We are also intending to use workflow to create a service entry with
reference to a PO however I noticed that in the code you supplied you have
not provided the PO number. Are you guys creating a SE against a PO?
(Embedded image moved to file: pic18467.jpg)
"Breslavets, Sergey"
<Sergey.Breslavets at anheuser To: SAP-WUG at MITVMA.MIT.EDU
-busch.com> cc:
Sent by: SAP Workflow Subject: Re: BAPI_ENTRYSHEET_CREATE
<Owner-SAP-WUG at MITVMA.MIT.E
DU>
12/12/2002 07:24 PM
Please respond to "SAP
Workflow Users' Group"
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