Skip to Content
0
Jul 21, 2022 at 04:53 PM

Code for SAP PBO

44 Views Last edit Jul 21, 2022 at 01:27 PM 2 rev

Hi all.

I have defined a custom control in my screen painter. I have named it as TEXTEDITOR. In PAI, i have added the following logic.

FORM save_program .
CALL METHOD g_editor->get_text_as_r3table
IMPORTING
table = g_mytable
EXCEPTIONS
OTHERS = 1.
DATA TEXTEDITOR TYPE string.
LOOP AT g_mytable into wa_mytable.
P9900-ZGRUND_TEXT = wa_mytable-line.
ENDLOOP.

ENDFORM.

It is working fine. Data is coming in table.

I am stuck with adding logic in PBO. Due to the missing logic in PBO, in pa30 when i go to display mode after saving my data, my saved data is not being displayed. Can you please help me with the code for PBO.