Skip to Content
0
Former Member
Jun 15, 2006 at 12:05 PM

abap code if& else

24 Views

Hi experts how to change the below code with one if and else statemennnt

FORM SUB_CHOOSE_SELECTION.

IF P_FULL = C_RADIO_VALUE. "Choice of Total Invoice

PERFORM FULL_INVOICE.

ENDIF.

IF P_HOLD = C_RADIO_VALUE. "Choice of Hold Invoice

PERFORM HOLD_INVOICE.

ENDIF.

IF P_BLOCK = C_RADIO_VALUE. "Choice of Block Invoice

PERFORM BLOCK_INVOICE.

ENDIF.

IF P_DELETE = C_RADIO_VALUE. "Choice of Delete Invoice

PERFORM DELETE_INVOICE.

ENDIF.

IF P_REJECT = C_RADIO_VALUE. "Choice of Reject invoice

PERFORM REJECT_INVOICE.

ENDIF.

regards

siri