Ansicht
Dokumentation

F4_MACO_MULTI_OBJECT_IDS - Auswahl von Ids aus mehreren MC-Objekten

F4_MACO_MULTI_OBJECT_IDS - Auswahl von Ids aus mehreren MC-Objekten

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

Funktionalität

Anzeige einer Liste von Matchcode-Objekten mit jeweils mehreren Ids. Der direkte Aufruf der Standard-Matchcodehilfe wird über einen Import-Parameter gesteuert.

Beispiel
report multmcob.

type-pools: f4typ.

data: liste type f4typ_mc_mult_obj_ids occurs 0 with header line.
data: mc_return like rsmdy2-mcfldvals,
return type f4typ_mult_obj_id_return.


move '1' to liste-pseudo_id.
move 'DEBI' to liste-obj_description-mconame.
move 'A' to liste-obj_description-mcid.
move 'Test DEBI A' to liste-obj_description-mctext.
append liste.

move '2' to liste-pseudo_id.
move 'DEBI' to liste-obj_description-mconame.
move 'B' to liste-obj_description-mcid.
move 'Test DEBI B' to liste-obj_description-mctext.
append liste.

move '3' to liste-pseudo_id.
move 'KRED' to liste-obj_description-mconame.
move 'A' to liste-obj_description-mcid.
move 'Test KRED A' to liste-obj_description-mctext.
append liste.

call function 'F4_MACO_MULTI_OBJECT_IDS'
exporting
f4_maco_exec = 'X'
titel = 'Multiobjects'
importing
return_value = return
f4_maco_return = mc_return
tables
list_of_objs_and_ids = liste
exceptions
unknown_id = 1
user_cancel = 2
no_data_found = 3
internal_error = 4
others = 5.

Hinweise

Weiterführende Informationen





Parameter

DISPLAY_ONLY
F4_MACO_EXEC
F4_MACO_RETURN
LIST_OF_OBJS_AND_IDS
RETURN_VALUE
TITEL

Ausnahmen

INTERNAL_ERROR
NO_DATA_FOUND
UNKNOWN_ID
USER_CANCEL

Funktionsgruppe

SHL3

Addresses (Business Address Services)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 2056 Date: 20240523 Time: 151049     sap01-206 ( 25 ms )