on 12-27-2005 4:58 PM
Hi
I have gone through the following link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on enabling value help - 8.htm
if i want to display company ID and Comapany name from Bapi how will i do that.
Regards,
Hi Murali
In the init() Method execute the Bapi. Populate the ValueSet with Bapi Values
Ex.
for (int i=0;i<wdContext.nodeBapi<xxx>.size;i++)
{
valueSet.put(wdContext.nodeBapi<xxx>.getBapi<xxx>Elementat(i).getCompanycode(),wdContext.nodeBapi<xxx>.getBapi<xxx>Elementat(i).getCompanyvalue())
}
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, i know this post is very old but i have a problem doing something like this....
Im filling an EVS from a Bapi, and the problem is that when i fill de valueSet it shows me the company codes in the key column (that is ok) but whatever i put as the second parameter of the .put() method, it shows me the companycode too!
for (int i=0;i<wdContext.nodeBapi<xxx>.size;i++)
{
valueSet.put(wdContext.nodeBapi<xxx>.getBapi<xxx>Elementat(i).getCompanycode(),wdContext.nodeBapi<xxx>.getBapi<xxx>Elementat(i).getCompanyvalue())
}
if i have something like that code, it fills my evs both with what getCompanyvalue() returns :S.
any ideas?
thanks in advance.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.