Early help : BAPI_SALESORDER_SIMULATE- FREE GOODS - ORDER_CONDITION_EX

Hi Gurus,
I am using a BAPI : Z_BAPI_SALESORDER_SIMULATE , this Bapi is similar to the BAPI_SALESORDER_SIMULATE . It has customizations that are similar to the customizations done for order in the SAP system at my organization.
In the Output in the MESSAGETABLE I get the message
T ID NUM MESSAGE
W V4 160 Minimum quantity 1 EA of free goods has not been reached
Please help me with : What is the reason for this message? I am able to make a sale order with the same data
I am using exactly the same data in VA01 to create a sale order as I am using to test this BAPI: Z_BAPI_SALESORDER_SIMULATE
Please help me at the earliest to solve this problem
BAPI INPUT :
ORDER_HEADER_IN OR
CONVERT_PARVW_AUART
Tables Value
ORDER_ITEMS_IN 1 Entry
ORDER_PARTNERS 2 Entries
ORDER_SCHEDULE_IN 1 Entry
ORDER_CONDITIONS_IN 0 Entries
ORDER_ITEMS_OUT 0 Entries
ORDER_CFGS_REF 0 Entries
ORDER_CFGS_INST 0 Entries
ORDER_CFGS_PART_OF 0 Entries
ORDER_CFGS_VALUE 0 Entries
ORDER_CFGS_BLOB 0 Entries
ORDER_CCARD 1 Entry
ORDER_CCARD_EX 0 Entries
ORDER_SCHEDULE_EX 0 Entries
ORDER_CONDITION_EX 0 Entries
ORDER_INCOMPLETE 0 Entries
MESSAGETABLE 0 Entries
EXTENSIONIN 0 Entries
PARTNERADDRESSES 1 Entry
WMDVSX 0 Entries
WMDVEX 0 Entries
Z_AVAIL_OUT 0 Entries
ORDER_SCHEDULE_IN2 0 Entries
ORDER_SCHEDULE_EX2 0 Entries
ORDER_ITEMS_IN2 0 Entries
ORDER_PARTNERS2 0 Entries
BAPI Output is :
Import parameters Value
ORDER_HEADER_IN OR I have this filled in
CONVERT_PARVW_AUART
DELAY 0
Export parameters Value
SALESDOCUMENT
ORDER_HEADER_EX OR
SOLD_TO_PARTY
SHIP_TO_PARTY
BILLING_PARTY
RETURN
ORDER_HEADER OR SO500750 00/00/0000 00/00/0000
Tables Value
ORDER_ITEMS_IN 1 Entry
Result: 1 Entry
ORDER_PARTNERS 2 Entries
Result: 2 Entries
ORDER_SCHEDULE_IN 1 Entry
Result: 1 Entry
ORDER_CONDITIONS_IN 0 Entries
Result: 0 Entries
ORDER_ITEMS_OUT 0 Entries
Result: 2 Entries
ORDER_CFGS_REF 0 Entries
Result: 0 Entries
ORDER_CFGS_INST 0 Entries
Result: 0 Entries
ORDER_CFGS_PART_OF 0 Entries
Result: 0 Entries
ORDER_CFGS_VALUE 0 Entries
Result: 0 Entries
ORDER_CFGS_BLOB 0 Entries
Result: 0 Entries
ORDER_CCARD 1 Entry
Result: 1 Entry
ORDER_CCARD_EX 0 Entries
Result: 0 Entries
ORDER_SCHEDULE_EX 0 Entries
Result: 2 Entries
ORDER_CONDITION_EX 0 Entries
Result: 0 Entries
ORDER_INCOMPLETE 0 Entries
Result: 0 Entries
MESSAGETABLE 0 Entries
Result: 1 Entry
EXTENSIONIN 0 Entries
Result: 0 Entries
PARTNERADDRESSES 1 Entry
Result: 3 Entries
WMDVSX 0 Entries
Result: 0 Entries
WMDVEX 0 Entries
Result: 0 Entries
Z_AVAIL_OUT 0 Entries
Result: 0 Entries
ORDER_SCHEDULE_IN2 0 Entries
Result: 0 Entries
ORDER_SCHEDULE_EX2 0 Entries
Result: 0 Entries
ORDER_ITEMS_IN2 0 Entries
Result: 1 Entry
ORDER_PARTNERS2 0 Entries
Result: 2 Entries
Additional Note :
Checking CONDITIONS EX , for free goods
I am using Function module :Z_BAPI_SALESORDER_SIMULATE to simulate pricing conditions.
I am trying to figure out the reason for the function module: Z_BAPI_SALESORDER_SIMULATE not giving values in CONDITIONS EX when I use it to simulate free goods .
It is only not giving ORDER_CONDITION_EX for free goods materials.
BAPI simulates Bill of material, regular orders properly.
Example : one material has on free good .
Should give output in ORDER_CONDITION_EX
It is giving an output in ORDER_ITEMS_OUT - two materials line item 10 , 15 .
However in ORDER_CONDITION_EX it does not return anything , number of entries is zero .
I know my data for input are correct as I can make a sale order with the same data.

hello,
I am using a BAPI: Z_BAPI_SALESORDER_SIMULATE, this Bapi is similar to the BAPI_SALESORDER_SIMULATE. It has customizations that are similar to the customizations done for order in the SAP system at my organization.
Checking CONDITIONS EX , for free goods
I am using Function module :Z_BAPI_SALESORDER_SIMULATE to simulate pricing conditions.
I am trying to figure out the reason for the function module: Z_BAPI_SALESORDER_SIMULATE not giving values in CONDITIONS EX when I use it to simulate free goods .
It is only not giving ORDER_CONDITION_EX for free goods materials.
BAPI simulates Bill of material, regular orders properly.
Example : one material has on free good .
Should give output in ORDER_CONDITION_EX
It is giving an output in ORDER_ITEMS_OUT - two materials line item 10 , 15 .
However in ORDER_CONDITION_EX it does not return anything , number of entries is zero .
I<b> know my data for input are correct as I can make a sale order with the same data.
In the Output in the MESSAGETABLE I get the message
T ID NUM MESSAGE
W V4 160 Minimum quantity 1 EA of free goods has not been reached
Please help me with : What is the reason for this message? I am able to make a sale order with the same data</b>
I am using exactly the same data in VA01 to create a sale order as I am using to test this BAPI: Z_BAPI_SALESORDER_SIMULATE
Please help me at the earliest to solve this problem
BAPI INPUT :
ORDER_HEADER_IN OR
CONVERT_PARVW_AUART
Tables Value
ORDER_ITEMS_IN 1 Entry
ORDER_PARTNERS 2 Entries
ORDER_SCHEDULE_IN 1 Entry
ORDER_CONDITIONS_IN 0 Entries
ORDER_ITEMS_OUT 0 Entries
ORDER_CFGS_REF 0 Entries
ORDER_CFGS_INST 0 Entries
ORDER_CFGS_PART_OF 0 Entries
ORDER_CFGS_VALUE 0 Entries
ORDER_CFGS_BLOB 0 Entries
ORDER_CCARD 1 Entry
ORDER_CCARD_EX 0 Entries
ORDER_SCHEDULE_EX 0 Entries
ORDER_CONDITION_EX 0 Entries
ORDER_INCOMPLETE 0 Entries
MESSAGETABLE 0 Entries
EXTENSIONIN 0 Entries
PARTNERADDRESSES 1 Entry
WMDVSX 0 Entries
WMDVEX 0 Entries
Z_AVAIL_OUT 0 Entries
ORDER_SCHEDULE_IN2 0 Entries
ORDER_SCHEDULE_EX2 0 Entries
ORDER_ITEMS_IN2 0 Entries
ORDER_PARTNERS2 0 Entries
BAPI Output is :
Import parameters Value
ORDER_HEADER_IN OR I have this filled in
CONVERT_PARVW_AUART
DELAY 0
Export parameters Value
SALESDOCUMENT
ORDER_HEADER_EX OR
SOLD_TO_PARTY
SHIP_TO_PARTY
BILLING_PARTY
RETURN
ORDER_HEADER OR sales area  00/00/0000 00/00/0000
Tables Value
ORDER_ITEMS_IN 1 Entry
Result: 1 Entry
ORDER_PARTNERS 2 Entries
Result: 2 Entries
ORDER_SCHEDULE_IN 1 Entry
Result: 1 Entry
ORDER_CONDITIONS_IN 0 Entries
Result: 0 Entries
ORDER_ITEMS_OUT 0 Entries
Result: 2 Entries
ORDER_CFGS_REF 0 Entries
Result: 0 Entries
ORDER_CFGS_INST 0 Entries
Result: 0 Entries
ORDER_CFGS_PART_OF 0 Entries
Result: 0 Entries
ORDER_CFGS_VALUE 0 Entries
Result: 0 Entries
ORDER_CFGS_BLOB 0 Entries
Result: 0 Entries
ORDER_CCARD 1 Entry
Result: 1 Entry
ORDER_CCARD_EX 0 Entries
Result: 0 Entries
ORDER_SCHEDULE_EX 0 Entries
Result: 2 Entries
ORDER_CONDITION_EX 0 Entries
Result: 0 Entries
ORDER_INCOMPLETE 0 Entries
Result: 0 Entries
MESSAGETABLE 0 Entries
Result: 1 Entry
EXTENSIONIN 0 Entries
Result: 0 Entries
PARTNERADDRESSES 1 Entry
Result: 3 Entries
WMDVSX 0 Entries
Result: 0 Entries
WMDVEX 0 Entries
Result: 0 Entries
Z_AVAIL_OUT 0 Entries
Result: 0 Entries
ORDER_SCHEDULE_IN2 0 Entries
Result: 0 Entries
ORDER_SCHEDULE_EX2 0 Entries
Result: 0 Entries
ORDER_ITEMS_IN2 0 Entries
Result: 1 Entry
ORDER_PARTNERS2 0 Entries
Result: 2 Entries

Similar Messages

  • Early help : BAPI_SALESORDER_SIMULATE- FREE GOODS - Warning Message

    Hi Gurus,
    I am using a BAPI : Z_BAPI_SALESORDER_SIMULATE , this Bapi is similar to the BAPI_SALESORDER_SIMULATE . It has customizations that are similar to the customizations done for order in the SAP system at my organization.
    In the Output in the MESSAGETABLE I get the message
    <b>
    T ID NUM MESSAGE
    W V4 160 Minimum quantity 1 EA of free goods has not been reached
    Please help me with : What is the reason for this message? I am able to make a sale order with the same data
    I am using exactly the same data in VA01 to create a sale order as I am using to test this BAPI: Z_BAPI_SALESORDER_SIMULATE</b>
    Please help me at the earliest to solve this problem
    BAPI INPUT :
    ORDER_HEADER_IN OR
    CONVERT_PARVW_AUART
    Tables Value
    ORDER_ITEMS_IN 1 Entry
    ORDER_PARTNERS 2 Entries
    ORDER_SCHEDULE_IN 1 Entry
    ORDER_CONDITIONS_IN 0 Entries
    ORDER_ITEMS_OUT 0 Entries
    ORDER_CFGS_REF 0 Entries
    ORDER_CFGS_INST 0 Entries
    ORDER_CFGS_PART_OF 0 Entries
    ORDER_CFGS_VALUE 0 Entries
    ORDER_CFGS_BLOB 0 Entries
    ORDER_CCARD 1 Entry
    ORDER_CCARD_EX 0 Entries
    ORDER_SCHEDULE_EX 0 Entries
    ORDER_CONDITION_EX 0 Entries
    ORDER_INCOMPLETE 0 Entries
    MESSAGETABLE 0 Entries
    EXTENSIONIN 0 Entries
    PARTNERADDRESSES 1 Entry
    WMDVSX 0 Entries
    WMDVEX 0 Entries
    Z_AVAIL_OUT 0 Entries
    ORDER_SCHEDULE_IN2 0 Entries
    ORDER_SCHEDULE_EX2 0 Entries
    ORDER_ITEMS_IN2 0 Entries
    ORDER_PARTNERS2 0 Entries
    BAPI Output is :
    Import parameters Value
    ORDER_HEADER_IN OR I have this filled in
    CONVERT_PARVW_AUART
    DELAY 0
    Export parameters Value
    SALESDOCUMENT
    ORDER_HEADER_EX OR
    SOLD_TO_PARTY
    SHIP_TO_PARTY
    BILLING_PARTY
    RETURN
    ORDER_HEADER OR SO500750 00/00/0000 00/00/0000
    Tables Value
    ORDER_ITEMS_IN 1 Entry
    Result: 1 Entry
    ORDER_PARTNERS 2 Entries
    Result: 2 Entries
    ORDER_SCHEDULE_IN 1 Entry
    Result: 1 Entry
    ORDER_CONDITIONS_IN 0 Entries
    Result: 0 Entries
    ORDER_ITEMS_OUT 0 Entries
    Result: 2 Entries
    ORDER_CFGS_REF 0 Entries
    Result: 0 Entries
    ORDER_CFGS_INST 0 Entries
    Result: 0 Entries
    ORDER_CFGS_PART_OF 0 Entries
    Result: 0 Entries
    ORDER_CFGS_VALUE 0 Entries
    Result: 0 Entries
    ORDER_CFGS_BLOB 0 Entries
    Result: 0 Entries
    ORDER_CCARD 1 Entry
    Result: 1 Entry
    ORDER_CCARD_EX 0 Entries
    Result: 0 Entries
    ORDER_SCHEDULE_EX 0 Entries
    Result: 2 Entries
    ORDER_CONDITION_EX 0 Entries
    Result: 0 Entries
    ORDER_INCOMPLETE 0 Entries
    Result: 0 Entries
    MESSAGETABLE 0 Entries
    Result: 1 Entry
    EXTENSIONIN 0 Entries
    Result: 0 Entries
    PARTNERADDRESSES 1 Entry
    Result: 3 Entries
    WMDVSX 0 Entries
    Result: 0 Entries
    WMDVEX 0 Entries
    Result: 0 Entries
    Z_AVAIL_OUT 0 Entries
    Result: 0 Entries
    ORDER_SCHEDULE_IN2 0 Entries
    Result: 0 Entries
    ORDER_SCHEDULE_EX2 0 Entries
    Result: 0 Entries
    ORDER_ITEMS_IN2 0 Entries
    Result: 1 Entry
    ORDER_PARTNERS2 0 Entries
    Result: 2 Entries
    Additional Note :
    Checking CONDITIONS EX , for free goods
    I am using Function module :Z_BAPI_SALESORDER_SIMULATE to simulate pricing conditions.
    I am trying to figure out the reason for the function module: Z_BAPI_SALESORDER_SIMULATE not giving values in CONDITIONS EX when I use it to simulate free goods .
    It is only not giving ORDER_CONDITION_EX for free goods materials.
    BAPI simulates Bill of material, regular orders properly.
    Example : one material has on free good .
    Should give output in ORDER_CONDITION_EX
    It is giving an output in ORDER_ITEMS_OUT - two materials line item 10 , 15 .
    However in ORDER_CONDITION_EX it does not return anything , number of entries is zero .
    I know my data for input are correct as I can make a sale order with the same data.

    AMit ,
    as per my knowledge , this message is coming from SPRO
    <b>T ID NUM MESSAGE
    W V4 160 Minimum quantity 1 EA of free goods has not been reached
    Please help me with : What is the reason for this message? I am able to make a sale order with the same data</b>
    <b>1.First try in Va01 with the same Data then check ? If u get the same message then problem with ur input data</b>
    regards
    Prabhu

  • URGENT - BAPI_SALESORDER_SIMULATE- FREE GOODS - ORDER_CONDITION_EX

    Hi Gurus,
    I am using standard Function module : BAPI_SALESORDER_SIMULATE to simulate pricing conditions.
    I am trying to figure out the reason for the function module: BAPI_SALESORDER_SIMULATE not giving values in CONDITIONS EX when I use it to <b>simulate free goods</b> .
    <b>It is only not giving ORDER_CONDITION_EX for free goods materials.</b>
    BAPI simulates Bill of material, regular orders properly.
    Example : one material has on free good .
    Should give output in ORDER_CONDITION_EX
    It is giving an output in ORDER_ITEMS_OUT - two materials line item 10 , 15 .
    However in ORDER_CONDITION_EX it does not return anything , number of entries is zero .
    What could be the reason. What is the correct input for the BAPI for it to give conditions in ORDER_CONDITION_EX for free goods.
    I know my data for input are correct as I can make a sale order with the same data.
    Please help me at the earliest to solve this problem.
    <b>BAPI’s reference : standard BAPI_SALESORDER_SIMULATE'</b>
    CALL FUNCTION 'BAPI_SALESORDER_SIMULATE'
    EXPORTING
    ORDER_HEADER_IN = order_header_in
    CONVERT_PARVW_AUART = ' '
    DELAY = 0
    IMPORTING
    SALESDOCUMENT =
    ORDER_HEADER_EX =
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    RETURN =
    ORDER_HEADER =
    TABLES
    ORDER_ITEMS_IN = order_items_in
    ORDER_PARTNERS = order_partners
    ORDER_SCHEDULE_IN = order_schedule_in
    ORDER_CONDITIONS_IN =
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CFGS_BLOB =
    ORDER_CCARD =
    ORDER_CCARD_EX =
    ORDER_SCHEDULE_EX =
    ORDER_CONDITION_EX = order_condition_ex
    ORDER_INCOMPLETE =
    MESSAGETABLE = messagetable
    EXTENSIONIN =
    PARTNERADDRESSES =
    WMDVSX =
    WMDVEX =
    AVAIL_OUT =
    ORDER_SCHEDULE_IN2 =
    ORDER_SCHEDULE_EX2 =
    ORDER_ITEMS_IN2 =
    ORDER_PARTNERS2
    Program being developed based on this BAPI
    selection-screen begin of block b1 with frame title text-001.
    parameters : p_kunnr like kna1-kunnr,
    p_matnr like vbap-matnr,
    p_vkorg like vbak-vkorg,
    p_vtweg like vbak-vtweg,
    p_spart like vbak-spart.
    selection-screen end of block b1.
    data: doctype like bapisdhead-doc_type value 'OR',
    itemno like bapiitemin-itm_number value '000010',
    quantity(13) type N value '0000000000001',
    partnertype like knvp-parvw value 'AG'.
    data :count type i.
    data : begin of order_condition_ex occurs 0.
    include structure bapicond.
    data: end of order_condition_ex.
    data: begin of order_header_in.
    include structure bapisdhead.
    data: end of order_header_in.
    data: begin of order_items_in occurs 1.
    include structure bapiitemin.
    data: end of order_items_in.
    data: begin of order_partners occurs 1.
    include structure bapipartnr.
    data:end of order_partners.
    data: begin of order_schedule_in occurs 1.
    include structure bapischdl.
    data:end of order_schedule_in.
    data: begin of messagetable occurs 0 .
    Include structure bapiret2.
    data: end of messagetable.
    order_header_in-doc_type = doctype.
    order_header_in-sales_org = p_vkorg.
    order_header_in-distr_chan = p_vtweg.
    order_header_in-division = p_spart.
    order_header_in-purch_date = sy-datum .
    order_header_in-req_date_h = sy-datum.
    order_items_in-itm_number = itemno.
    order_items_in-material = p_matnr.
    order_items_in-req_qty = quantity.
    append order_items_in.
    order_schedule_in-itm_number = itemno.
    order_schedule_in-req_qty = quantity.
    append order_schedule_in.
    order_schedule_in-req_date = sy-datum.
    order_partners-partn_role = partnertype.
    order_partners-partn_numb = p_kunnr.
    append order_partners.
    order_partners-itm_number = itemno.
    CALL FUNCTION 'Z_BAPI_SALESORDER_SIMULATE'
    EXPORTING
    ORDER_HEADER_IN = order_header_in
    CONVERT_PARVW_AUART = ' '
    DELAY = 0
    IMPORTING
    SALESDOCUMENT =
    ORDER_HEADER_EX =
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    RETURN =
    ORDER_HEADER =
    TABLES
    ORDER_ITEMS_IN = order_items_in
    ORDER_PARTNERS = order_partners
    ORDER_SCHEDULE_IN = order_schedule_in
    ORDER_CONDITIONS_IN =
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CFGS_BLOB =
    ORDER_CCARD =
    ORDER_CCARD_EX =
    ORDER_SCHEDULE_EX =
    ORDER_CONDITION_EX = order_condition_ex
    ORDER_INCOMPLETE =
    MESSAGETABLE = messagetable
    EXTENSIONIN =
    PARTNERADDRESSES =
    WMDVSX =
    WMDVEX =
    Z_AVAIL_OUT =
    ORDER_SCHEDULE_IN2 =
    ORDER_SCHEDULE_EX2 =
    ORDER_ITEMS_IN2 =
    ORDER_PARTNERS2

    this is not solving it Ashish ,
    I am using a BAPI: Z_BAPI_SALESORDER_SIMULATE, this Bapi is similar to the BAPI_SALESORDER_SIMULATE. It has customizations that are similar to the customizations done for order in the SAP system at my organization.
    Checking CONDITIONS EX , for free goods
    I am using Function module :Z_BAPI_SALESORDER_SIMULATE to simulate pricing conditions.
    I am trying to figure out the reason for the function module: Z_BAPI_SALESORDER_SIMULATE not giving values in CONDITIONS EX when I use it to simulate free goods .
    It is only not giving ORDER_CONDITION_EX for free goods materials.
    BAPI simulates Bill of material, regular orders properly.
    Example : one material has on free good .
    Should give output in ORDER_CONDITION_EX
    It is giving an output in ORDER_ITEMS_OUT - two materials line item 10 , 15 .
    However in ORDER_CONDITION_EX it does not return anything , number of entries is zero .
    I know my data for input are correct as I can make a sale order with the same data.
    In the Output in the MESSAGETABLE I get the message
    T ID NUM MESSAGE
    W V4 160 Minimum quantity 1 EA of free goods has not been reached
    Please help me with : What is the reason for this message? I am able to make a sale order with the same data
    I am using exactly the same data in VA01 to create a sale order as I am using to test this BAPI: Z_BAPI_SALESORDER_SIMULATE
    Please help me at the earliest to solve this problem
    BAPI INPUT :
    ORDER_HEADER_IN OR
    CONVERT_PARVW_AUART
    Tables Value
    ORDER_ITEMS_IN 1 Entry
    ORDER_PARTNERS 2 Entries
    ORDER_SCHEDULE_IN 1 Entry
    ORDER_CONDITIONS_IN 0 Entries
    ORDER_ITEMS_OUT 0 Entries
    ORDER_CFGS_REF 0 Entries
    ORDER_CFGS_INST 0 Entries
    ORDER_CFGS_PART_OF 0 Entries
    ORDER_CFGS_VALUE 0 Entries
    ORDER_CFGS_BLOB 0 Entries
    ORDER_CCARD 1 Entry
    ORDER_CCARD_EX 0 Entries
    ORDER_SCHEDULE_EX 0 Entries
    ORDER_CONDITION_EX 0 Entries
    ORDER_INCOMPLETE 0 Entries
    MESSAGETABLE 0 Entries
    EXTENSIONIN 0 Entries
    PARTNERADDRESSES 1 Entry
    WMDVSX 0 Entries
    WMDVEX 0 Entries
    Z_AVAIL_OUT 0 Entries
    ORDER_SCHEDULE_IN2 0 Entries
    ORDER_SCHEDULE_EX2 0 Entries
    ORDER_ITEMS_IN2 0 Entries
    ORDER_PARTNERS2 0 Entries
    BAPI Output is :
    Import parameters Value
    ORDER_HEADER_IN OR I have this filled in
    CONVERT_PARVW_AUART
    DELAY 0
    Export parameters Value
    SALESDOCUMENT
    ORDER_HEADER_EX OR
    SOLD_TO_PARTY
    SHIP_TO_PARTY
    BILLING_PARTY
    RETURN
    ORDER_HEADER OR sales area  00/00/0000 00/00/0000
    Tables Value
    ORDER_ITEMS_IN 1 Entry
    Result: 1 Entry
    ORDER_PARTNERS 2 Entries
    Result: 2 Entries
    ORDER_SCHEDULE_IN 1 Entry
    Result: 1 Entry
    ORDER_CONDITIONS_IN 0 Entries
    Result: 0 Entries
    ORDER_ITEMS_OUT 0 Entries
    Result: 2 Entries
    ORDER_CFGS_REF 0 Entries
    Result: 0 Entries
    ORDER_CFGS_INST 0 Entries
    Result: 0 Entries
    ORDER_CFGS_PART_OF 0 Entries
    Result: 0 Entries
    ORDER_CFGS_VALUE 0 Entries
    Result: 0 Entries
    ORDER_CFGS_BLOB 0 Entries
    Result: 0 Entries
    ORDER_CCARD 1 Entry
    Result: 1 Entry
    ORDER_CCARD_EX 0 Entries
    Result: 0 Entries
    ORDER_SCHEDULE_EX 0 Entries
    Result: 2 Entries
    ORDER_CONDITION_EX 0 Entries
    Result: 0 Entries
    ORDER_INCOMPLETE 0 Entries
    Result: 0 Entries
    MESSAGETABLE 0 Entries
    Result: 1 Entry
    EXTENSIONIN 0 Entries
    Result: 0 Entries
    PARTNERADDRESSES 1 Entry
    Result: 3 Entries
    WMDVSX 0 Entries
    Result: 0 Entries
    WMDVEX 0 Entries
    Result: 0 Entries
    Z_AVAIL_OUT 0 Entries
    Result: 0 Entries
    ORDER_SCHEDULE_IN2 0 Entries
    Result: 0 Entries
    ORDER_SCHEDULE_EX2 0 Entries
    Result: 0 Entries
    ORDER_ITEMS_IN2 0 Entries
    Result: 1 Entry
    ORDER_PARTNERS2 0 Entries
    Result: 2 Entries

  • BAPI_SALESORDER_SIMULATE-  FREE GOODS - ORDER_CONDITION_EX

    Hi Gurus,
    I am using standard Function module : BAPI_SALESORDER_SIMULATE to simulate pricing conditions.
    I am trying to figure out the reason for the function module:  BAPI_SALESORDER_SIMULATE  not giving values in CONDITIONS EX when I use it to <b>simulate free goods</b> .
    It is only not giving ORDER_CONDITION_EX for <b>free goods</b> materials.
    BAPI   simulates Bill of material, regular orders properly.
    Example : one material has on free good .
    Should give output in ORDER_CONDITION_EX
    It is giving an output in ORDER_ITEMS_OUT  - two  materials line item 10 , 15 .
    However in ORDER_CONDITION_EX it does not return anything , number of entries is zero .
    What could be the reason. What is the correct input for the BAPI for it to give conditions in ORDER_CONDITION_EX  for free goods.
    I know my data  for input are correct as I can make a sale order with the same data.
    Please help me at the earliest to solve this problem.
    <u>BAPI’s  reference : standard  BAPI_SALESORDER_SIMULATE'</u>
    CALL FUNCTION 'BAPI_SALESORDER_SIMULATE'
    EXPORTING
    ORDER_HEADER_IN = order_header_in
    CONVERT_PARVW_AUART = ' '
    DELAY = 0
    IMPORTING
    SALESDOCUMENT =
    ORDER_HEADER_EX =
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    RETURN =
    ORDER_HEADER =
    TABLES
    ORDER_ITEMS_IN = order_items_in
    ORDER_PARTNERS = order_partners
    ORDER_SCHEDULE_IN = order_schedule_in
    ORDER_CONDITIONS_IN =
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CFGS_BLOB =
    ORDER_CCARD =
    ORDER_CCARD_EX =
    ORDER_SCHEDULE_EX =
    ORDER_CONDITION_EX = order_condition_ex
    ORDER_INCOMPLETE =
    MESSAGETABLE = messagetable
    EXTENSIONIN =
    PARTNERADDRESSES =
    WMDVSX =
    WMDVEX =
    AVAIL_OUT =
    ORDER_SCHEDULE_IN2 =
    ORDER_SCHEDULE_EX2 =
    ORDER_ITEMS_IN2 =
    ORDER_PARTNERS2
    <u>Program being developed based on this BAPI</u>
    selection-screen begin of block b1 with frame title text-001.
    parameters : p_kunnr like kna1-kunnr,
    p_matnr like vbap-matnr,
    p_vkorg like vbak-vkorg,
    p_vtweg like vbak-vtweg,
    p_spart like vbak-spart.
    selection-screen end of block b1.
    data: doctype like bapisdhead-doc_type value 'OR',
    itemno like bapiitemin-itm_number value '000010',
    quantity(13) type N value '0000000000001',
    partnertype like knvp-parvw value 'AG'.
    data :count type i.
    data : begin of order_condition_ex occurs 0.
    include structure bapicond.
    data: end of order_condition_ex.
    data: begin of order_header_in.
    include structure bapisdhead.
    data: end of order_header_in.
    data: begin of order_items_in occurs 1.
    include structure bapiitemin.
    data: end of order_items_in.
    data: begin of order_partners occurs 1.
    include structure bapipartnr.
    data:end of order_partners.
    data: begin of order_schedule_in occurs 1.
    include structure bapischdl.
    data:end of order_schedule_in.
    data: begin of messagetable occurs 0 .
    Include structure bapiret2.
    data: end of messagetable.
    order_header_in-doc_type = doctype.
    order_header_in-sales_org = p_vkorg.
    order_header_in-distr_chan = p_vtweg.
    order_header_in-division = p_spart.
    order_header_in-purch_date = sy-datum .
    order_header_in-req_date_h = sy-datum.
    order_items_in-itm_number = itemno.
    order_items_in-material = p_matnr.
    order_items_in-req_qty = quantity.
    append order_items_in.
    order_schedule_in-itm_number = itemno.
    order_schedule_in-req_qty = quantity.
    append order_schedule_in.
    order_schedule_in-req_date = sy-datum.
    order_partners-partn_role = partnertype.
    order_partners-partn_numb = p_kunnr.
    append order_partners.
    order_partners-itm_number = itemno.
    CALL FUNCTION 'Z_BAPI_SALESORDER_SIMULATE'
    EXPORTING
    ORDER_HEADER_IN = order_header_in
    CONVERT_PARVW_AUART = ' '
    DELAY = 0
    IMPORTING
    SALESDOCUMENT =
    ORDER_HEADER_EX =
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    RETURN =
    ORDER_HEADER =
    TABLES
    ORDER_ITEMS_IN = order_items_in
    ORDER_PARTNERS = order_partners
    ORDER_SCHEDULE_IN = order_schedule_in
    ORDER_CONDITIONS_IN =
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CFGS_BLOB =
    ORDER_CCARD =
    ORDER_CCARD_EX =
    ORDER_SCHEDULE_EX =
    ORDER_CONDITION_EX = order_condition_ex
    ORDER_INCOMPLETE =
    MESSAGETABLE = messagetable
    EXTENSIONIN =
    PARTNERADDRESSES =
    WMDVSX =
    WMDVEX =
    Z_AVAIL_OUT =
    ORDER_SCHEDULE_IN2 =
    ORDER_SCHEDULE_EX2 =
    ORDER_ITEMS_IN2 =
    ORDER_PARTNERS2

    Hi Eswar  and friends,
    I am using a BAPI :  Z_BAPI_SALESORDER_SIMULATE  , this Bapi is similar to the   BAPI_SALESORDER_SIMULATE . It has customizations that are similar to the customizations done for order  in the SAP system at my organization.
    <b>
    In the Output in the MESSAGETABLE I get the message
    <b>                                                                               
    T      ID                   NUM           MESSAGE                                                                               
    W     V4                   160             Minimum quantity 1 EA of free goods has not been reached                                                                               
    </b>                                                                               
    Please help me with : What is the reason for this message?</b> I am able to make a sale order with the same data      
    <b>I am using exactly the same data in VA01 to create a sale order as I am using to test this BAPI:  Z_BAPI_SALESORDER_SIMULATE </b>
    Please help me at the earliest to solve this problem
    BAPI INPUT :                                                                               
    ORDER_HEADER_IN                              OR          
    CONVERT_PARVW_AUART                                                                               
    Tables                                    Value                                                                               
    ORDER_ITEMS_IN                          1 Entry                                        
    ORDER_PARTNERS                          2 Entries                                      
    ORDER_SCHEDULE_IN                       1 Entry                                        
    ORDER_CONDITIONS_IN                     0 Entries                                      
    ORDER_ITEMS_OUT                         0 Entries                                      
    ORDER_CFGS_REF                          0 Entries                                      
    ORDER_CFGS_INST                         0 Entries                                      
    ORDER_CFGS_PART_OF                 0 Entries                                      
    ORDER_CFGS_VALUE                   0 Entries                                      
    ORDER_CFGS_BLOB                    0 Entries                                      
    ORDER_CCARD                             1 Entry                                        
    ORDER_CCARD_EX                     0 Entries                                      
    ORDER_SCHEDULE_EX                  0 Entries                                      
    ORDER_CONDITION_EX                 0 Entries                                      
    ORDER_INCOMPLETE                   0 Entries                                      
    MESSAGETABLE                       0 Entries                                      
    EXTENSIONIN                        0 Entries                                      
    PARTNERADDRESSES                   1 Entry                                        
    WMDVSX                             0 Entries                                      
    WMDVEX                             0 Entries                                      
    Z_AVAIL_OUT                        0 Entries                                      
    ORDER_SCHEDULE_IN2                 0 Entries                                      
    ORDER_SCHEDULE_EX2                 0 Entries                                      
    ORDER_ITEMS_IN2                    0 Entries                                      
    ORDER_PARTNERS2                    0 Entries                                      
    BAPI Output is :
          Import parameters                   Value                                                                               
    ORDER_HEADER_IN                  OR    I have this filled in                                                                               
    CONVERT_PARVW_AUART                                                                               
    DELAY                               0                                                                               
    Export parameters                   Value                                                                               
    SALESDOCUMENT                                                                               
    ORDER_HEADER_EX                                          OR           
          SOLD_TO_PARTY                            
          SHIP_TO_PARTY                            
          BILLING_PARTY                            
          RETURN                                                                               
    ORDER_HEADER                                                                                OR            SO500750       00/00/0000 00/00/0000                                                        
          Tables                              Value                                                                               
    ORDER_ITEMS_IN                                 1 Entry                                                                               
    Result:                       1 Entry                                                                               
    ORDER_PARTNERS                                 2 Entries                                                                               
    Result:                       2 Entries                                                                               
    ORDER_SCHEDULE_IN                              1 Entry                                                                               
    Result:                       1 Entry                                                                               
    ORDER_CONDITIONS_IN                            0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_ITEMS_OUT                                0 Entries                                                                               
    Result:                       2 Entries                                                                               
    ORDER_CFGS_REF                                 0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_CFGS_INST                                0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_CFGS_PART_OF                             0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_CFGS_VALUE                               0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_CFGS_BLOB                                0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_CCARD                                    1 Entry                                                                               
    Result:                       1 Entry                                                                               
    ORDER_CCARD_EX                                 0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_SCHEDULE_EX                              0 Entries                                                                               
    Result:                       2 Entries                                                                               
    ORDER_CONDITION_EX                             0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_INCOMPLETE                               0 Entries                                                                               
    Result:                       0 Entries                                                                               
    MESSAGETABLE                                   0 Entries                                                                               
    Result:                       1 Entry                                                                               
    EXTENSIONIN                                    0 Entries                                                                               
    Result:                       0 Entries                                                                               
    PARTNERADDRESSES                               1 Entry                                                                               
    Result:                       3 Entries                                                                               
    WMDVSX                                         0 Entries                                                                               
    Result:                       0 Entries                                                                               
    WMDVEX                                         0 Entries                                                                               
    Result:                       0 Entries                                                                               
    Z_AVAIL_OUT                                    0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_SCHEDULE_IN2                             0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_SCHEDULE_EX2                             0 Entries                                                                               
    Result:                       0 Entries                                                                               
    ORDER_ITEMS_IN2                                0 Entries                                                                               
    Result:                       1 Entry                                                                               
    ORDER_PARTNERS2                                0 Entries                                                                               
    Result:                       2 Entries                                                                               
    <b>Additional Note  :</b>
    <b>Checking  CONDITIONS EX , for free goods</b>
    I am using  Function module :Z_BAPI_SALESORDER_SIMULATE to simulate pricing conditions.
    I am trying to figure out the reason for the function module: Z_BAPI_SALESORDER_SIMULATE not giving values in CONDITIONS EX when I use it to simulate free goods .
    It is only not giving ORDER_CONDITION_EX for free goods materials.
    BAPI simulates Bill of material, regular orders properly.
    Example : one material has on free good .
    Should give output in ORDER_CONDITION_EX
    It is giving an output in ORDER_ITEMS_OUT - two materials line item 10 , 15 .
    However in ORDER_CONDITION_EX it does not return anything , number of entries is zero .
    I<b> know my data for input are correct as I can make a sale order with the same data.</b>

  • Free Goods sub item split in two line items

    Sir,
    I give free good along with  sale item ,but i want free goods quantity split in two lines ,so how I do  that?
    Please help .

    Hi,
    Free goods has the following limitations:
    - Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    - Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    - Free goods are only supported for sales orders with document category C (for example, not quotations).
    - Free goods are not supported for deliveries without reference to a sales order.
    - Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    - If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    Not all Sales Order can be used for free goods determination.  You have to check the SD document category if it does not work.  Only category 'C' are supported.  Check transaction VOV8.
    Assume that you want to configure an inclusive FREE goods routine.  Customers must order a minumum quantity of 5 before any free goods can be assign.  For every quantity of 3, the customer will be given 1 free goods.
    WC07 - Maintain Number Range Intervals
    e.g.
    No   From number       To number
    01    0000010000         0000099999
    IMG -> Sales and Distribution -> Basic Functions -> Free Goods ->
    Maintain Access Sequences
    New Entries
    Acsq
    NA00
    Save
    Maintain Condition Types
    New Entries
    Ctyp   Name             AcSq
    FREE  Free Goods    NA00
    Save
    Maintain Pricing Procedures
    Procedures
    New Entries
    Procedure   Description
    FREE           Free Goods
    Select Procedure FREE then click Control data
    Step   Cntr   Ctyp
    10       10      FREE
    V/N6 - Activate Free Goods Determination
    Assign Order Type OR with Document Procedure A with Procedure FREE
    VBN1 - Create free goods determination
    e.g.  FREE inclusive
    Material  Min qty   From   are free good   Calc Rule   Free Goods
                           5           3                1                      1                1
    In this example, if you create a Sales Order for a quantity of 10, SAP will prompt you 7 as the customer order qty and 3 will be free.  Customer only pay for the 7 quantity
    Hopefully this will help to resolve the answer.
    Thanks & regards,
    Pankaj Mahajan
    Edited by: PM on Apr 13, 2010 10:28 AM

  • Tax on Free Goods (help required)

    the problem i m facing is this i configured a princing procedure and in process there is also a process of free good i used nrab and r100 but its not excluding the sales tax and its charged to customer
    i changed the procedure now the customer is charged with accurat problem but the probelm is that the the Tax is effecting the net value field as well (VBAK-NETWR) and its going to effect the standard reports any solution that the tax value also become 0 . coz the company bear the taxes for the free goods

    Hello Abaper,
    In your pricing proceedure remove the MWST condition type.
    This should solve your problem,
    Reward if helpful.
    Thanks
    Murtuza

  • Free goods help needed

    hi everyone,
    actualy i needed some help as i m configuring the free goods. Actually the scenario is that lets say have 3 materials A, B & C. we need to give B & C as free on the purchase of material A. can ne1 guide me on doing the same. in exclusive method we can give 1 different material on the other, but in this case i need to give 2 different materials... pls guide.....

    hi,
    this is to inform you that,
    Actually the scenario is that lets say have 3 materials A, B & C.
    we need to give B & C as free on the purchase of material A - apply even simpler BOM with ERLA or LUMF
    also
    balajia

  • Free goods configuration, plz help

    Pl help for this scenerio:
    1) Sales order - Material A - Qty 23
        Free Goods - Material B - Qty 3 Nos and Material C - Qty 1 No
        There is a scale also.
    2) Sales order - Material A and Material B - combined qty - 30 Nos
        Free Goods - Material C - Qty 4 Nos
        There is a scale also.
    Arshad

    Hi
    Not possible in R3 sir
    Certainly possible through bonus buy in IS RETAIL
    Constraints in R3
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    Free goods are only supported for sales orders with document category C (for example, not quotations).
    Free goods are not supported for deliveries without reference to a sales order.
    Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    This is taken SAP library
    Regards
    Raja
    Edited by: ramanathan raja on Dec 4, 2008 3:00 PM

  • Free Goods with Batch Management Activated !!!

    Hi Gurus,
    I have defined a free goods master data for material on which batch is activated. I have defined the it as with a min of 10 qty 1 free good will be delivered as exclusive item
    Now as the batch management is active and each batch has 1 qty in it. Now in order to deliver 1 free good first i have to enter 10 line item of the same material and after the 11 th line system should generate 1 free good item. But this is not happening is there any standard configuration required for this process
    Early reply will be awarded accordingly.
    Thanks in advance
    Edited by: Abaper Abaper on Jul 10, 2008 12:31 PM
    Edited by: Abaper Abaper on Jul 10, 2008 12:32 PM

    Hi Abaper,
    Free Goods Determination follows the condition technique and hence you should have one condition type assigned to it one access sequence and then maintain the condition type (NA00) in a Free Goods Determination  Procedure (NA0000).
    Then assign this procedure to your permitted sales area and maintain the free goods determination master data (VBN1).
    Also Check the settings of Item Category Assignment
    It should be ORNORMFREE+TAN -
    > TANN.
    By this settings your free goods should work.
    Reward if it helps you
    Regards
    Harsh

  • Steps for free goods, purchase order and sales order

    Hi all,
    I am just starting to learn SAP and would appreciate it anyone can guide me along with navigation/steps for the below questions:
    1) can we create free goods automatically when purchase order is generated?
    2) Can we duplicate data from the purchase order to the inputs of sales order?
    Thank you so much for your help!

    Hi Experts,
    I set Free Goods determination Inclusive Calculation Rule 1=Pro Rata and Cal Rule 2=Unit reference both are working fine.
    When trying for cal Rule 3 it gives error message "The system determined free goods with quantity 0 for item 000010
    Means for 10Ton of A product 10% means 2To are free. If I apply quantity in multiple of 10 i.e.10, 20 30 free goods are determined, delivery & billing is working well.
    But if I apply 25Ton or 38ton, it is not even giving minimum discounts say for 25ton, it should give atleast 20ton equivalent fre goods. I checked in rounding rule OB90 where my company code3000 is giving 10 2 digit for USD currency. I set like this. When I checked pricing for condition type R100 it says requirement 055 not fulfilled. However I have maintained Req 055 & BaseType 28 in pricing procedure.
    For cal rule 3 what else setting I should check.
    Early reply with detail steps shall be highly appreciated.
    Thanks

  • Return Order WIth Free Goods

    Dear friends,
    Given below is a scenarion which needs suggestion.
    Product  " X "  is billed to a customer with Free 10 + 2.
    After 2 months he returns 6 nos of the same product.
    Return Order is made with reference to earlier billing document.
    ( where the billing is done as 10 +2 )
    When I enter 6 in the Return Order , the system should take
    5 + 1 automatically .
    Is it possible ?
    If so , please send your suggestion in detail.
    With regards,
    K G Unni

    Hi,
    Your requirement is not clear
    as per my understanding plz maintain the freegods masterdata as EXCLUSIVE.
    Ex:10 + 2(same product or different)
    and maintain another freegoods Master data with another
    pricing procedure
    which is inclusive
    Ex:6 ( 5 + 1)
    then assign this free goods pricing procedure
    Sales area + Doc Pr.Proc+Cust Pri.Proc = Freegods Pricing Procedure(Assign freegoods pricing Procedure)
    here we have different document pricing procedures for both
    returns and the normal order.
    This might be help full to you
    Thanks & Regards,
    mahesh

  • Intrastat Germany Free Goods comes error "invoice value to be filled"

    Hi Gurus,
    I am running Intrastat in GTS for Germany.
    For free goods we are entering the statistical value but invoice value
    must be zero, because these are free goods.
    But GTS does not allow a Zero value as invoice value.
    What to do? Please help
    Thanks
    Dieter

    Hi,
    This may be fine for this case,  but as explained earlier the same item category is being used when you are doing the normal returns without any reference (stand alone returns).
    So how this will tackle if you remove the pricing indicator totally?  I need to complete the return order as usual but with zero pricing- only when it is referred to free goods invoice and when stand alone returns (or) when referred to F2 value invoice, in these cases the returns will be with value.
    Please get back to me with your answers.
    regards,
    Murali

  • Fields in Creation of free goods VBN1

    hi everybody,
    Can somebody expalin in detail the fields in creation of free goods(T-vbn1) like free goods quantity,additional quantity,documnet quantity and calculation rule....
    <b>Please dont copy paste anything form SAP help....I read that one......</b>
    I would appreciate if u explain with your sentence..
    Will reward point if it helps.
    Ghassan

    Hi Gafoor,
    Material
    Material, for which free goods is to be
    granted
    Minimum quantity
    Minimum quantity for which free
    goods can be granted
    From
    Quantity of sales material
    FGQ--- Quantity unit of free goods material
    Free goods -- Quantity of free goods with reference to the quantity and quantity unit of the sales material.
    AQU - Quantity unit of the free goods additional quantity
    Rule - Calculation rule
    Prorata
    whole units
    unit related
    D -- Delivery controlling -  it tells how you can manage the delivery of free goods with respect to the main item ordered.
    Additional material -  Additional material (only available for entry in exclusive free goods)
    Hope it helps. Please reward if helpful.
    Thanks & Regards
    Sadhu Kishore

  • COGS update on other GL Account at the time of Free goods or Sample goods

    Hello,
    In sales process, Usually the at the time of Delivery, material document is created as
    DR COGS
    CR INVENTORY
    But in the case of free goods or bonus goods or samples: the account should not determines COGS instead it should determine another GL Account called as Free good -COGS expense A/c.
    How can we solve the issue.
    Regards,
    SK

    Hi Yasar,
    You need to create a new routine for calculate type.
    Do as below:
    1. Go to VOFM>Formulas>calc.rule Rebate InKd to create a new routine for calculate type.  for example 601.
    2. add the following code in this routine 601 and then save.
      USING L_FRM STRUCTURE KONDN_FRM.
    DATA: VORKOMMA  LIKE KONDN-KNRMM,
           NACHKOMMA LIKE KONDN-KNRMM.
      L_FRM-NRMENGE = 0.
      L_FRM-NRRUND  = 0.
      L_FRM-NRMENGE = ( L_FRM-MGLME / L_FRM-KNRNM * L_FRM-KNRZM ).
    business rounding
        VORKOMMA = FLOOR( L_FRM-NRMENGE ).
      L_FRM-NRRUND  = L_FRM-NRMENGE - VORKOMMA.
      L_FRM-NRMENGE = VORKOMMA.
    3. Select routine 601 in field "Calc.Rule" when you create free goods condition record.
    Hope it helps.

  • Configuring requirement : ordered item to absorb cost of free goods

    Hello Friends,
    I need to configure this in SAP SD.
    The main item should accumulate the cost of the free goods.
    I have  set the cumulative indicator and deactivated pring for this item.
    Do i still need to configure the stock value for the free goods as cost free item? Or is this step only applicable for
    another scenario, like,
    If I were to activate Pricing such that free goods is displayed as subitem and VPRS configured as cost and discount set to 100%
    1. Set  Item category to TANN using FREE usage   AND
    2. use condition type RL00 with requirement 55.
    3. use pricing type B.
    regards
    Ravi

    Read this SAP help at http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fa4e545a11d1a7020000e829fd11/frameset.htm and the topic Free Goods in Sales and Distribution Processing for details.
    Also go through each step of the configuration of the path at SPRO->Sales and distribution->basic functions->free goods.
    Regards,

Maybe you are looking for

  • KT3 Ultra ARU Slow HD Transfer Rates

    Hello, First, please see my system information at the bottom of this message. I have a MSI KT3 Ultra ARU motherboard and have installed a Maxtor ATA133 60GB hard drive with 2 MB cache.  The hard drive is jumpered as Master and is connected all by its

  • HP Officejet 7500a wont print

    My name is Paul, For some reason I have two computers. One has windows 8 and it prints with my officejet 7500a everytime. But I have a laptop with windows 7 and I have reinstalled the driver like four times. It seems to print at first but later on th

  • Displaying bash-3.2$ in terminal [SOLVED]

    So, every time I start a terminal (konsole) it would display 'bash-3.2$' instead of [username@hostname~]$. And I have to do a 'source /etc/profile' every time to make it look like the latter. So, is there a way for konsole to do it automatically when

  • How many JRE versions necessary?

    Hello! Although, I did some programming 2 years ago, I recently have not done any programming at all. However, my "Java Update" program keeps downloading a new JRE every other month. So now I have plenty of JRE's: jre1.5.0_03 jre1.5.0_06 jre1.5.0_09

  • New Filed in ME5A & ME2M

    Hi i want to add a new field in ME5A i.e Number of Delayed Days values inthat filed should be Number of Delayed Days = PR Creation date - PO Creation date.... usage : User wants to know Number of Delayed Days for Generation PO...... I need a Ztode li