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

Similar Messages

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

  • 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

  • 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

  • Free Goods with pricing condition (Urgent)

    Hi MM Expert,
    we have a probleme with free goods. because in PO item of free goods, there is no condition management (no Invoice entry) but we should manage some pricing condition for the item (spécifique condition relative to transport, ...).
    so are the any way of managing the expenses annex condition(transport charge, customs clearance charges,…) for the free goods in an item of Purchase Order ??
    thank's in advance.
    Said

    Hi,
    This is not possible to maintain the condition s for free goods because while creating the PO for free goods by selecting the free goods tad at item level, There is no Condition tab at Item detail .means you are not able to mainatin conditions.
    If you want to maintain the conditions ,you have to treat as a Normal scenarios .
    Regards
    Sanjay L

  • Issue in free goods(inclusive method),urgent

    i have raised sales order for free goods inclusive method.for 11items (10+1).but system showing price for tann item also.it should not show free of chrge item(tann),pls help me out on this.
    regards
    prasad

    hello, friend.
    just a clarification... did you enter quantity in the sales order as 10 or 11?  if 10, then your situation is exclusive and not inclusive;  your free good also appears with item category TANN as a separate line item.
    if you entered 11, the sales order shows only 1 line item and the pricing is calculated as 10 units, then this is inclusive.  entering an order quantity 11, with the result of 10 units with item category TAN and 1 with item category TANN is also inclusive.
    for item category TANN, whether or not price is displayed have the same result, and that is your customer is not charged for this item.
    in the inclusive Free Goods condition record, you can execute VBN2 to change the settings.  once inside the record, select your item and go to the column 'FG';  here you choose '1' (with item generation) or '3' (without item generation).
    i hope this helped you.
    regards.
    Edited by: jonathan yap on Mar 8, 2008 10:14 PM

  • Urgent need for Free Goods configuration

    Hi,
         i need a document which have steps to configure free goods.
    i created a condition record using VBN3 using condition NA00 but free goods doesn't come.
    Requirement is
    Customer buys 10 items whose item catg is TAN and 1 item is free.  so cust pays only for 9 items.
    free good is not coming as sub item. i got stuck. please help .
    anybody plz send document which have steps to configure.
    my email id is [email protected]
    Thanks
    Afsar

    Free Goods Determination in Sales Order
    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: ‘With material 1, material 2 and material 3 are free of charge‘ or ‘If material 1 and material 2 are ordered at the same time, then material 3 is free of charge‘.
    - 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.
    4.6x
    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.
    Free goods –
    Free goods play a large role in price negotiations with your customers. As a result, free goods are determined to be placed in sales document automatically. In retail, chemical industry or consumer goods industry, it is common to provide discounts in the form of free goods.
    Inclusive Bonus Quantities – Free goods can be part of order quantity not included in the invoice (billing). This is called inclusive bonus quantity. The ordered goods and the free goods both involve the same material. The quantity units of the free goods and the ordered goods must be the same.
    Exclusive Bonus Quantities – Free goods that take the form of extra goods that are free of charge are called exclusive bonus quantities. In this case, the extra bonus quantities are not typically included in the invoice (billing). This can either be an additional quantity of the goods ordered or it can be another article. The exclusive free of goods appear in the SD document as an individual ‘free of charge’ item.
    Both types of free goods are treated in the same way in the sales order. The material that has been ordered is entered as a main item (TAN) and the free item (TANN) is automatically displayed as a sub item. The item category determines how the item is controlled later in the business process.
    The system re-reads the free goods master record in the sales order if the quantities in the main item change or if the pricing date changes. The system then deletes the sub items and re-creates them. Any manual changes to the free goods quantity are lost.
    Note: If pricing is re-run in the sales order, it does not affect the free goods determination.
    The condition technique is used for free goods. Free goods are generally regarded as a supplement to the pricing agreement for a material. You can define master records for free goods at any level such as material, customer/material, price list category/currency/material or customer hierarchy/material. The transaction code is VBN1 and condition type – NA00 which automatically gets converted into R100 during sales document processing.
    You can restrict a free goods condition master record for one level in many ways –
    a. Validity period: the condition is only valid within this period
    b. Lowest quantity: the condition comes into affect when this quantity has been exceeded.
    c. Delivery control:
    d. Calculation type:
    e. Scales
    You can process different master data with the same key for inclusive and exclusive bonus quantities at the same time. You only need to press a button to switch between two types of discount. When you enter an exclusive bonus quantity, an extra entry line appears where you can enter the free material if it is not the same as the ordered material.
    When you specify a calculation rule, you decide how the system determines the free goods quantity in the sales order from the additional and document quantities.
    a. The free goods quantity is the quantity that is calculated from the discount quantity (not the minimum quantity)
    b. Additional quantity is the quantity delivered free of charge
    c. Document quantity is the quantity entered by the person creating the sales order.
    Three calculation rules are provided by the system i.e.
    Prorated – the system calculates the free goods in right proportion to document the quantity. For example – if 20 units are offered for free for 100 units in the condition record and the customer orders 162 units, then the system calculates 162 * 20/100 (rounded off) as free goods.
    Related to units – 20 units are given for free for every 100 units ordered. In the above case the customer would only get 20 units free as he placed an order for 162 units.
    Whole units – the customer would not get any free goods if he doesn’t match the exact quantity proposed. That is, in the above case, the customer doesn’t get any free goods as the ordered quantity did not match 100 units. Anything below or over the mark will not be qualified for a free good.
    Calculation rules are stored in the system in the form of ABAP/4 code. You can also define your own rules by using transaction code VOFM (system modifications).
    The free goods determination procedure contains a list of condition types for the free goods. One access sequence is assigned to each condition type and each access sequence contains one ore more accesses and each access contains exactly one table. This represents the search key that the system uses to search for valid condition records.
    The free goods determination procedure is assigned to sales area + document pricing procedure + customer pricing procedure just as in the case of pricing procedure assignment as free goods are generally regarded as a supplement to the pricing agreement for a material.
    If the search is successful, the system generates a sub item for free goods in the document. The item category is assigned with the item category usage FREE.
    You can activate an analysis of the free goods determination in the sales document. The system then displays detailed information on how the free goods were determined.
    Reward points if useful
    Message was edited by:
            SHESAGIRI GEDILA

  • Free goods urgent

    Hi,
       In freegoods i have created a new table  Plant /Material and assigned  it to the access sequence .all other settings are done properly. but  when i maintan condition records  using the above table iam not getting the freegoods result in sales order.and if i maintain on customer /material table freegoods is working.(note in sales order plant is entered manually)?

    Hi Rohit,
    Goto XD02 and specify plant in Sales Area Data in Shipping tab
    Goto MM02 and Specify Delivering Plant in Sales org 1 view.
    now raise a Sales Order and let me know whether you are able to see Free Goods.
    Revert back if you have any doubts.
    Reward if helpful
    Regards
    PAVAN.

  • Free Goods - Urgent Plz

    Hi Gurus,
    My client has following requirements:
    Scenario 1 : Client maintains material groups
    Eg: material group A  consists of mat 1 , mat 2 , mat 3 
    Material Group B : mat 4 , mat 5
    When he enter sum of  equal or unequal quantity of materials ( mat 1, mat2,mat3) of material group A , 1 free material from material group A or Material Group B should be given free to the customer.
    Request you to kindly assist me on the above requirement.
    Thanks,
    Sudhesh

    Hi Gurus,
    My client has following requirements:
    Scenario 1 : Client maintains material groups
    Eg: Say material group A contains mat 1 , mat 2 , mat 3
    Material Group B : mat 4 , mat 5
    When an order is raised from material group A , sum of quantity of materials say MAT1 + MAT 2 equals to certain quantity (MAT1 = 3 no's , MAT 2 = 2 NO'S) so total being 5 then free goods should be processed from either MATERIAL GROUP A OR can be from other Material Group B ,it can be either Mat3 from material group A or Mat 5 from Material Group B
    Request you to kindly assist me on the above requirement.
    Thanks,
    Satish

  • Condtion table name of (VBN1 transaction ) free goods SD

    Hi all
    can any one tell me the condtion table name for <b>transaction VBN1</b> for <b>free goods SD</b>.its very urgent.
    Best Regards
    Bunty.

    hi bunty.,
    check this tables
    KONDN : Conditions: Free goods - Data section
    KONDNS : Conditions: Free goods determination - scales
    KONDNVB : Free goods determination - Posting structure
    N000  : Condition table for free goods determination
    TVAK  : Sales Document types
    <b><i>Reward points if useful</i></b>
    Chandra
    Message was edited by:
            Chandra

  • 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,

  • Why self-defined access sequences of free goods can not work?

    Hi gurus,
    I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
    when i used the standard access sequences ,it is OK .
    Can anybody tell me why?
    thanks in advance

    Dear Sandy,
    Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
    Make sure that these fields are flowing in your sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Posting the Expenses of Free Goods

    All SD Gurus
    I have some doubt in SD-Module.
    We have Trading Business, in that the Trade offers ie 100+10 Like that.... is presently posting in VPRS - Cogs (During PGI) only. But finance wants to post the values of trade offers (10 pcs) to Marketting expenses (During Bill Release to Finance), Presently during Bill release these trade offers are not considered for pricing.
    According to my Current setting Free Goods Item Category is marked as Statistically. So it not posting my PR00 Conditions in Accounts.
    Any help on this subject will be highly appriciated.
    Thanks in Advance
    Regards
    Vishal

    Thanks, I have maintained all setting for Free goods. System is not posting any values @ time of Invoice in accounts as my free goods Item category is statistical. If I remove this setting then I have to maintain the PR00 - Base Condition (Mandaotry) which will post amount in Sales Domestic G/L Account.
    Any alternative solution?
    Regards
    Vishal

Maybe you are looking for