Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

Displaying Multiple Line Items to Single Line Item in Output table :-


Suppose we have below scenario,

We have internal table t_vbrp ,which is having 3 fields, VBELN, PARVW, KUNNR. In this internal table there are multiple records of same VBELN based on PARVW.

  1. e.g for VBELN ‘0020395017’ , three records are existing as Partner Function(PARVW) is different.

Now in the Output table , if we want our output into single record (VBELN as the key ) means Sold to , Bill to , End user should be fill according to the Partner Function(PARVW) and it should come as one record as VBELN is same.

vbeln

Sold to

Bill to

End user

0020395017

0070001424

0070001424

5070247006

For this purpose, following code can help.

Output:-


4 Comments