on ‎2008 Jul 25 6:38 AM
hello all,
i am new to web dynpro for java.i have already done an application
"Creating a Web Dynpro Application Accessing ABAP Functions" this application
have good document on sdn.
this application is working fine .
Now i got an requiremnt for creating a purchase order in web dynpro for java.
in normal report when i call the bapi the parameter are the header, headerx,item, itemx is an internal table.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = HEADER
POHEADERX = HEADERX
POADDRVENDOR =
TESTRUN =
IMPORTING
EXPPURCHASEORDER =
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = RETURN
POITEM = ITEM
POITEMX = ITEMX.
i just want to know how can i fill these internal table in web dynpro
for java to create an application accessing "Bapi_po_create" .
Thanks
Request clarification before answering.
Hi,
follow the procedure given above.
To use any BAPI, first of all you need to know the input parameters (import parameters) and output parameters ( export parameters ) of the perticular BAPI very well. import parameters might be a table also.
depending on this you will supply the input to the bapi.
initialized the bapi in doInit () method. and give the input like...
wdcontext.Bai Node.getCurrentElementxxx .setXXXfield(supply the input);
need more clarification?
PradeeeP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
I have got a similar requirements. Could you please give me more information about the inputs that I need to give to "BAPI_PO_CREATE1" bapi. Because, I am not able figure out the input data to test the BAPI. Do you know what I mean. Please help me resolve this issue. i would appreciate your help.
Regards,
Gopal.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.