Function Module: JOB_CLOSE
Parameter: RECIPIENT_OBJ
Structure SWOTOBJID
A work area for OBJKEY
(LS_OBJKEY
) should have this structure:
Use tables V_OP
and SOID
as a guides:
Step 1: Logical System
Use FM OWN_LOGICAL_SYSTEM_GET
to get the Logical System.
Object type is 'RECIPIENT'
Describe flag is '*<OBJECT>*'
Step 2: Get first part of key
Step 3: Get the second part of key
Use this for reference:
At SAVE command this will call the SAVE routine in program RSSOOT04
:
Step 4: Build full key
Move DLIDATA-OBJECT_ID
to LS_OBJKEY
Move OBJECT_ID-OBJYR
to LS_OBJKEY-EXTIDYEAR
Move OBJECT_ID-OBJNO
to LS_OBJKEY-EXTIDNUMBER
Step 5: Fill RECIPIENT_OBJ
LOGSYS
= value from FM OWN_LOGICAL_SYSTEM_GET
OBJTYPE
= 'RECIPIENT'
OBJKEY
= LS_OBJKEY
DESCRIBE
= '*<OBJECT>*'
https://archive.sap.com/discussions/thread/933020