Hi S. Siermann,
I'm guessing you are using the enhancement FEB00001 and making changes in the program zxf01u01.
Then you have the contents from febre table with you.
So, create a string which will hold all the febre tables contents and use it as shown below:
************************************************************************
DATA: v_note type string.
*First, populate the contents of febre (note to payee) into the string to be searched.
LOOP AT t_febre.
CONCATENATE v_note t_febre-vwezw INTO v_note.
ENDLOOP.
*Now we can check for the pattern in two ways:
*1) Nested IF:
IF v_note CP '*GWK TRAVELEX*'.
IF v_note CP '*ATM01*'.
e_febep-vgint = booking rule 2.
ELSE.
e_febep-vgint = booking rule 1.
ENDIF.
ENDIF.
OR
*2)Simple IF
IF v_note CP '*GWK TRAVELEX*ATM01*'.
e_febep-vgint = booking rule 2.
ELSEIF v_note CP '*GWK TRAVELEX*'.
e_febep-vgint = booking rule 1.
ENDIF.
***************************************************************************
Regards,
Nabarko