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.
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:-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |