cancel
Showing results for 
Search instead for 
Did you mean: 

How to work on the Purchase order transactions in Web dynpro?

Former Member
0 Kudos

Hi All,

Good morning,

I have a scenario mentioned below:

From RFC I am getting the Purchase order HEader as well as Purchase Order Item Details. In Web dynpro i am mapping the output to two separarate Tables.

Now it's displaying the bulk output at a time.

I want to show the Purchase order Item details when the lead selection of the Purchase order header is selected in the Master table.

For example,

Master Table

LEAD SELECTED A00001-00001

Detail table it has to display the corresponding details :

A-0000100000-00000000

A-0000000000-00000000

A-0000000002-00000000

How to go ahead . please suggest.

regards,

CSP

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Pradeep,

Display all header details in first page as a table and details for particular entry in second page as a table.

When the first page is loaded, u will be calling master RFC to populate all master (header) data in first page. Give a link to action for the primarykey (for ex: POnumber) [Even u can use the leadselection of table only, but this will be nicer]. When a particular POnumber is clicked, get the PONumber by

wdContext.current<Table>Element().getPONumber();

inside the action of link (or leadSelection) and call details RFC with input parameter as PONumber.

Then trigger the outbound plug to details view. There get the data from RFC and display.

Regards

Fahad Hamsa