cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

creating a purchase order in web dynpro for java.........

Former Member
0 Likes
472

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

View Entire Topic
PradeepBondla
Active Contributor
0 Likes

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

Former Member
0 Likes

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.