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

Similar Messages

  • 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

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

  • Help - MSI VGA Monitor Warning Message

    Hello Friends,
    Sorry by my English. I am a spanish user.
    I buy a Geforce 4 Ti 4200 Agp8x.
    I installed "MSI VGA Monitor Warning Message" but it give me this error message:
     Fan speed is unusual
     Now fan speed is : 1670 Rpm
     Memory voltage is unusual
     Now memory voltage is : 3.34 Volt 8b
    I have a mb "Asus tuv4x (bios 1.005beta)" with a PentiumIII 1000. I have not installed the msi drivers. I have installed the 43.45 reference nvidia drives.
    ¿What is that error? ¿the vga or the mb is bad?.
    Thanks by your help.

    Thanks by your reply.
    Yes. I loaded 4.47 Via 4in1.
    I am running "MSI 3D turbo experience". When I run this sift it open a internet explorer window with a error for a file ".ocx" and after it give the error message about speed fan et voltage.
    I read some post that say that this soft dont work well in xp. I have xp.
    Now I installed the last version of "3D turbe experience" from web of msi (2,13) and y have lowed the security for the "active x" in the security tab of tools of internet explorer.
    Now I have not the error message and the "3D turbo experience" internet explorer page load but it dont give the the speed fan.
    Thanks friend.

  • 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

  • Changing the password warning message

    The password component of our credit card statement comprises of upper case alphabets only. However, if i enter an incorrect password, it gives us a warning message that "Please make sure your caps lock is not on by mistake". This is an incorrect message for us since the password works only with the upper case in our scenario. Please help in changing this warning message while trying to open the PDF. Am also attaching the screen shot.

    This is just a general 'incorrect password' warning, with a suggestion for a very common mistake.  I don't think the checking mechanism actually checks for upper/lower case characters.

  • Display warning message

    Hi guys,
    I need some help with the "displaying warning message" in labview 2010 SP1 base development system. My requirement is, I would like to display a warning message (text alert) when the RPM of the pump falls below 10000 rpm. In this case I am measuring the current, voltage and rpm of a pump. Please let me know how I can get this done. I have attached the main vi and the 2 sub-vi for reference. Also let me know how I can set sound alerts in addition to text alerts when the pump RPM falls below 10000 rpm. Thanks for your help.
    Raj
    Attachments:
    Current_Voltage_RPM-_continuous_sampling_count iterations.vi ‏116 KB
    Current_Voltage_RPM-_sub_VI-1.vi ‏18 KB
    Current_Voltage_RPM-_sub_VI-2.vi ‏17 KB

    Hi Rajesh,
      If you want to display a warning text alert ,then you can just create a text on front panel and using VI properties ,can make it as a text alert.For sound alert use sound functions .Please have a look at the attached vi.Run this vi and  click visible button ,you can find an alert text with some sound.Modify your logic accordingly.
    Regards,
    SrikrishnaNF
    Attachments:
    CheckThisVi.vi ‏18 KB

  • Warning message for customers past due on payment

    Hi experts,
    I need help to create a warning message (or popup alert) on the delivery for customers that are past due on their payment.  Please advise.
    Thanks,
    Jane

    Hi Jane,
    For all pop-up message, you need SDK. There is no simple solution for that.
    If you just need an alert, you can create user alert to be send in a scheduled time.
    Thanks,
    Gordon

  • HT2292 I am using win vista and have installed itunes for my ipod shuffle four years back. now I have purchased iphone 4, and trying to reinstall itunes after uninstalling my earlier itunes i always get a message that error in installation. kindly help

    I am using win vista and have installed itunes for my ipod shuffle four years back. now I have purchased iphone 4, and trying to reinstall itunes after uninstalling my earlier itunes i always get a message that error in installation. kindly help

    You might find this article helpful: http://support.apple.com/kb/TS3694
    It has the error range of 3000's which states
    Errors 3000-3999 (3002, 3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the gs.apple.com server on ports 80 or 443. This may be because out-of-date or incorrectly configured security or firewall software is interfering, an old version of iTunes is installed, an entry in your hosts file redirecting requests to gs.apple.com (see error 1004 above), or because of your Internet proxy settings. If you are using a proxy, try without using one or with a known-good network. If that does not resolve the issue, follow iTunes for Windows: Troubleshooting security software issues. Error 3014 may indicate that you need to free up more disk space on the computer before trying to restore again. Error 3194 most likely indicates you do not have the latest version of iTunes installed Update to the latest version of iTunes. 

  • Convert V1-681 message from information to error (free goods)

    Dear SD Gurus
    We want to give free goods 1 for every 10 sets.  The free goods fuctionality is configured and is working fine.
    But the free goods quantity in sales order is open for change. Some user may misuse this functionality. How to control the users from modifying the quantity of free goods.
    Secondly, if we change the quantity of free goods in sales order to the original sales quantity system generates an information message "V1-681", can we change this to error message ??
    kindly help.

    "V1-681", can we change this to error message ??
    Yes you can with the help of ABAPer but strictly it is not  recommended to change the standard.   Rather I would prefer to control your requirement through any of the following sale order exit
    a)  User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT  or
    b)  User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT
    thanks
    G. Lakshmipathi

  • Warning Message - Tracknumber of CEvLaunch too high! Help?

    Hi there
    I am attempting to import a midi file I found online into GarageBand 09 but I get the following pop up
    *Beta-only warning message - not to be localized:*
    *Tracknumber of CEvLaunch too high!*
    I'm not really too sure what this means? Does it maybe mean the volume is too high? Or there are too many tracks for Garageband to cope with?
    When I click OK a few times on the pop up it then pops up
    *Launch Event without associated track found!*
    *Changed to track 1.*
    I then have only 3 tracks for this song when I know there are many more.
    I want to be able to hear and use all of the tracks form this midi file in GarageBand 09.
    FYI when I play the midi file with Quicktime 7 it sounds fine, with all the tracks being audible.
    Can anyone help?
    Thanks!

    I have a way around this message popping up (but would still like to know why this error appears).
    I downloaded this free program
    *Midi File Editor 2.01*
    Available here
    http://mac.softpedia.com/progDownload/Midi-File-Editor-Download-71782.html
    Opened the file, and then saved it as a new name.
    Imported it to GarageBand and it worked with no errors (although the instruments are way off)
    Its a very old feeling program Midi File Editor 2.01, but hey, it worked!
    Yay!

  • My cs4 mail list sign up has stopped functioning.  Need help to correct "warning" messages

    Don't know what's happening, but I do have a screen shot of the warning messages:
    I'm not code conversant enough to figure this one out.  Help!

    Here ya go:
    <?php require_once('Connections/innerchoice_books.php'); ?>
    <?php require_once('Connections/innerchoice_books.php'); ?>
    <?php require_once('Connections/innerchoice_books.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO email_list (ml_fname, ml_lname, ml_email, ml_job, ml_state) VALUES (%s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['ml_fname'], "text"),
                           GetSQLValueString($_POST['ml_lname'], "text"),
                           GetSQLValueString($_POST['ml_email'], "text"),
                           GetSQLValueString($_POST['ml_job'], "text"),
                           GetSQLValueString($_POST['ml_state'], "text"));
      mysql_select_db($database_innerchoice_books, $innerchoice_books);
      $Result1 = mysql_query($insertSQL, $innerchoice_books) or die(mysql_error());
    mysql_select_db($database_innerchoice_books, $innerchoice_books);
    $query_rsSubscribers = "SELECT * FROM email_list";
    $rsSubscribers = mysql_query($query_rsSubscribers, $innerchoice_books) or die(mysql_error());
    $row_rsSubscribers = mysql_fetch_assoc($rsSubscribers);
    $totalRows_rsSubscribers = mysql_num_rows($rsSubscribers);
    mysql_select_db($database_innerchoice_books, $innerchoice_books);
    $query_rsStates = "SELECT * FROM states ORDER BY state_id ASC";
    $rsStates = mysql_query($query_rsStates, $innerchoice_books) or die(mysql_error());
    $row_rsStates = mysql_fetch_assoc($rsStates);
    $totalRows_rsStates = mysql_num_rows($rsStates);
    mysql_select_db($database_innerchoice_books, $innerchoice_books);
    $query_rsJobs = "SELECT * FROM jobs ORDER BY job_id ASC";
    $rsJobs = mysql_query($query_rsJobs, $innerchoice_books) or die(mysql_error());
    $row_rsJobs = mysql_fetch_assoc($rsJobs);
    $totalRows_rsJobs = mysql_num_rows($rsJobs);
    ?>
    <?php require_once("webassist/email/mail_php.php"); ?>
    <?php require_once("webassist/email/mailformatting_php.php"); ?>
    <?php
    if (!isset($_SESSION))session_start();
    if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)))     {
      //WA Universal Email object="mail"
      set_time_limit(0);
      $EmailRef = "waue_mailList_signup_2";
      $BurstSize = 0;
      $BurstTime = 0;
      $WaitTime = 0;
      $GoToPage = "mailList_signup_thanks.php";
      $RecipArray = array();
      $StartBurst = time();
      $LoopCount = 0;
      $TotalEmails = 0;
      $RecipIndex = 0;
      // build up recipients array
      $CurIndex = sizeof($RecipArray);
      $RecipArray[$CurIndex] = array();
      $RecipArray[$CurIndex ][] = "".((isset($_POST["ml_email"]))?$_POST["ml_email"]:"")  ."";
      $TotalEmails += sizeof($RecipArray[$CurIndex]);
      $RealWait = ($WaitTime<0.25)?0.25:($WaitTime+0.1);
      $TimeTracker = Array();
      $TotalBursts = floor($TotalEmails/$BurstSize);
      $AfterBursts = $TotalEmails % $BurstSize;
      $TimeRemaining = ($TotalBursts * $BurstTime) + ($AfterBursts*$RealWait);
      if ($TimeRemaining < ($TotalEmails*$RealWait) )  {
        $TimeRemaining = $TotalEmails*$RealWait;
      $_SESSION[$EmailRef."_Total"] = $TotalEmails;
      $_SESSION[$EmailRef."_Index"] = 0;
      $_SESSION[$EmailRef."_Remaining"] = $TimeRemaining;
      while ($RecipIndex < sizeof($RecipArray))  {
        $EnteredValue = is_string($RecipArray[$RecipIndex][0]);
        $CurIndex = 0;
        while (($EnteredValue && $CurIndex < sizeof($RecipArray[$RecipIndex])) || (!$EnteredValue && $RecipArray[$RecipIndex][0])) {
          $starttime = microtime_float();
          if ($EnteredValue)  {
            $RecipientEmail = $RecipArray[$RecipIndex][$CurIndex];
          }  else  {
            $RecipientEmail = $RecipArray[$RecipIndex][0][$RecipArray[$RecipIndex][2]];
          $EmailsRemaining = ($TotalEmails- $LoopCount);
          $BurstsRemaining = ceil(($EmailsRemaining-$AfterBursts)/$BurstSize);
          $IntoBurst = ($EmailsRemaining-$AfterBursts) % $BurstSize;
          if ($AfterBursts<$EmailsRemaining) $IntoBurst = 0;
          $TimeRemaining = ($BurstsRemaining * $BurstTime * 60) + ((($AfterBursts<$EmailsRemaining)?$AfterBursts:$EmailsRemaining)*$RealWait) - (($AfterBursts>$EmailsRemaining)?0:($IntoBurst*$RealWait));
          if ($TimeRemaining < ($EmailsRemaining*$RealWait) )  {
            $TimeRemaining = $EmailsRemaining*$RealWait;
          $CurIndex ++;
          $LoopCount ++;
          session_commit();
          session_start();
          $_SESSION[$EmailRef."_Index"] = $LoopCount;
          $_SESSION[$EmailRef."_Remaining"] = round($TimeRemaining);
          session_commit();
          wa_sleep($WaitTime);
          include("webassist/email/waue_mailList_signup_2.php");
          $endtime = microtime_float();
          $TimeTracker[] =$endtime - $starttime;
          $RealWait = array_sum($TimeTracker)/sizeof($TimeTracker);
          if ($LoopCount % $BurstSize == 0)  {
            $TimePassed = (time() - $StartBurst);
            if ($TimePassed < ($BurstTime*60))  {
              $WaitBurst = ($BurstTime*60) -$TimePassed;
              wa_sleep($WaitBurst);
            else  {
              $TimeRemaining = ($TotalEmails- $LoopCount)*$RealWait;
            $StartBurst = time();
          if (!$EnteredValue)  {
            $RecipArray[$RecipIndex][0] =  mysql_fetch_assoc($RecipArray[$RecipIndex][1]);
        $RecipIndex ++;
      $_SESSION[$EmailRef."_Total"] = 0;
      $_SESSION[$EmailRef."_Index"] = 0;
      $_SESSION[$EmailRef."_Remaining"] = 0;
      session_commit();
      session_start();
      if ($GoToPage!="")     {
        header("Location: ".$GoToPage);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Join the Innerchoice Network</title>
    <link href="assets/Main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    #apDiv2 {
        position:absolute;
        left:1033px;
        top:965px;
        width:63px;
        height:322px;
        z-index:1;
    -->
    </style>
    <style type="text/css">
    <!--
    a:link {
        color: #060;
        text-decoration: underline;
    a:visited {
        text-decoration: underline;
        color: #006900;
    a:hover {
        text-decoration: none;
        color: #C60;
    a:active {
        text-decoration: underline;
        color: #DC6100;
    #apDiv1 {
        position:absolute;
        left:790px;
        top:506px;
        width:80px;
        height:80px;
        z-index:1;
    #apDiv3 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
    #apDiv4 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
    #featuredCover {
        position:absolute;
        width:136px;
        height:174px;
        z-index:1;
        left: 20px;
        overflow: hidden;
    -->
    </style>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="specials">
      <p>Sign up for the FREE Monday Morning Sharing Circle and More!</p>
    </div>
    <div id="wrapper">
      <div id="header">
        <h1>INNERCHOICE Publishing</h1>
        <h2>Bringing Emotional Intelligence to Life!</h2>
        <!--begin main-nav element-->
        <div>
        <ul>
        <li id="home"><a href="index.html"></a></li>
        <li id="books"><a href="books.php" class="visited"></a></li>
        <li id="training"><a href="circleWorkshops.html"></a></li>
        <li id="resources"><a href="resources.html"></a></li></ul></div>
        <!--begn sub-nave element-->
    <div id="subNav">
             <form method="GET" action="/remsearch.cgi">
                <img src="assets/images/homePage/cart.png" alt="cart.gif" width="25" height="15" style="margin-bottom:-2px;">
                <a href="cart.php">CART</a> | 
                <a href="contactHelp.html">CONTACT US</a> | 
                <a href="contactHelp.html#help">HELP</a> | 
                <a href="aboutUs.html">ABOUT INNERCHOICE</a>  
              </form>
        </div>
        <div id="kids"><img src="assets/images/kids-sans-text.png" width="300" height="442" alt="Happy Kids" />
    </div>
    </div>
      <div id="selResources">
            <p><img src="assets/images/homePage/SELresources.png" width="691" height="66" alt="SEL Resources" /></p>
      </div>
      <div id="mainContent">
        <div id="mailList">
          <h1>Become part of the Sharing Circle Community. Join in the fun!</h1>
          <h2>Sign up now to start enjoying the <span class="free"><br />
          FREE</span> Monday Morning Sharing Circle</h2>
          <p class="introText">As our site  grows,you'll find more and more great resources to support your Social and Emotional Learning efforts. Right now, enjoy a weekly treat as we send  the <a href="circleMonday.html">Monday Morning Sharing Circle Topic</a> your way. This is a sample of the <a href="circleCentral.html">EQ Super Strategy</a> that you can use to bring another dimension to your SEL work with students. Here's this week's<a href="circleMonday.html"> Sharing Circle</a>.</p>
          <p class="introText"><strong>*</strong>Required fields</p>
          <form id="form1" name="form1" method="POST" action=<?php echo $editFormAction; ?>>
            <table width="99%" border="0">
              <tr>
                <td width="606" height="22" valign="bottom" nowrap="nowrap">Email Address: *</td>
              </tr>
              <tr>
                <td align="left" nowrap="nowrap"><span id="spryEmail">
                <label>
                  <input name="ml_email" type="text" id="ml_email" size="60" />
                </label>
                <span class="textfieldRequiredMsg">An email address is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td height="22" valign="bottom" nowrap="nowrap">First Name: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryFirstname">
                  <label>
                    <input name="ml_fname" type="text" id="ml_fname" size="60" />
                  </label>
                <span class="textfieldRequiredMsg">Your first name is required.</span></span></td>
              </tr>
              <tr>
                <td height="22" valign="bottom" nowrap="nowrap">Last Name: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryLastname">
                  <label>
                    <input name="ml_lname" type="text" id="ml_lname" size="60" />
                  </label>
                <span class="textfieldRequiredMsg">Your last name is required.</span></span></td>
              </tr>
              <tr>
                <td height="45"><p>To guide us in giving you the most useful resource please tell us a little more about your role in education and where you are located.</p></td>
              </tr>
              <tr>
                <td height="22" valign="bottom">Please select a category from the following: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryRole">
                  <label>
                    <select name="ml_job" id="ml_job">
                      <?php
    do { 
    ?>
                      <option value="<?php echo $row_rsJobs['job_id']?>"><?php echo $row_rsJobs['job_title']?></option>
                      <?php
    } while ($row_rsJobs = mysql_fetch_assoc($rsJobs));
      $rows = mysql_num_rows($rsJobs);
      if($rows > 0) {
          mysql_data_seek($rsJobs, 0);
          $row_rsJobs = mysql_fetch_assoc($rsJobs);
    ?>
                    </select>
                    <span class="selectRequiredMsg">Please select your role.</span><br />
                  </label>
                </span></td>
              </tr>
              <tr>
                <td height="22" valign="bottom">Please tell us the state in which you work: *</td>
              </tr>
              <tr>
                <td nowrap="nowrap"><span id="spryState">
                    <label>
                    <select name="ml_state" id="ml_state">
                      <option value="AA">select...</option>
                      <?php
    do { 
    ?>
                      <option value="<?php echo $row_rsStates['state_id']?>"><?php echo $row_rsStates['state_name']?></option>
                      <?php
    } while ($row_rsStates = mysql_fetch_assoc($rsStates));
      $rows = mysql_num_rows($rsStates);
      if($rows > 0) {
          mysql_data_seek($rsStates, 0);
          $row_rsStates = mysql_fetch_assoc($rsStates);
    ?>
                    </select>
                    <span class="selectRequiredMsg">Please select your state.</span><br />
                    </label>
                </span></td>
                </tr>
              <tr>
                <td height="40" valign="bottom"><label>
                  <input type="submit" name="submit" id="submit" value="Sign me up!" />
                You'll receive an acknowledgment email from Innerchoice shortly.</label></td>
              </tr>
            </table>
            <input type="hidden" name="MM_insert" value="form1" />
          </form>
          <p class="introText">In the coming weeks you'll find other exciting things to enhance your SEL experience. These will include articles and insights about making the most of Social and Emotional Learning, and right away, our new monthly newsletter with even more ideas and interesting, engaging, and fun things to do with your students. You probably get that we're inventing this along the way. So we hope to hear your ideas for broadening the impact of our site and its impact on SEL.  </p>
        </div>
      </div>
    <div id="mlQuote">
      <p>Over the years, Sharing Circles have been one of the best counseling interventions.  They are powerful tools for creating social and emotional learning.</p>
      <p> </p>
    </div>
    <div id="mlUpdate">
      <h5>Current Subscribers—</h5>
      <h5><a href="mailList_updateTrigger.php">Update your information</a></h5>
      <p><em>(Keep Your Email address current)</em></p>
      <h5><a href="mailList_deleteTrigger.php">Unsubscribe</a></h5>
    </div>
      <p> </p>
      <p> </p>
      <div id="events"><a href="icEvents.html"><img src="assets/images/homePage/training_button.png" width="460" height="99" /></a></div>
      <div id="bookBrowse"><a href="titleBrowse.php"></a></div>
      <!--begin for footer content-->
      <div id="footer">
        <div class="left">
          <h5>About Innerchoice</h5>
          <div class="footer-links"> <a href="index.html">Home</a>  |  <a href="aboutUs.html">Mission</a>  |  <a href="aboutUs.html#ourStory">History</a> |  <a href="aboutUs.html#ourCommitment">Commitment to You</a></div>
          <h5>Resources for</h5>
          <div class="footer-links"> <a href="contactHelp.html#writersAuthors">Writers and Authors</a>  |  <a href="resources.html">Those Who Educate</a></div>
        </div>
        <div class="right">
          <div class="icLinks">
            <p><a href="mailto:[email protected]">Send Us Your Ideas</a><a href=""></a></p>
            <p><a href="contactHelp.html">Contact Us</a>  |  <a href="contactHelp.html#help">Help</a>  |  <a href="privacyPolicy.html">Privacy Policy</a>  |  <a href="siteMap.html">Site Map</a>  |  <a href="contactHelp.html#internationalRights">International Rights</a></p>
          </div>
          <div class="copyright"> <a href="aboutUs.html#ourCopyright">Copyright &#169; 2010</a> by <a href="index.html">Innerchoice Publishing, Inc.</a> All rights reserved. </div>
        </div> 
            <hr class="clearing"/>
    </div>
    </div>
    <script type="text/javascript">
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField("spryEmail", "email", {validateOn:["change"]});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("spryFirstname", "none", {validateOn:["change"]});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("spryLastname", "none", {validateOn:["change"]});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryRole", {validateOn:["change"]});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryState", {validateOn:["change"]});
    //-->
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rsSubscribers);
    mysql_free_result($rsStates);
    mysql_free_result($rsJobs);
    ?>

  • Supress warning message in Query Analyzer after free characteristic removed

    Hi
    I have a query and several workbooks looking to the same query.
    When I remove a free characteristic from the query (not the cube) I am presented with a warning message when opening Analyzer indicating that the removed field is no longer available on the report.
    Is there any way to supress these warning messages?  I am aware of the option Settings > Supress warnings from server but I would not want to ask every people to do this in the company.  Is there a way I can supress the warning from the query?
    We are running 3.x for this particular query and report.
    Thanks

    Hi,
    In RSRT, you have an option for the suppressing the messages.
    Have a look on the below link -
    http://wiki.sdn.sap.com/wiki/display/BI/SuppressquerymessagesusingRSRT
    Regards,
    Geeta

  • Since uninstalling / reinstalling iTunes I am not able to sync iPhotos with my Apple TV with the following warning message stating that this is due to a 'problem on your computer. The disk could not be read from or written to'. Please help!

    Since uninstalling / reinstalling iTunes I am not able to sync iPhotos with my Apple TV with the following warning message stating that this is due to a 'problem on your computer. The disk could not be read from or written to'. Please help!

    Welcome to Apple Discussions!
    Is all the software on your computer up to date?
    iTunes
    iPod Updater
    Also, try The Five R's
    btabz

Maybe you are looking for