SAP Function Modules

EXIT_SAPLJGBP03_001 SAP Function module - Reproduce Media Contact Person Conversion To SAP Business Partner







EXIT_SAPLJGBP03_001 is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name EXIT_SAPLJGBP03_001 into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: XJGBP03
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM EXIT_SAPLJGBP03_001 - EXIT SAPLJGBP03 001





CALL FUNCTION 'EXIT_SAPLJGBP03_001' "Reproduce Media Contact Person Conversion To SAP Business Partner
  EXPORTING
    ps_jjtam =                  " jjtam         IS-M/AM: Media Contact Person
    ps_jgtsadr =                " jgtsadr       IS-M/SD: Extended Adress Management
  TABLES
    pt_bus020_di =              " bus020_di     BP: Address data transfer structure (direct input)
    pt_bus021_di =              " bus021_di     BP: Address usage transfer structure (direct input)
  CHANGING
    ps_bus000_di =              " bus000_di     BP: General data (direct input)
    ps_bus001_di =              " bus001_di     BP: General data II (direct input)
    .  "  EXIT_SAPLJGBP03_001

ABAP code example for Function Module EXIT_SAPLJGBP03_001





The ABAP code below is a full code listing to execute function module EXIT_SAPLJGBP03_001 including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
it_pt_bus020_di  TYPE STANDARD TABLE OF BUS020_DI,"TABLES PARAM
wa_pt_bus020_di  LIKE LINE OF it_pt_bus020_di ,
it_pt_bus021_di  TYPE STANDARD TABLE OF BUS021_DI,"TABLES PARAM
wa_pt_bus021_di  LIKE LINE OF it_pt_bus021_di .

DATA(ld_ps_bus000_di) = 'Check type of data required'.
DATA(ld_ps_bus001_di) = 'Check type of data required'.
DATA(ld_ps_jjtam) = 'Check type of data required'.
DATA(ld_ps_jgtsadr) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_pt_bus020_di to it_pt_bus020_di.

"populate fields of struture and append to itab
append wa_pt_bus021_di to it_pt_bus021_di. . CALL FUNCTION 'EXIT_SAPLJGBP03_001' EXPORTING ps_jjtam = ld_ps_jjtam ps_jgtsadr = ld_ps_jgtsadr TABLES pt_bus020_di = it_pt_bus020_di pt_bus021_di = it_pt_bus021_di CHANGING ps_bus000_di = ld_ps_bus000_di ps_bus001_di = ld_ps_bus001_di . " EXIT_SAPLJGBP03_001
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_ps_bus000_di  TYPE BUS000_DI ,
ld_ps_jjtam  TYPE JJTAM ,
it_pt_bus020_di  TYPE STANDARD TABLE OF BUS020_DI ,
wa_pt_bus020_di  LIKE LINE OF it_pt_bus020_di,
ld_ps_bus001_di  TYPE BUS001_DI ,
ld_ps_jgtsadr  TYPE JGTSADR ,
it_pt_bus021_di  TYPE STANDARD TABLE OF BUS021_DI ,
wa_pt_bus021_di  LIKE LINE OF it_pt_bus021_di.

ld_ps_bus000_di = 'Check type of data required'.
ld_ps_jjtam = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_pt_bus020_di to it_pt_bus020_di.
ld_ps_bus001_di = 'Check type of data required'.
ld_ps_jgtsadr = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_pt_bus021_di to it_pt_bus021_di.

SAP Documentation for FM EXIT_SAPLJGBP03_001


This function module is used to reproduce the media contact person attributes using the SAP Business Partner attributes. It is run during ...See here for full SAP fm documentation








Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EXIT_SAPLJGBP03_001 or its description.