on 07-27-2005 1:36 PM
Hi all,
I am new to webdynpro and asked to rectify some issues in a webdynpro application on. The Scenario is like this, I have a purchase order and I want to get line item details through a webdynpro page. I am using a BAPI, BAPI_PO_GETDETAIL to get relevant details in the purchase order. BAPI_PO_GETDETAIL is modified to include two more Z Fields in PO_Header to get Vat number & Payment Text. When I executed the BAPI in an R/3 system for a particular PO I am able to see those two Z fields are getting populated with data. Now, I need to replace an existing SAP Webdynpro field with my Z field through NWDS. Please let me know the procedure step by step to include those two fields in place of an existing SAP Standard field in Webdynpro application.
Thanks in advance,
With Best Regds,
Prabahar N.R
Hi Prabhanar,
The easiest way to do the mapping is through the Diagram view. Double click on you controller (it appears in a yellow icon below the webdynpro components). It will open up the diagram view. There you can see your views, controllers & models and any existing mapping between them (Shown as lines). Double clicking on these lines brings up the mapping window, where you can drag & drop (pls see the rule written on top of this mapping window) to do the mapping.
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabahar,
You have to reimport the model to reflect any changes in the BAPI. When you open your application in WebDynpro perspective, you can see your model defined. Right click on yur model and select 'reimport model'. This will reflect the changes in R3 in the model being used. You need to do the mapping for the new 'ZZ' fields too,
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First create the SLD for the particular SAP R/3 System giving the client details and server name.Then
create Metadata and Modeldata parameters.
Once done create a model by giving the BAPI name and if any i/p parameters required 2 in your case.
Lastly bind your View UI element with the outpur parameter of your BAPI and execute the model in the implemetation tab of your view.
Hope this info had helped you.
Regards,
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The Application is an existing application and i am successfully runnning that application with out 'Z' Fields. It means that SLD setting are fine with application. My task is to replace an existing field in the application and replace it with 'Z' Fields. For Example i have a field Customer Number(kunnr) Field which is displayed in the application, i want to Change it to VAT Number(ZZVATNR). Here just the change of field field is required since we already have data from R/3 in this ZZVATNR field.
With Best Regds,
Prabahar N.R
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.