SAP Function Modules

P3001036 SAP Function module







P3001036 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 P3001036 into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM P3001036 - P3001036





CALL FUNCTION 'P3001036' "
  EXPORTING
    i19_postfach =              "
    i20_sprache =               "
    i01_kreditor =              "
    i02_buchungskreis =         "
    i03_einkaufsorg =           "
    i10_anrede =                "
  IMPORTING
    e19_postfach =              "
    e20_sprache =               "
    e01_kreditor =              "
    e02_buchungskreis =         "
    e03_einkaufsorg =           "
    e10_anrede =                "
    .  "  P3001036

ABAP code example for Function Module P3001036





The ABAP code below is a full code listing to execute function module P3001036 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:
ld_e19_postfach  TYPE STRING ,
ld_e20_sprache  TYPE STRING ,
ld_e01_kreditor  TYPE STRING ,
ld_e02_buchungskreis  TYPE STRING ,
ld_e03_einkaufsorg  TYPE STRING ,
ld_e10_anrede  TYPE STRING .

DATA(ld_i19_postfach) = 'some text here'.
DATA(ld_i20_sprache) = 'some text here'.
DATA(ld_i01_kreditor) = 'some text here'.
DATA(ld_i02_buchungskreis) = 'some text here'.
DATA(ld_i03_einkaufsorg) = 'some text here'.
DATA(ld_i10_anrede) = 'some text here'. . CALL FUNCTION 'P3001036' EXPORTING i19_postfach = ld_i19_postfach i20_sprache = ld_i20_sprache i01_kreditor = ld_i01_kreditor i02_buchungskreis = ld_i02_buchungskreis i03_einkaufsorg = ld_i03_einkaufsorg i10_anrede = ld_i10_anrede IMPORTING e19_postfach = ld_e19_postfach e20_sprache = ld_e20_sprache e01_kreditor = ld_e01_kreditor e02_buchungskreis = ld_e02_buchungskreis e03_einkaufsorg = ld_e03_einkaufsorg e10_anrede = ld_e10_anrede . " P3001036
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_e19_postfach  TYPE STRING ,
ld_i19_postfach  TYPE STRING ,
ld_e20_sprache  TYPE STRING ,
ld_i20_sprache  TYPE STRING ,
ld_e01_kreditor  TYPE STRING ,
ld_i01_kreditor  TYPE STRING ,
ld_e02_buchungskreis  TYPE STRING ,
ld_i02_buchungskreis  TYPE STRING ,
ld_e03_einkaufsorg  TYPE STRING ,
ld_i03_einkaufsorg  TYPE STRING ,
ld_e10_anrede  TYPE STRING ,
ld_i10_anrede  TYPE STRING .

ld_i19_postfach = 'some text here'.
ld_i20_sprache = 'some text here'.
ld_i01_kreditor = 'some text here'.
ld_i02_buchungskreis = 'some text here'.
ld_i03_einkaufsorg = 'some text here'.
ld_i10_anrede = 'some text here'.

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 P3001036 or its description.