cancel
Showing results for 
Search instead for 
Did you mean: 

Display data in EP using BAPI- BAPI_PO_GETITEMSREL

sachin_soni
Active Participant
0 Kudos

hi all!!

I need to display data in EP from R/3 and i'm using a BAPI mentioned in subject for it ,can anybody provide the step by step instructions.

eagerly waitin

sachin

Accepted Solutions (0)

Answers (2)

Answers (2)

javed_shaikh
Active Contributor
0 Kudos

this may also help you

Regards,

Javed.

HuseyinBilgen
Active Contributor
0 Kudos

Hi Sachin,

This may be the wrong Forum to ask this question. Instead use WebDynpro or other development forums.

Anyway,

HEre is a tutorial with step-by-step instruction how to access SAP data via a Web Dynpro application.

http://help.sap.com/saphelp_nw04/helpdata/en/c3/76b45d9688e04abe1a1070410ddc1e/content.htm

hope it helps

sachin_soni
Active Participant
0 Kudos

hi Huseyin!!

thnks for the ans but when i'm into the coding phase i'm getting errors like:--the highlighted part is not understandable by dynpro

public void wdDoInit()

{

//@@begin wdDoInit()

<i><b>bapi_po_getdetails input=new bapi_po_getdetails();</b></i>

wdContext.nodePo_Items().<i><b>bind(input);</b></i>

//@@end

}

can u please see wat cud be the error

waitin for your ans

Former Member
0 Kudos

hi sachin,

In the wdDoInit() method, instead of your code,

write down following code:

public void wdDoInit()

{

//@@begin wdDoInit()

bapi_po_getdetails input=new bapi_po_getdetails();

wdContext.nodebapi_po_getdetails().bind(input);

//@@end

}

I hope this helps,

Regards,

Tejas.

sachin_soni
Active Participant
0 Kudos

thanks to all who replied !!! but i'll still need ur help cauz i dont know theres sth causing trouble yet.

HuseyinBilgen
Active Contributor
0 Kudos

Hi Sachin,

Did you imported Model? I mean can you see anything under "Models" which lays under Web Dynpro tree node.

If yes, then right click within code view (Implementation tab) then select Source -> Organize Imports.

This step will import the necessary model class into your code. This will work if you've already imported the model.

After, errors must disappear.