Pricing reference material in BAPI_SLSTRANSACT_CREATEMULTI

Hi,
When creating sales order using the BAPI BAPI_SLSTRANSACT_CREATEMULTI I am filling the pricing reference material(PRICE_PRODUCT_ID) and batch id 'BATCH_ID' as follows in the required table.
  WA_INPUT_FIELDS-REF_GUID = V_GUID_I.
  WA_INPUT_FIELDS-OBJECTNAME = 'PRODUCT_I'.
  WA_INPUT_FIELDS-REF_KIND  = 'B'.
  WA_INPUT_FIELDS-FIELDNAME = 'PRICE_PRODUCT_ID'.
  APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS.
  WA_INPUT_FIELDS-REF_GUID = V_GUID_I.
  WA_INPUT_FIELDS-OBJECTNAME = 'PRODUCT_I'.
  WA_INPUT_FIELDS-REF_KIND  = 'B'.
  WA_INPUT_FIELDS-FIELDNAME = 'BATCH_ID'.
  APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS.
  WA_PRODUCT-REF_GUID = V_GUID_I.
  WA_PRODUCT-PRICE_PRODUCT_ID  =
'0000000000000000000000000000000000013623'.
WA_PRODUCT-batch_id = '060630-EN1'.
  APPEND WA_PRODUCT TO IT_PRODUCT.
But the fileds are not getting updated.Can anyone please let me know what detail am I missing out.
Thanks,
Chamu

Hi Chamu,
You are missing the process_qty_unit in the IT_PRODUCT table. You can find the values for this from the table T006. Also, fill the input fields for the same.
Here is the modified code :
WA_INPUT_FIELDS-REF_GUID = V_GUID_I.
WA_INPUT_FIELDS-OBJECTNAME = 'PRODUCT_I'.
WA_INPUT_FIELDS-REF_KIND = 'B'.
WA_INPUT_FIELDS-FIELDNAME = 'PRICE_PRODUCT_ID'.
APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS.
WA_INPUT_FIELDS-REF_GUID = V_GUID_I.
WA_INPUT_FIELDS-OBJECTNAME = 'PRODUCT_I'.
WA_INPUT_FIELDS-REF_KIND = 'B'.
WA_INPUT_FIELDS-FIELDNAME = 'BATCH_ID'.
APPEND WA_INPUT_FIELDS TO IT_INPUT_FIELDS.
WA_PRODUCT-REF_GUID = V_GUID_I.
<b>wa_product-process_qty_unit = 'Your product unit'.</b>
WA_PRODUCT-PRICE_PRODUCT_ID =
'0000000000000000000000000000000000013623'.
WA_PRODUCT-batch_id = '060630-EN1'.
APPEND WA_PRODUCT TO IT_PRODUCT.
<b>Reward points if it helps.</b>
Regards,
Amit Mishra
Message was edited by: Amit Mishra

Similar Messages

  • Link between COMM_PRODUCT table and Pricing Reference Material

    Hello
      In CRM we have in transaction COMMPR01 the material, and in the Sales and Distribution tab, the field Pricing Ref. Prod. fille with a reference material. We are looking in the tables for this link, but have not found it. We have table CRMM_PRODUCT for the 1st material, and have looked in others, such as CRMV_PROD_SALESG, CRMM_PR_SALESA, but have been unable so far to find the link. Any answers on this?
    Thanks,
      George

    Hello George,
    Check PRICE_PRODUCT field of table CRMM_PR_SALESA .
    Also you can refer to table CRMM_PR_SALESG.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Pricing Refrence Material

    Hello All
    In a particular Order no, the system has taken wrong Pricing reference material . It has not taken the ref material which is maintained in material master. As a result, system picks up the wrong pricing .
    Can anybody guide me what can be the reason.

    The Pricing ref material maintained in the material master is brought into the sales order and pricing for that material is calculated in the order.
    Check if any changes were carried in the order to change the price rer material or if there any user exits activated for this purpose. or check to see if the order is created with reference to some other order.
    if you see every thing is correct and still the pricing ref material is wrong.
    Then create a new sales order with the material and see if this is still picking the wrong material. then you can take the help of an abaper and debug during order creation to see from where its picking up the data.

  • Authorization Check For Pricing Reference Materail In VA01 & VA02

    Hi Expert, 
    User has requested to do authorization check for pricing reference material in line item in VA01/VA02. currently SAP does not has any authorization check for pricing reference material field at line item in VA01/VA02.  Is there any standard authorization object for this purpose or needs to use user exit to do this checking ie if the pricing reference material entered does not belong to the sales org as entered in sales header data then system will issue warning/error message.  What will be the standard user exit routine if there is no standard authorization object for this purpose ?
    Thanks.
    Regards,
    Tay
    Edited by: Hung How Tay on May 13, 2010 2:48 AM

    Hi,
    Try below in MV45AFZB
    USEREXIT_SOURCE_DETERMINATION
    Best regards,
    Anupa

  • How to add attribute Pricing ref material (PMATN) to 0MAT_SALES in BW

    Hi there
    I need to create reports with the use of pricing ref. material (PMATN) showing the material numbers where PMATN has been used.It will have to be an attribute to infoobject 0MAT_SALES. It is not available in BW, but in table MVKE in R3. How do I do a handover to BW? And can anyone give an idea of what infoprovider should be used so I can load data and create reports with the best performance?
    Cheers,
    Marit

    BAPI_SALESORDER_CREATEFROMDAT1
    "(obsolete from 4.6 version)
    BAPI_SALESORDER_CREATEFROMDAT2
    please see the version  and change the BAPI
    reward  points if it is usefull ....
    Girish

  • Reference material/book on BPS

    I have experience in BW but I am new to BPS and BI Integrated Planning. Is there any good material or book that I can use as a starting point to learn this subject.
    Thank you in advance for any guidance you can provide.
    Vignesh

    I  want to know if any of you have <u>read the planning book</u>. I feel I can get a quick jump-start on BI planning if they are technical and well explained.
    BPS: Business Planning with SAP SEM; Roland Fischer; SAP Press; ISBN 1-59229-033-7
    IP: SAP Netweaver BI Integrated Planning for Finance; SAP Press; ISBN 978-1-59229-129-8 (new)
    I can then use the reference material in SAP as an additional aid in the learning process.
    1. Do you know if the book provide step-by-step instructions in configuration?
    2. Are they easy to understand?
    3. Are they theoretical or practical?
    I am particularly interested in the book BI Integrated planning for finance as it is the new option for planning.
    Appreciate your feedback.
    Regards,
    Vignesh

  • Create material from reference material for all org.levels

    Hi,
    i want to create a material from a reference material with all MARA, MAKT, MARC, MBEW, MARD, MARM, MVKE, MLAN, MLGN and MLGT content for all organizational levels of the reference material.
    For instance, my reference material has 200 MARC entries. All these entries should also be created for the new material.
    Transaction MM01 will copy from reference but only for 1 organizational level. To create 200 plants manually with MM01 is not an option.
    I have to develop a copy from reference transaction, where i select the new material number, the reference material number and the required tables (MARA, MAKT, etc)
    I can read the current tablevalues and insert new entries into the required SAP standard tables, but that is not nice.
    Is there another option to do the job ?
    I know there are bapi's, but these are related to one org.level. For 200 plants, i have to execute 200 bapi to get the data from the reference material and another 200 bapi's to create the new material.
    with kind regards,
    Hans

    Hi Goutam,
    You can use the BAPI BAPI_MATERIAL_SAVEDATA, which will create/update the material. You can pass the reference material in the filed BAPI_MARA-PL_REF_MAT. And you can pass reference material for all view like this.

  • Create material using reference material

    Hi All,
    I need to create a material using a reference material. I am using the BAPI_MATERIAL_SAVEREPLICA and passing the reference material in the PL_REF_MAT field. But this is not working fine. I have searcged the forums as well but couldn't find any solution.
    Another solution that I am thinking to implement is to use BAPI_MATERIAL_GETALL and get the details of the reference material and then pass those details to the BAPI_MATERIAL_SAVEREPLICA. But as the structures for the two BAPI's are different I need to mapo each field one by one which is quite cumbersome as each view of the material has almost 100 or more fields.
    Please suggest.
    Thanks,
    Manish

    Hi Goutam,
    You can use the BAPI BAPI_MATERIAL_SAVEDATA, which will create/update the material. You can pass the reference material in the filed BAPI_MARA-PL_REF_MAT. And you can pass reference material for all view like this.

  • Need Reference Material Info

    Need Reference Material Info
    Posted: Aug 8, 2006 9:01 AM        Reply      E-mail this post 
    Hi All,
    I am following SAP E-COMMERCE 5.0 -Landscape, Basics and concepts Development Guide. This book is available at http://service.sap.com/crm-inst ->my sap crm 2005 -> CRM CORE.
    In reference section, they have mentioned the below book and i didnt find the same at specified location.
    "SAP E-COMMERCE DEVELOPMENT AND EXTENSION GUIDE: EXAMPLES AND TUTORIALS"
    Path mentioned: http://service.sap.com/crm-inst ->my sap crm 2005 -> CRM CORE.
    Can some one send me the exact link.

    Hi Udaya,
    The correct path is https://websmp104.sap-ag.de/crm-inst    ->mySAP CRM 2005 -> CRM core and standalone components.
    Hope this helps
    Kailash

  • Javascript reference material for Captivate

    For the past day, I've been looking for reference material on using Javascript in Captivate. I really can't find much. There is nothing in the product Help, and these forums are pretty dry.
    The only thing I've found is http://captivatedev.com/series/captivate-javascript-series/, a really great introduction to using Javascript in Captivate. I wish there was more.
    Basically, I want to know what functions are available and how do I call them (i.e., what objects they are a part of, perhaps with some example code).
    Anyone know where I can find this for Captivate?

    Hello,
    Perhaps this is not really meant for you, but I did blog twice about the variables in Captivate, each time with a link to a more elaborate article. I thought them to be an introduction to get newbies in Captivate starting with variables and advanced actions (you'll find the links mentioned by Jim as well):
    Curious about variables?
    Unleash the power of variables with advanced actions
    Lilybiri

  • Step-by-step reference material

    Adobe 8 Prof., Windows XP Pro, I am completely new to forms design and Adobe. Have converted a WORD doc (multi page employment package)to a PDF form in LiveCycle thats close to what I want, but fields out of seq and Submit by Email only returns XML data and would like the full form complete
    with data. Is there any good, simplified, reference material that a complete novice could use to at least get the basics of form design? Thanks.

    You have to create the search help exit for the search help 'PRPM'.
    Follow the below link to create the search help exit.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
    Thanks,
    Srinivas

  • Getting the reference material details

    Hi,
    Is there a way where i can get the reference material number (copy from) which is used for creating the new material.
    Thanks,
    Maruthi

    definitely NO

  • Find reference material when copying

    Hi,
    I created a material A (MM01) with reference to an existing material B. Now I want to find the reference material (B) from which I copied. Where can I find this?
    Can anyone help me on this?
    Thank you

    with MM03 you just display the material. What I'm looking for is the link between the new material and the reference material
    Ahmed

  • Reference material/link is required on Digital signature

    Hi
    Can anyone provide me any link/ reference material related to digital signature.
    I want to explore it for following tasks
    1. How digital signature works.
    2. How a pdf can be signed using workbench
    3. How to sign entire pdf
    4. How to sign/block only few fields in the pdf
    Regards
    Sunil Gupta

    Sunil
    Here is some information...
    How digital signature works
    http://www.adobe.com/devnet/acrobat/
    Also, see attached socs.
    How a pdf can be signed using workbench
    Workbench is the development tool for creating LiveCycle ES2 processes.  To sign a PDF on the server side (in an automated fashion) you need to have LiveCycle Digital Signatures ES2
    For more info...
    http://www.adobe.com/products/livecycle/
    http://www.adobe.com/products/livecycle/digitalsignatures/
    How to sign entire pdf
    When a digital signature is applied to a PDF, the entire PDF is "signed".  You cannot sign specific pages or sections.
    How to sign/block only few fields in the pdf
    You can specify "field collections" when creating a PDF with Adobe Designer.  You then associate the field collection with a particular signature field.  When the signature field is signed, the associated field can\will be locked.
    Hope this helps
    Steve

  • Reference material for Packaging

    Hi all,
    I've created a reference material for packaging: material 100
    There is a packing instruction (POP1) and determination record (POF1) for this reference material.
    In the material master, I have also assigned reference mat 100 to 2 other materials:
    material 101  --> reference mat = 100
    material 102 ---> reference mat = 100
    However when I try to pack these material, I get the error:
    No packing instruction could be found for material 101
    No packing instruction could be found for material 102
    How can I resolve this?
    Thanks,

    Hi friend,
    Please find the below link
    No packing instruction could be found for material "X"
    Thanks
    Dasaradha

Maybe you are looking for

  • Now its not recreating a window

    In my Jdesktop i have one internatframe and when I press evaluate it should display a new window or frame, why is this not working import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; import java.awt.Color; import java.

  • How i can take a field of report for use it in query?

    i hve a table where bills of customer are ready i simply take it on report by select statement.all bills are ready for print.now problem is that i need history of bills for every customer at it's own bill.when i give self join for history, it also ad

  • How can I manage my music without erasing all of my songs?

    For reference I've had iPods since about 2005 and I've been through this many times. My harddrive in my computer recently crashed and I had to replace it. Now all of my songs are gone (other than the ones I got on iTunes obviously). About half of my

  • Imp tip to successful without warnings

    I am doing full imp of one full exported dmp file, To finish full exp i used direct=y & statistics=none and full exp was successful without warnings.... I am looking for tips to do full imp of this dmp file without warnings also i already used ignore

  • One solution for Safari 3.2 crashing if you don't have any 3rd party apps

    So Safari 3.2 was crashing like crazy for me and i tried everything suggested on these forums without success. I never had any 3rd party "hacks" installed like PithHelmet that are known to cause the issue. I remembered i had a proxy server setup to a