Ansicht
Dokumentation

PD_GRAPHICAL_KEY_ENCODE - Encrypt graphical object key

PD_GRAPHICAL_KEY_ENCODE - Encrypt graphical object key

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Conversion of a PD object key to graphical format.

The object key for Structural Graphics is 30 characters long. It consists of:

  • an internal structure pointer (function module STRUCTURE_BUILD)

  • an object type

  • an object ID

The pointer has 5 characters, the object type has 2 characters and the ID has 23. This enables the graphical display of PD objects (8-character IDs) and also external objects with a maximum of 23 characters in their key.

Example

Function module PD_OBJECTS_MOVE

DATA:
INDEX LIKE STRUC-SEQNR,
OBJECT LIKE OBJEC,
MOVED_OBJECT LIKE GSUOBJC-OBJECT.

CALL FUNCTION 'STRUCTURE_ENTRY_READ'
EXPORTING INDEX = ENTRY-PUP
IMPORTING OBJECT = OBJECT.
...
CALL FUNCTION 'PD_GRAPHICAL_KEY_ENCODE'
EXPORTING INDEX = INDEX
OTYPE = OBJECT-OTYPE

REALO = OBJECT-REALO

IMPORTING OBJECT_KEY = MOVED_OBJECT.





Parameters

INDEX
OBJECT_KEY
OTYPE
REALO

Exceptions

Function Group

PDSU

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1434 Date: 20240523 Time: 145616     sap01-206 ( 21 ms )