Ansicht
Dokumentation

OHPKAW160 - Define attributes of display sequences

OHPKAW160 - Define attributes of display sequences

CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

In this step you determine the characteristics of the PC output sequence.

Presently, you set an indicator that specifies whether an Additional Address is supported for the output sequence. This is an address that you can enter on the selection screen of the new PC universal evaluation.

Set the flag Additional addresses supported only if you have adjusted the SAPscript forms belonging to each output sequence accordingly.

In order to support additional addresses in the SAPscript form, use the ADDRESS instruction. From here you can access the following fields of the structure ADR2:

  • TITLE - Form-of-address key
  • TITXT - Form-of-address text
  • NAME1 - Name
  • NAME2 - Name 2 (*)
  • NAME_CO - c/o name
  • PO_BOX - Post office box
  • ORT01 - City
  • ORT02 - District (*)
  • PSTLZ - Postal code (city)
  • PSTL2 - Postal code (post office box)(*)
  • STRAS - Street
  • HOUSE_NUM - House number
  • LAND1 - Country/region key
  • SPRAS - Language (*)
  • REGIO - Region (*)

((*) indicates fields that are not visible on the selection screen. However, you can use the search function to fill them with data from address administration.)

The following serves as an example of how the address data is output in the SAPscript form:

/: ADDRESS TYPE 1                                              

/: TITLE       &ADR2-TITXT&                              

/: NAME        &ADR2-NAME1&                              

/: POBOX       &ADR2-PO_BOX& CODE  &ADR2-PSTL2&    

/: STREET      &ADR2-STREET& HOUSE &ADR2-HOUSE_NUM&

/: POSTCODE    &ADR2-PSTLZ&                              

/: CITY        &ADR2-ORT01&                              

/: NO_UPPERCASE_FOR_CITY                                      

/: COUNTRY     &ADR2-LAND1&  LANGUAGE &ADR2-SPRAS&

/: FROMCOUNTRY &FROMCOUNTRY&                            

/: ENDADDRESS                                                  

The ADDRESS instruction provides addtional contol options. For detailed information, refer to the SAPscript documentation SAPscript style and form maintenance.






Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 5539 Date: 20240524 Time: 011820     sap01-206 ( 42 ms )