May 2024

DYNPRO deletes value after user interaction

Hi, im neu in ABAP Welt and tried to write a calculator but whenever i click a button. it deletes field which i want to also see. Can You experts help me for this? here is my code: MODULE user_command_2000 INPUT.   IF sy–ucomm EQ ‘BACK’.     LEAVE TO SCREEN 0.   ELSEIF sy–ucomm EQ ‘CLEAR’.     CLEAR:           gv_numinp1 ,           gv_numinp2 ,           gv_numoutp1.   ELSEIF sy–ucomm EQ ‘EXIT’ OR sy–ucomm EQ ‘CANC’.     LEAVE PROGRAM.   ELSEIF sy–ucomm EQ ‘CALC’.     IF gv_numinp1 IS INITIAL AND gv_numinp2 IS INITIAL.       MESSAGE ‘bitte’ TYPE ‘S’ DISPLAY LIKE ‘E’.     ENDIF.     CREATE OBJECT go_main EXPORTING iv_num1 = gv_numinp1 iv_num2 = gv_numinp2.     IF gv_radplus EQ abap_true. “Summe       go_main->sum(          IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).      ELSEIF gv_radmin EQ abap_true. “Minus       go_main->subtraction(       IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).      ELSEIF gv_radmultip EQ abap_true. “multiplication       go_main->multiplication(       IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).      ELSEIF gv_raddiv EQ abap_true. “division       go_main->division(       IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).     ENDIF.    ENDIF.   WRITE gv_numoutp1. ENDMODULE.   and Photos: before: and after click: BR.    

DYNPRO deletes value after user interaction

Hi, im neu in ABAP Welt and tried to write a calculator but whenever i click a button. it deletes field which i want to also see. Can You experts help me for this? here is my code: MODULE user_command_2000 INPUT.   IF sy–ucomm EQ ‘BACK’.     LEAVE TO SCREEN 0.   ELSEIF sy–ucomm EQ ‘CLEAR’.     CLEAR:           gv_numinp1 ,           gv_numinp2 ,           gv_numoutp1.   ELSEIF sy–ucomm EQ ‘EXIT’ OR sy–ucomm EQ ‘CANC’.     LEAVE PROGRAM.   ELSEIF sy–ucomm EQ ‘CALC’.     IF gv_numinp1 IS INITIAL AND gv_numinp2 IS INITIAL.       MESSAGE ‘bitte’ TYPE ‘S’ DISPLAY LIKE ‘E’.     ENDIF.     CREATE OBJECT go_main EXPORTING iv_num1 = gv_numinp1 iv_num2 = gv_numinp2.     IF gv_radplus EQ abap_true. “Summe       go_main->sum(          IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).      ELSEIF gv_radmin EQ abap_true. “Minus       go_main->subtraction(       IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).      ELSEIF gv_radmultip EQ abap_true. “multiplication       go_main->multiplication(       IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).      ELSEIF gv_raddiv EQ abap_true. “division       go_main->division(       IMPORTING           ev_result =            gv_numoutp1  ” RESULT       ).     ENDIF.    ENDIF.   WRITE gv_numoutp1. ENDMODULE.   and Photos: before: and after click: BR.    

Setting the scene for Planning Excellence 2024

Hello everyone, As we are planning our next physical on-site event for 2024; we are now setting the scene and looking into interesting topics to showcase – based on the feedback you gave us after last years event. The current main theme looks to be: Embedded Artificial Intelligence in Planning.A sub-topic will also to be Sustainability. If …

Setting the scene for Planning Excellence 2024 Read More »

Setting the scene for Planning Excellence 2024

Hello everyone, As we are planning our next physical on-site event for 2024; we are now setting the scene and looking into interesting topics to showcase – based on the feedback you gave us after last years event. The current main theme looks to be: Embedded Artificial Intelligence in Planning.A sub-topic will also to be Sustainability. If …

Setting the scene for Planning Excellence 2024 Read More »

Setting the scene for Planning Excellence 2024

Hello everyone, As we are planning our next physical on-site event for 2024; we are now setting the scene and looking into interesting topics to showcase – based on the feedback you gave us after last years event. The current main theme looks to be: Embedded Artificial Intelligence in Planning.A sub-topic will also to be Sustainability. If …

Setting the scene for Planning Excellence 2024 Read More »

SAP S/4HANA for Product Compliance: Doubt/Confusion on Purchase Orders (in SAP GUI)

Dear Community,  During tests, when creating a Purchase Order for a material containing a controlled/regulated substance – a drug percursor with “not compliant” marketability status (see image 1 below) – from an approved supplier, in the Product Compliance tab of the PO ( SAP GUI ) the field “Product Marketability Status” displays the message “OK …

SAP S/4HANA for Product Compliance: Doubt/Confusion on Purchase Orders (in SAP GUI) Read More »

SAP S/4HANA for Product Compliance: Doubt/Confusion on Purchase Orders (in SAP GUI)

Dear Community,  During tests, when creating a Purchase Order for a material containing a controlled/regulated substance – a drug percursor with “not compliant” marketability status (see image 1 below) – from an approved supplier, in the Product Compliance tab of the PO ( SAP GUI ) the field “Product Marketability Status” displays the message “OK …

SAP S/4HANA for Product Compliance: Doubt/Confusion on Purchase Orders (in SAP GUI) Read More »

SAP S/4HANA for Product Compliance: Doubt/Confusion on Purchase Orders (in SAP GUI)

Dear Community,  During tests, when creating a Purchase Order for a material containing a controlled/regulated substance – a drug percursor with “not compliant” marketability status (see image 1 below) – from an approved supplier, in the Product Compliance tab of the PO ( SAP GUI ) the field “Product Marketability Status” displays the message “OK …

SAP S/4HANA for Product Compliance: Doubt/Confusion on Purchase Orders (in SAP GUI) Read More »

How to remove spacing and underline between label and value at selection-screen of subscreen?

Hi, experts.How to remove spacing and underline between label and value at selection-screen of subscreen?   SELECTION-SCREEN : BEGIN OF SCREEN 247 as SUBSCREEN. PARAMETERS : werks type ekpo-werks, matnr type matnr, lgort type EKPO-LGORT. SELECT-OPTIONS : so_data for budat. SELECTION-SCREEN : END OF SCREEN 247.   PROCESS BEFORE OUTPUT. MODULE STATUS_0240. call SUBSCREEN sub …

How to remove spacing and underline between label and value at selection-screen of subscreen? Read More »

How to remove spacing and underline between label and value at selection-screen of subscreen?

Hi, experts.How to remove spacing and underline between label and value at selection-screen of subscreen?   SELECTION-SCREEN : BEGIN OF SCREEN 247 as SUBSCREEN. PARAMETERS : werks type ekpo-werks, matnr type matnr, lgort type EKPO-LGORT. SELECT-OPTIONS : so_data for budat. SELECTION-SCREEN : END OF SCREEN 247.   PROCESS BEFORE OUTPUT. MODULE STATUS_0240. call SUBSCREEN sub …

How to remove spacing and underline between label and value at selection-screen of subscreen? Read More »

Scroll to Top