Skip to Content
0
Former Member
May 29, 2008 at 09:17 AM

"IF" in form

16 Views

Hi,gurus,

I want to print out the customer purchase order number which just contain "RMA" in the string beginning and "R" in the string end.But the statement as below can't fit my request,can someone tell me anything wrong on it:

/E HEADER_DATA

ZS Sold to party: ,,&cname1&

ZB

ZS Address: ,,&street&

ZB

ZS Receipted By: ,,&name1&

ZB

ZS TEL: ,,&tel_number&

ZB

ZA &'DN:'VBDKL-vbeln&

ZB

ZB

/: IF &VBDKL-BSTKD& CP 'RMA*R'.

ZD &'客户订单号:'VBDKL-BSTKD&

ZB

/: ENDIF.

It will print out all the PO number ,but i just want to print the number which like "RMA*******R"

Thanks advance.