Skip to Content
0
Oct 23, 2015 at 09:07 AM

Condition type without no manual price in reference to material type

193 Views

Hi, I need that only a specifical material type (ZPST) has the manual price (ZPN1) in the intercompany billing (IV). I've created the routine 908 with the following code: form kobed_908. data wa_mtart type mtart. select single mtart from mara into wa_mtart where matnr = komp-matnr. sy-subrc = 4. CHECK: wa_mtart EQ 'ZPST'. if komp-kposn ne 0. check: komp-prsfd ca 'BX'. check: komp-pstyv ne 'ZTAN'. check: komp-pstyv ne 'ZR1N'. check: komp-pstyv ne 'ZR5N'. check: komp-pstyv ne 'ZKEN'. check: komp-pstyv ne 'ZTON'. check: komp-pstyv ne 'ZTFN'. check: komp-pstyv ne 'ZG2N'. check: komp-pstyv ne 'ZL2N'. check: komp-pstyv ne 'ZOMN'. check: komp-pstyv ne 'ZC03'. check: komp-pstyv ne 'ZTP3'. check: komp-kznep = space. endif. sy-subrc = 0. endform. "kobed_908 * Prestep form kobev_908. sy-subrc = 0. endform. In the pricing procedure I've assigned to the condition type ZPN1 the Requirement 908, but the Iv position with mtart not equal to ZPST take the manual price. In the analysis pricing, in reference to ZPN1, there are two lines: - 1st with the message 117 - Manual condition (requirement 908 not met). - 2nd with the message 201 - Condition entered manually. What can i do to fix the problem? Thanks and regards. Antonio