Ansicht
Dokumentation

10609 - ALV with more than 1 Position-Table

10609 - ALV with more than 1 Position-Table

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

ALV with more than 1 Position-Table

Is there a chance to use more than one as 1 internal Positiontable.

E.G.:

Headerinformation - Itemmaster (MARA...)
- Positioninformation - Customorderinformations Summary Information (Per
Period 1 Column)

(Per Order-type 1 Line)
- Positioninformation - Supplierorderinformations Summary Information (Per
Period 1 Column)
- etc.

It is possible to use not the same table for the Positios, because I can't
use the "automaticly" Options (Filter / Sort...) - or????

It can be that there is an example in the Standardprogramms or someone has
an example.
It is possible you can say me the Standardprogramname or can help me with
other informatios like Programcode or some other illustrations.

What I've done as yet:
I use the
- CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' with internal Header table
- CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' with internal Position
- CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
In the last Function I can't have the chance to say more than one
Position-Table:

CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = REPID
I_CALLBACK_PF_STATUS_SET = 'PF_STATUS_SET'
I_CALLBACK_USER_COMMAND = 'FCODE_BEARBEITEN'
IT_FIELDCAT = lt_fieldcat
IT_SORT = lt_sort
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT = VARIANTE
IT_EVENTS = EVENTS[]
**************** -------------------------- ******************
I_TABNAME_HEADER = gf_head_name
I_TABNAME_ITEM = gf_item_name
IS_KEYINFO = ls_keyinfo
TABLES
**************** -------------------------- ******************
T_OUTTAB_HEADER = itab_art
T_OUTTAB_ITEM = itab_order_sum
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.



I am very happy If i get an impulse for an better solution as I bend the
solution with only one position-table.


Thank you

--
_______________________
Jürgen Spranz
Stauchenstr. 1
74078 Heilbronn

+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


Durban Tours - Südafrika Safari

ROGBILLS - Synchronize billing plans   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2569 Date: 20240520 Time: 150247     sap01-206 ( 3 ms )