Ansicht
Dokumentation

SIMG_CFMENUNMO4ONRB - Data Transfer - Define Structures

SIMG_CFMENUNMO4ONRB - Data Transfer - Define Structures

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Customizing activity tells you how to describe the record structure of the sequential data set you are using. You need to have made this description for the transfer program to process the data correctly.

This description essentially involves assigning the data from the data set to the fields of the transaction. You make this assignment by specifying the field length and offset.

If the data is to reformatted prior to transfer, you can specify a format conversion routine for this purpose.

You can use the identifications delivered in the standard system (RNIPST, EBM, etc.) as templates for your own identifications (name range Z...).

Date record structure for the patient master record: (# are filler fields)

PAT#Miller#######Peter#555555####

  • The length of the Last Name field is 13 and its offset 4.
  • The length of the First Name field is 6 and its offset 17.
  • The length of the Patient Number field is 10 and its offset 23.

You make an entry for the data structure definition by specifying:

  1. The identification in the ID field.
  2. The record type in the RT field. This step is optional, in other words, it is not required for a file with a single structure.
  3. A subrecord type in the SR field. This step is necessary only if your sequential data set contains subrecord types.
  4. The technical name of the screen field you want to fill with data from your record in the Screen Fd. field.
  5. For fields that are repeated in a screen (known technically as step loop fields), for example several columns of a service catalog, specify the line number in the Cl.
  6. The number of characters before the start of the field in the Offset field.
  7. The length of the field in the Lngth field.
  8. If you want to reformat the data that has been imported before transferring it to the transaction, specify a FORM routine and a program for this purpose. Please refer to the documentation on this fields that contains information about creating FORM routines. Program RNILSI20 contains examples of FORM routines.

In the data structure description, you only describe the position of the data you want to transfer. You specify the position of the record types on the selection screen of the transfer program.






ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2945 Date: 20240523 Time: 163720     sap01-206 ( 59 ms )