Workflow to ABAP problem
Lola Oluwa
Lola.Oluwa at outokumpu.net
Tue May 13 07:07:15 EDT 2003
Hi,
There are several ways of passing data when calling an ABAP program, ho=
w
you do this in your case depends on how you are calling the program.
Example: If program has selection screen with input parameters, your co=
de
could look like this within your method:
.....
DATA:
companycode LIKE bkpf-bukrs,
documentnumber LIKE bkpf-belnr,
fiscalyear LIKE bkpf-gjahr,
approveraction LIKE z_appr-appr_action.
swc_get_element container 'CompanyCode' companycode.
swc_get_element container 'DocumentNumber' documentnumber.
swc_get_element container 'FiscalYear' fiscalyear.
* Authority check
SUBMIT z_wf_approval2 AND RETURN
WITH docnum EQ documentnumber
WITH fiscyr EQ fiscalyear
WITH sccode EQ companycode.
.....
Hope this helps if I have interpreted your question correctlly.
Regards,
Lola.
=
=20
"<Philip> <Ring>" =
=20
Sent by: SAP To: SAP-WUG at MITV=
MA.MIT.EDU =20
Workflow cc: (bcc: Lola O=
luwa/Outokumpuext) =20
<Owner-SAP-WUG at MITV Subject: Workflow to =
ABAP problem =20
MA.MIT.EDU> =
=20
=
=20
=
=20
13.05.2003 14:01 =
=20
Please respond to =
=20
"SAP Workflow =
=20
Users' Group" =
=20
=
=20
=
=20
Hello everybody!
We have a problem with our Workflow Rel. 4.6C.
We have a Workflow step, which calls a SAP ABAP program.
That part works!
Our problem:
The container elements of the Workflow are not handed
over to the ABAP.
Or: How will the container elements handed over into
the parameters of the ABAP?
Thank for all the Help!
Philip
BGT OI team
<g: Wir haben ein Problem bei unserem Workflow Rel. 4.6C. Wir haben ein=
en
Workflow Schritt, der ein SAP-ABAP-Programm aufruft. Das funktioniert.
Unser Problem:Die Containerelemente vom Workflow werden nicht an den AB=
AP
=FCbergeben. Oder: Wie werden die Containewrelemente in die Parameter v=
om
ABAP =FCbergeben?>
=
More information about the SAP-WUG
mailing list