Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery Item

Former Member
0 Kudos
180

<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.

2 REPLIES 2

Former Member
0 Kudos
109

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.

ravishankar_reddy2
Active Participant
0 Kudos
109

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