SAP RSTT_TRANSFORM_PS_POSNR Function Module for NOTRANSL: BRST Feldtransformation PSP-Element (interne Nummer)
RSTT_TRANSFORM_PS_POSNR is a standard rstt transform ps posnr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: BRST Feldtransformation PSP-Element (interne Nummer) processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rstt transform ps posnr FM, simply by entering the name RSTT_TRANSFORM_PS_POSNR into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSTT
Program Name: SAPLRSTT
Main Program: SAPLRSTT
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSTT_TRANSFORM_PS_POSNR pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RSTT_TRANSFORM_PS_POSNR'"NOTRANSL: BRST Feldtransformation PSP-Element (interne Nummer).
EXPORTING
E_NR_S_TOT = "No. of fields in sender catalog with preset dom.
E_NR_S_NTR = "No. of non-transformed fields (sender)
E_NR_R_TOT = "No. of fields in receiver catalog with preset dom.
E_NR_R_NTR = "No. of non-transformed fields (receiver)
TABLES
IT_SEL = "Value catalog
IT_FIELDS = "Field catalog of sender
IT_FIELDR = "Field catalog of receiver
IT_SELR = "
IMPORTING Parameters details for RSTT_TRANSFORM_PS_POSNR
E_NR_S_TOT - No. of fields in sender catalog with preset dom.
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
E_NR_S_NTR - No. of non-transformed fields (sender)
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
E_NR_R_TOT - No. of fields in receiver catalog with preset dom.
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
E_NR_R_NTR - No. of non-transformed fields (receiver)
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSTT_TRANSFORM_PS_POSNR
IT_SEL - Value catalog
Data type: RSTISELOptional: No
Call by Reference: No ( called with pass by value option)
IT_FIELDS - Field catalog of sender
Data type: RSTIFIELDSOptional: No
Call by Reference: No ( called with pass by value option)
IT_FIELDR - Field catalog of receiver
Data type: RSTIFIELDSOptional: No
Call by Reference: No ( called with pass by value option)
IT_SELR -
Data type: RSTISELOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSTT_TRANSFORM_PS_POSNR Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_it_sel | TYPE STANDARD TABLE OF RSTISEL, " | |||
| lv_e_nr_s_tot | TYPE I, " | |||
| lt_it_fields | TYPE STANDARD TABLE OF RSTIFIELDS, " | |||
| lv_e_nr_s_ntr | TYPE I, " | |||
| lt_it_fieldr | TYPE STANDARD TABLE OF RSTIFIELDS, " | |||
| lv_e_nr_r_tot | TYPE I, " | |||
| lt_it_selr | TYPE STANDARD TABLE OF RSTISEL, " | |||
| lv_e_nr_r_ntr | TYPE I. " |
|   CALL FUNCTION 'RSTT_TRANSFORM_PS_POSNR' "NOTRANSL: BRST Feldtransformation PSP-Element (interne Nummer) |
| EXPORTING | ||
| E_NR_S_TOT | = lv_e_nr_s_tot | |
| E_NR_S_NTR | = lv_e_nr_s_ntr | |
| E_NR_R_TOT | = lv_e_nr_r_tot | |
| E_NR_R_NTR | = lv_e_nr_r_ntr | |
| TABLES | ||
| IT_SEL | = lt_it_sel | |
| IT_FIELDS | = lt_it_fields | |
| IT_FIELDR | = lt_it_fieldr | |
| IT_SELR | = lt_it_selr | |
| . " RSTT_TRANSFORM_PS_POSNR | ||
ABAP code using 7.40 inline data declarations to call FM RSTT_TRANSFORM_PS_POSNR
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects