Application Development and Automation 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: 
Read only

passing header data and get line items

former_member815151
Discoverer
0 Likes
1,448

This is my VBELN values which is in my first internal table , I need to pass these values to VBAP table to get item data's(VBELN & POSNR ) field values and append those item data's to my second internal table . this is my requirement.

1 ACCEPTED SOLUTION
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,390

Hello jeniljeff

You might use SELECT, FOR ALL ENTRIES and INTO|APPENDING [CORRESPONDING FIELDS OF] TABLE itab

Best regards

Dominik Tylczynski

This is my VBELN values which is in my first internal table , I need to pass these values to VBAP table to get item data's(VBELN & POSNR ) field values and append those item data's to my second internal table . this is my requirement.

2 REPLIES 2
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,391

Hello jeniljeff

You might use SELECT, FOR ALL ENTRIES and INTO|APPENDING [CORRESPONDING FIELDS OF] TABLE itab

Best regards

Dominik Tylczynski

Read only

Sandra_Rossi
Active Contributor
1,390

You may directly embed the image in your question, instead of just a hyperlink, like this: