Hello everyone,
I have a trouble creating PO with multiple service lines (item has multiple service lines) . I can create PO with single service line but i have a problem doing it with more than one. Can anyone help me with that?
This code below is working, but I have problems with figuring out how to create multiple service lines.
Services data first entry ls_POSERVICES-PCKG_NO = '0000000001'. ls_POSERVICES-LINE_NO = '0000000001'. ls_POSERVICES-OUTL_IND = 'X'. ls_POSERVICES-SUBPCKG_NO = '0000000003'. ls_POSERVICES-QUANTITY = 1. ls_POSERVICES-BASE_UOM = 'PC'. ls_POSERVICES-PRICE_UNIT = 1. ls_POSERVICES-GR_PRICE = 2. ls_poservices-service = '000000000000013201'. ls_POSERVICES-SHORT_TEXT = '111' . Append ls_POSERVICES to POSERVICES ls_POSERVICES-PCKG_NO = '0000000003'. ls_POSERVICES-LINE_NO = '0000000002'. ls_POSERVICES-QUANTITY = 1. ls_POSERVICES-BASE_UOM = 'PC'. ls_POSERVICES-PRICE_UNIT = 1. ls_POSERVICES-GR_PRICE = 2. ls_POSERVICES-SHORT_TEXT = '111' . *ls_POSERVICES-MATL_GROUP = '0012'. APPEND ls_POSERVICES TO POSERVICES. Access values table ls_POSRVACCESSVALUES-PCKG_NO = '0000000003'. ls_POSRVACCESSVALUES-LINE_NO =' 0000000002'. ls_POSRVACCESSVALUES-SERNO_LINE = '01'. ls_POSRVACCESSVALUES-SERIAL_NO = '01'. ls_POSRVACCESSVALUES-QUANTITY = 1. APPEND ls_POSRVACCESSVALUES TO POSRVACCESSVALUES.