BAPI_GOODSMVT_CREATE throws Valuation Type error for Production Ord and Mvt Type: 101

Hi,
I am trying to post a Material Document for a Production order through BAPI_GOODSMVT_CREATE. To the 'AFS_GOODSMVT_SKU' table of the BAPI, the sizes in the production order item are passed and to the 'GOODSMVT_ITEM' table, the respective line for each size is passed.
Lets say the production order has size 1 (with valuation type: 01 in Material) and size 2 (with valuation type 02 in Material). Inside the BAPI standard code, there is a comparison between Valuation types in Material and Production order. The Production order valuation type is taken as the first found valuation type passed to the BAPI, so in this case it is '01'. In the above case, for the first line there is no comparison error, later for the second line , when comparison happens between '01' and '02' valuation types, the error: M7043 (Valuation Type 01 differs from Valuation type of batch 02) is thrown.
However when we do the GR grom MB31, this error is not thrown.
Can someone please throw some light on how to avoid this error when posting the GR for Production Order via the BAPI_GOODSMVT_CREATE ?
Thanking in Advance.

I have never seen an AFS system and do not know how this works. There are a few OSS notes on AFS and error M7043, but none to this BAPI. I can't tell you whether this is a bug in SAP or in the way you use this BAPI.
I am moving this discussion to the Retail space as this is the desired place for AFS related discussions in SCN.

Similar Messages

  • Error:-No delivery type defined for supplying plant and document type RB

    Hi,
    Here issue is such that while creating purchase order(Return order type)the error coming as follows.                      
    "No delivery type defined for supplying plant and document type RB"
    Scenario:-There are some damaged goods which are coming from france vendor to ukrain customer,now ukrain customer wish to send back the damaged goods to france.
    Looking forward:-1>Can anyone please let me know if there is an any customizing setting required if yes then how to maintain(navigation).
                             2>Is it something like practically it is not possible as goods are dispatched back to the country from where it is coming.
    Thanks for your help !!!
    Dharmesh

    Hi Naveen,
    Thanks for the information !!!
    Futher while creating PO i am getting an error message as purchase org. not responsile for plant how to solve this error can you plz let me know.
    Regards,
    Dharmesh

  • Single Report for production scrap and Movement type 551 scrap

    Hi All,
    Can we include the scrap information from production and scrap from movement type 551 into a single BW report?.......My assumption is we cannot include it into a single report coz production scrap will have a different material information and scrap from movement type 551 will have a different material information..please correct me ig i am wrong......
    Regards,
    Shravani

    hello,
    you can have a single report by two options
    1. have a variable on movement type.If you choose 551..U will get materials of tht movt type.
    also if the select teh movt type for prodcution, it wil display its materials.
    or
    2. U have to place  movt type in the rows.Place movt type and then material in the rows.
    Then u will get for each movt type..its corresponding materials.No variable selection needed here.
    Regards,
    Dhanya

  • In PO No delivery type defined for supplying plant and document type MRO

    Hi,
    i need urgent solution for this problem please.
    i am getting this error while creating stock transport order PO(intercompany)
    No delivery type defined for supplying plant (ex:1500) and document type MRO .
    thanks
    madhu

    Hi,
      i am getting problem in vendor master data
    1)  recently we started inter company stock transfer order (STO)process  for a vendor (delivery plant), the same vendor was using before for internal procurement for some other company code /plant, i made settings in vendor master last screen ie conditions , sales data and  control data ,and took path   from main menue selected extras-> addtional purchasing data tab to enter plant  under plant assignment tab to work STO. now we are unable to create PO for other company  and pur org(non STO company code /plant) with the STO vendor,if i remove plant under  plant assignment tab in vendor master , it is effecting inter company STO,
    i need solution for this , please help me by giving valuable solution.
    Thanks and Regards
    MM

  • Production Order   : OUTPUT Type Configuration for Production Order  as EDI

    Dear SDN All ,
      OUTPUT Type Configuration for Production Order.
    <b>Doubt in third Point</b>
    We have found the IDoc " LOIPRO01 " for Production Order
    (Please confirm that this IDoc can be used for outbound IDoc for Production Order)
    And foloowing
    <b>1. Defining the Output Type for Particular Application.
       T-Code: “NACE”</b>
      A. Output type have created upder application "ME" description : "Inventory Management"
      B.  " ZEDI "  created for getting output as EDI type
         ZEDI is copied from "WF01" output type. and
         Transmision mediam as "EDI"          
         Program : RSNASTED
         Form Routine :  EDI_PROCESSING
              (Please confirm is this for IDoc creation)
    <b>2. Partner profile creation:</b>
      A. Partner profile created under logical system and
      B. and In outbound parameter declared as "LOIPRO"(This is for sending the IDoc "LOIPRO01" to XI system).
    <b>3. Customization for output type for Proction Order -- (For CO02,CO08)</b>   ---
       A. But only one functional customization is remaining to do, for getting the IDoc while saving the Production Order in T-Code "CO02" and "CO08"
            <i>For Example:
                in sales order transaction va02 (in DBI 450 client) and select any Sales order.
                & select following menu path.
                 Extras --- > Output -
    > Header -
    > output
               Here we can set our output type "that U defined in NACE Transaction-Code"</i>
    <b> Like the same way I want to set output type  for CO02, CO08 transaction.</b>
    But I couldn't find the menu Item in Co02 and Co08 for setting the output.(like VA03)
    Please help me out for setting the output type for Production Order Creation.
    Thanks in advance,
    Dhanabal T
    Message was edited by: Dhanabal T

    Hello.
    I have a similar requirement. Did you guys find the solution?

  • I am having trouble setting up my Yahoo! e-mail account on my phone...it asks for my Password and I type it in correctly and, carefully, but I get an error window, "MF Message Error Domain error 1032" -what does thi smean and how can I get around it?

    I am having trouble setting up my Yahoo! e-mail account on my phone...it asks for my Password and I type it in carefully and correctly, but I get an error window, "MF Message Error Domain error 1032" -what does this mean and how can I get around it? My password is long and convoluted, but it works when I type it in on my main Mac workstation, just fine.....what gives?

    try restarting the phone and try again

  • Define G/L Account for Product Category and Account Assignment Category

    Hello Experts,
    I got a requirment to make a new entry in below SPRO path.
    Define G/L Account for Product Category and Account Assignment Category
    *Individual entries cannot be put into the change request*
    *Message no. SV141*
    *Diagnosis*
    *For technical reasons, the entries cannot be fully specified in the change request. There are two possible reasons for this:*
    *1. The key of an entry is longer than 120 characters. All entries whose keys match up to character 119, are then copied into the change request, rather than an individual entry.*
    *2. The key of an entry contains fields of special data types, for example, packed numbers. The key can only be specified in the change request up to the first such field from the left.*
    *all entries whose keys match up to character 26 are copied into the change request, rather than a single entry.*
    *System Response*
    *The selected entry is copied into the change request correctly, but other entries may be copied as well.*
    My question is, If I make one entry and move to Quality and production system will it move only one entry or whole table will move?
    Kindly help me.
    Thanking you
    Regards
    Sharan

    I got the same message trying to make an entry in SPRO:
    Define Backend System for Product Category
    I found the note 305942 describing exactly the issue for my and above mentioned entry, which offers the correction, then the note 326802 which offers the correction of the first notes. However, both notes are for Releases 4.6C and D (from 2000), and we are using EHP2 FOR SAP SRM 7.0.
    I see another discussions in SCN regarding this topic, but haven't found real solution yet. Any hints? At least the answer to previous question from Sharan would be appreciated.
    Best regards,
    Toni

  • Product Attributes and Set types Tables

    Hi,
    In which Table does the Product Attributes and Set types stores in CRM?
    Can anybody tell me?
    Thanks

    Hi,
    I am not able to get you can you explain it clearly by taking this example
    I have created the Product Called Monitor
    For that Monitor i have maintained the following attributes like
    Monitor Size like 15 or 17 or 21inchs
    Monitor Type like Flat or LCD Type
    I have created the Set type for that.
    I have assigned those things to Product.
    What are the tables are involved in this process can anybody help me out regarding this?
    Thanks

  • No authorization for this transaction with mvt type 101

    Has anyone seen this error:
    RFC BAPI Wrapper call:You have no authorization for this transaction inplant 1120      
    RFC BAPI Wrapper call:You have no authorization for this transaction with mvt. type 101
    RFC BAPI Wrapper call:You have no authorization for this transaction inplant 1120      
    The strange thing is that when I assign user with a different Personnel Number and it works just fine.  But when I switched back to his Personnel Number, then I get above error.
    Even though I don't get any order list but I got all notifications and technical objects.
    Also, this user has same roles with everyone else.  While everyone is working fine this user is the only one that getting the error and no order download to PDA.
    Regards,
    Dai Ly

    Hi,
    please run ther getlist and getdetail handler in the backend directly for that user - most likely you will get a better failure message there.
    Nevertheless - what Application  yre you using? Is it MAM? If yes, check the SPRO setup for this particular user,
    Regards,
    Oliver

  • What is the field and Table for "Batch Class" and "Class Type" in QM.

    Hi All,
    What is the field and Table for "Batch Class" and "Class Type" in QM.
    Thanks,

    Hi,
      For batch class the class type value is '023' . This you can find from KLAH table and the fileld for class type is KLART..
    And also all the data related to batch class are found in tables INOB, KLAH,KKSK and for the characeteristics of batch materials you can refer AUSP table.
    In INOB table, for batch class, you need to give 023 in KLART field and  value MCH1 in OBTAB filed.
    Please check this and let me know if this you need any more details?

  • Document Types Setup for Expense Approval and Payable Invoice

    Hi,
    Can anyone please suggest Document Types Setup for 'Expense Approval' and 'Invoice Approval' and its tables related to the same. Table storing its document_type_code and wf_approval_itemtype as we have for PO_DOCUMENT_TYPES_ALL table for Purchase Order.
    Thank You.
    Regards,
    Meghana

    Hi
    It could be because of main memory problem... so Restrict your selections and do the statistical setup
    by the way how many comp codes you have? restrict with comp codes or doc ranges
    Thanks,

  • About ODMr for product design and development.

    how ODMr can be used to find patterns of desingers' behaviors when they create new design for a product?
    In general, designers tend to change their design to satisfy needs required by customers or technicians.
    Is ODMr able to find which design parameters are most contributive to the performance of a product?
    Is it ok to use Decision Tree if I have hypothesis space for desing parameters and training data?
    I want to use ODMr to improve R&D process.
    But I'm sure it is a smart way to use ODMr for product design and development.
    If anyone has good idea or other algorithm available for that field, please let me know~~
    Have fun~!

    I would think if you are going to run both of those programs at the same time, or even one at a time, a system with discrete graphic would be a better fit for you.
    The next question is if you are doing web design do you really need a retina display. At this time only apple has them so everyother computer viewing your web designs wouldn't see the difference, if there is any to begin with.

  • Using oDBDataSource.SetValue for date, price and percentage type

    Hi experts,
    I need to set value to db datasource for date, price and percentage type, below my code:
    oDBDataSource.SetValue("U_ItemPrc", offset, oDataTable.GetValue("U_ItemPrc", i))
    oDBDataSource.SetValue("U_Discount", offset, oDataTable.GetValue("U_Discount", i))
    oDBDataSource.SetValue("U_Data", offset, oDataTable.GetValue("U_Data", i))
                mt.Columns.Item("ItemPrc").DataBind.SetBound(True, "@TC_LIS1", "U_ItemPrc")
                mt.Columns.Item("Discount").DataBind.SetBound(True, "@TC_LIS1", "U_Discount")
                mt.Columns.Item("Data").DataBind.SetBound(True, "@TC_LIS1", "U_Data")
                mt.LoadFromDataSource()
    the column "U_ItemPrc" is a price with 5 decimals
    the column "U_Discount" is a percentage with 2 decimals
    the column "U_Data" is a date
    I get the three matrix column blank!
    How can I set value for these data type?
    please help me.
    Thanks
    Best regards
    Andrea

    I modified the source code following your suggestion but i still have the same problem with db table field with decimal and date.
    below the code:
    Dim oDBDataSource As SAPbouiCOM.DBDataSource = form.DataSources.DBDataSources.Item("@TC_LIS1")
                oDBDataSource.Clear()
                mt.Columns.Item("LineId").DataBind.SetBound(True, "@TC_LIS1", "LineId")
                mt.Columns.Item("ItemCode").DataBind.SetBound(True, "@TC_LIS1", "U_ItemCode")
                mt.Columns.Item("ItemName").DataBind.SetBound(True, "@TC_LIS1", "U_ItemName")
                mt.Columns.Item("TipoList").DataBind.SetBound(True, "@TC_LIS1", "U_TipoList")
                mt.Columns.Item("ItemPrc").DataBind.SetBound(True, "@TC_LIS1", "U_ItemPrc")
                mt.Columns.Item("Discount").DataBind.SetBound(True, "@TC_LIS1", "U_Discount")
                mt.Columns.Item("Data").DataBind.SetBound(True, "@TC_LIS1", "U_Data")
                mt.Columns.Item("ItemDesc").DataBind.SetBound(True, "@TC_LIS1", "U_ItemDesc")
                For i As Integer = 0 To oDataTable.Rows.Count() - 1
                    Dim offset As Integer = oDBDataSource.Size
                    Dim prezzo As Double = oDataTable.GetValue("U_ItemPrc", i)
                    Dim sconto As Double = oDataTable.GetValue("U_Discount", i)
                    Dim data As Date = oDataTable.GetValue("U_Data", i)
                    oDBDataSource.InsertRecord(i)
                    oDBDataSource.SetValue("LineId", offset, oDataTable.GetValue("LineId", i))
                    oDBDataSource.SetValue("U_ItemCode", offset, oDataTable.GetValue("U_ItemCode", i).ToString())
                    oDBDataSource.SetValue("U_ItemName", offset, oDataTable.GetValue("U_ItemName", i).ToString())
                    oDBDataSource.SetValue("U_TipoList", offset, oDataTable.GetValue("U_TipoList", i).ToString())
                    oDBDataSource.SetValue("U_ItemPrc", offset, oDataTable.GetValue("U_ItemPrc", i))
                    oDBDataSource.SetValue("U_Discount", offset, sconto)
                    oDBDataSource.SetValue("U_Data", offset, data)
                    oDBDataSource.SetValue("U_ItemDesc", offset, oDataTable.GetValue("U_ItemDesc", i).ToString())
                Next      
                mt.LoadFromDataSource()
    the prezzo variable store the correct value with decimal but executing the SetValue method I get the matrix column without decimal value.
    the data variable store the correct value but executing the SetValue method I get the matrix column blank.
    It seems the SetValue method works only for string field type.
    What can i do?

  • Transacton codes for production support and process chain

    hi guys,
    please any one tell me the Transacton codes for production support and process chain

    For event creation - SM64
    For Job - SM36 to Define . However for process chains you can define job in Start Process maintenance itself.
    Regards.
    Sanjay

  • Movement type error for Service Processes

    Hi All,
    We are working on service scenario with CRM5.0 and R/34.6c.
    The problem that we face is as follows,
    Whenever we make a service confirmation with products with item cat group BANC the movement type is correctly determined as 261 but whenever our service confirmation contains the products with item category NORM, the R/3 system returns the error that the movement type 291 is not found for the business area.
    Regards
    Rekha Dadwal

    The error was due to the material type. We changed the material type and now it works fine

Maybe you are looking for

  • EXPDP Job Monitor

    View Select * from dba_datapump_jobs hangs any possible cause or any other query to check the status of the job ?

  • Installing Solaris 9

    Sir, I have got windows 98( c:), XP(d:), Fedora core 2, in my 80 GB hardisk. Now i wanted to install Solaris 9 . Is it possible for me to install Solaris 9 without affecting the existing OS. When i Boot from the Solaris 9 CD it is showing only the pr

  • Using Emacs as Java editor

    Hello I suppose that most of you use Eclipse development platform. But I recently installed Emacs as Java editor. I don't find one thing : How to activate the code completion ? For example : I begin to type JF and by pressing TAB, it fills JFrame tha

  • HTML5 Extensions don't load within InDesign CC 2014

    Hello there, We've been having trouble getting any of the HTML5 extension examples provided on the Github repo to load. The debugging boolean has been implemented (for both com.adobe.CSXS.4.plist AND com.adobe.CSXS.5.plist), and we can open the exten

  • Dv video imported - Audio crackles and stutters

    Ive been importing some of my old DV videos onto my computer using my JVC GR-DX97 Camcorder and firewire, the video seems ok but the audio keeps stuttering and crackling and sometimes just breaks up completely. the video and audio are both fine when