cancel
Showing results for 
Search instead for 
Did you mean: 

PURCHASE ORDER APPLICATION

Former Member
0 Kudos

hi friends.. i need purchase order application with webdynpro java coding. import bapi from back end anb create views. i need step by step procedure.

with regards,

VENU

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

To create a Purchase Order u need to call Bapi_po_create standard bapi from r/3.

!) create model in webdynpro application to call the bapi.

2) do appropriate context mapping between Model , component and view.

3) execute the bapi.

Regards,

Sri

Edited by: Srikanth Thatipally on Jul 9, 2009 12:43 PM

Edited by: Srikanth Thatipally on Jul 9, 2009 12:46 PM

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

hi

check this SAP DOCUMENT for Integrating RFC/BAPI

http://help.sap.com/saphelp_nw04/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm

and

Thanks

Former Member
0 Kudos

Hi ,

Create a Webdynpro java application and call the BAPI_PO_CREATE bapi .

Reagards,

Krishna.

Former Member
0 Kudos

hi

there are standard PURCHASE ORDER APPLICATIONS present you can find them from

se37 or go to TCODE BAPI and search for the Suitable BAPI you need there , may you can take help from ur

abaper .

these are some standard BAPI's avaialble for PURCHASE ORDER

BAPI_ACC_PURCHASE_ORDER_CHECK

BAPI_ACC_PURCHASE_ORDER_POST

BAPI_ACC_PURCHASE_REQUI_CHECK

BAPI_ACC_PURCHASE_REQUI_POST

you can test these and check if they are sutable for your requirement.

Thanks

Former Member
0 Kudos

i want develop tha BAPI_PO_CREATE1 Application in Webdynpro java with some fields only.plz give srep by step procesure for that webdynpro java application

Former Member
0 Kudos

Hi,

1) Go to File -> New -> Project - > Web Dyn pro Project -.

Give Name , pkg Name Click On Finish .

2) Expand ur project hirarchy -> go TO Application -> Right Click -> Create Application - > Give Application name and Pkg name - Click on Finish .

3) Now ur View And Controller Are Created by Default .

4) Go to Model-> Right Click on it-> Create Model -> Give Model Name & Pkg name Should diff from Application pkg the Click On Next

a) Here u have to Two JCo Destination Name Like Model Data And Meta data & R/3 System Details like System Number , Host name Etc -> then Click on next .

b) Here u will text filed where u want to search for ur Required BAPI . Type ur BAPI Name i.e.,bapi_po_create1 Click on Search . Ur bapi will be displyed In Down . click on Next .

c) Now Ur model is Importedint into NWDS .

5)Right click on cmponent and click open Data Modeler .

6)Here u add ur Model .

7)Right click on Component cpontroller --> Apply template -->service controller and Map ur model data To Controller which r required.

This Servce Controller will contain the code to execute the bapi.

8)Do context mapping between Component controller and View Controller .

9) create a button in view and in the Action of the button call the Service controller execute mathod.

Go to -> Project Name -> Right Click -> go to -> Deploy New Archive .

after wards u have to go Apllication -> Right click -> deploy and Run .

Enter the data in the fields and click the Button.

Regards,

Sri