2010 Jan 26 6:40 AM
hello experts...
i have a table control that display Item information. I would like to add value-request on vendor text field based on the item.
Example: Item A have Vendor 1 and Vendor 2 maintain in Source list.
if i click the value-request for vendor only vendor1 and vendor2 will show, not all the vendor registered in SAP.
Please help on how can i achieve this
thank you
2010 Jan 26 1:57 PM
In the Flow Logic, read the value of the entered article using DYN_VALUES_READ in the PROCESS ON VALUE-REQUEST event.
Once u have the article number, select the corresponding vendors into an internal table and pass it to the FM F4IF_INT_TABLE_VALUE_REQUEST.
Now, when the user enters an article and uses F4 for the vendor, only the corresponding vendors will be displayed.
hello experts...
i have a table control that display Item information. I would like to add value-request on vendor text field based on the item.
Example: Item A have Vendor 1 and Vendor 2 maintain in Source list.
if i click the value-request for vendor only vendor1 and vendor2 will show, not all the vendor registered in SAP.
Please help on how can i achieve this
thank you
2010 Jan 26 6:53 AM
Hi,
I think you are working with Module-Pool programming....
So,In Module Pool programing goto the particularScreen Flowlogic tab where u are looping in table control.--> Goto its layout ..In layout -
>in the Right side u can enter its check table or search help.
OR
IN FLOW LOGIC use EVENT PROCESS ON VALUE REQUEST
Both the solution will work ...
just try it.
Affable
Arbind
2010 Jan 26 1:57 PM
In the Flow Logic, read the value of the entered article using DYN_VALUES_READ in the PROCESS ON VALUE-REQUEST event.
Once u have the article number, select the corresponding vendors into an internal table and pass it to the FM F4IF_INT_TABLE_VALUE_REQUEST.
Now, when the user enters an article and uses F4 for the vendor, only the corresponding vendors will be displayed.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |