2008 Jan 29 12:47 PM
<b>In the following code what is the difference between
XLIKP and YLIKP.How to use these two.</b>
form userexit_save_document_prepare.
case xlips-pstyv.
when 'TAX' or 'REX'.
Accept this two Delivery item category
when 'REN'.
if xlips-lgort = space.
Reject this Delivery item category
message e001.
endif.
when others.
if xlips-matnr space.
Check storage location not space
if xlips-lgort = space.
message e002.
endif.
Check delivery quantity not zero
if xlips-pikmg < 1.
message e003.
endif.
endif.
endcase.
endform.
2008 Jan 29 12:53 PM
there is no XLIKP or YLIKP
there only XLIPS.
i think the user has defined his internal table
XLIPS TYPE STANDARD TABLE OF LIPS.
LIPS is:: SD Document: Delivery Header Data
REWARD points if helpful,
kushagra.
2008 Jan 29 1:13 PM
Hi Sunil,
XLIKP is structure whic is provided by sap in a standard program and i think that YLIKP is structure or an internal table that is created by the user.
Almost all the structure which u need to use for user exits starts with X---- only.
regards,
ravi shankar reddy