Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Pass only certain field values from dynamic internal table.

Former Member
0 Kudos

Hi friends,

In my report i have one dynamic internal table .Based on the dynamic select query the internal table content will be. But every time i want to pass only certain fields from that table into the transaction VK13 to display the condition record. Based on the condition type the access table will change , then i need to pass the condition type ,then i have to select the keycombination. Then based on this key combination i have to pass the next screen field vaues.This values only i am having in the dynamic internal table.Now my problem is how to take the required value from this dynamic table and pass this to the transaction screen of vk13. Your guidance will be helpful for me .

Thanks in Advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

How are you calling VK13? Call transaction?

2 REPLIES 2

Former Member
0 Kudos

How are you calling VK13? Call transaction?

0 Kudos

Michael,

Here you go..

For example: <table> is your Dynamic Table:

FIELD-SYMBOLS: <TABLE> TYPE ANY TABLE.
FIELD-SYMBOLS: <WA_PRI> TYPE ANY.

LOOP AT <TABLE> INTO <WA_PRI>.
* Assume SUBTY is one of the field of Dynamic Internal Table

       ASSIGN COMPONENT 'SUBTY' OF STRUCTURE <WA_PRI> TO <FS_VALUE>.

ENDLOOP.

Now <FS_VALUE> will have the specifc field value which you needed.

Reward & close the thread if it helpful.

Still if you have issue please post your code here, we can help.

Raja T

Message was edited by:

Raja T