Ansicht
Dokumentation

ABENDYNPRO_STRINGS_ABEXA - DYNPRO STRINGS ABEXA

ABENDYNPRO_STRINGS_ABEXA - DYNPRO STRINGS ABEXA

Fill RESBD Structure from EBP Component Structure   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Strings

This example demonstrates how to bind strings to dynpro fields.

Source Code

Execute

Description

The static next dynpro number of dynpro 100 is 0. There are four input fields STRING1, STRING2, CHAR1, and CHAR2 of type CHAR with a length of 10. No modules are called in the dynpro flow logic.

When the program is executed, the screen layout is displayed with the values "123" and "1234567890" in the fields STRING1 CHAR1 and STRING2/CHAR2. After confirming with Continue, a list appears that displays the length of the content of the associated ABAP fields at PBO and PAI.

At PBO, STRING1 contains ten characters, seven of which are trailing blanks. These are lost during the assignment to CHAR1 and the character length of CHAR1 is only three.

At PAI, STRING1 contains only three characters, because the blanks are suppressed during the transport to and from the dynpro.

In both STRING2 and CHAR2, all characters that do not fit into the corresponding dynpro fields are cut off.






CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2133 Date: 20240329 Time: 140325     sap01-206 ( 37 ms )