BAPI_PRODORDCONF_CREATE_HDR  - Error RU051 (Orders of the order type YGD1)

URGENT
Hi there.
I need to confirm orders thru a BAPI.
I think I can confirm orders with BAPI_PRODORDCONF_CREATE_HDR, however when I test on transaction BAPI (Tab --> Tools    Single Test), and I enter the following data:
Orderid> 1000080     postg_data> 18.03.2008     yield-->2
I'm getting always the same error:
RU051 - Orders of the order type YGD1 cannot be confirmed.
If I use transaction CORK to check/confirm orders on my controlling area, the order types available are YB02 and YGD1 and if I use the above mentioned BAPI for any of these order types (YB02/YGD1) I always get the same error message (RU051). Can you please inform what I'm doing wrong?
Kind Regards
ASantos
Edited by: Armando Santos on Mar 19, 2008 10:13 AM
Edited by: Armando Santos on Mar 19, 2008 3:29 PM

Hello Armando,
I am getting the same error while executing the BAPI. Could you please let me know how you resolved this error.

Similar Messages

  • Is there a way to get the correct order from the dependent types of a sche

    Hi ,
    I have a CT facing the following problem:
    When trying to built a SQL script to create all the object types within a schema using the DBMS_METADATA packages.
    Did insert in a table the names of the types that will be exported following a concrete order, next loop into the table and call the DBMS_METADATA package for each row.
    These type are depedent between them, there are some type attributes calling other types and here the issue
    First : try to generate the order by created column of dba_objects and when the generated SQL script is launched a lot of type appearing as incomplete state due to the order isn't correct.
    Second : try to insert the table ordering by object_id colums of dba_tables view, it appears incomplete types too.
    Currently want to insert the table using a recursive query with connect by against the dba_type_attrs starting with the rows when ATTR_TYPE_NAME is not null (the types that are called by other types), but this way has a issue dificult to resolve: the roots of hierarchy are the rows when ATTR_TYPE_NAME is not null and we've dependencies between roots nodes
    The question is is there a way to get the correct order from the dependent types of a schema?
    Platform: IBM SP AIX
    DB version: 9.2.0.7
    Any help will be appreciated .
    Thanks in advance.

    The xxx_dependencies view should give you the dependencies betwee nthe various types. I would look at something along the lines of:
    SELECT object_name, referenced_name
    FROM (SELECT o.object_name, d.referenced_name
          FROM user_objects o, user_dependencies d
          WHERE o.object_name = d.name(+) and
                o.object_type = d.type(+) and
                d.referenced_type(+) = 'TYPE' and
                o.object_type = 'TYPE')
    START WITH referenced_name IS NULL
    CONNECT BY PRIOR object_name = referenced_nameThe outer join between user_objects and user_dependencies is required to generate the names of types which are not dependent on other types, or do not have other types dependent on them.
    HTH
    John

  • In sales order for the condition type MWST, **Tax code** is displaying wron

    Hi
    In sales order for the condition type MWST, *Tax code* is displaying wrongly at header level i.e. FF instead of AO (under account determination tab)
    AO tax is 0% but for FF it is 19%
    I have checked with the Access sequence it is picking access 08 correctly according to this it should show AO in tax code field for MWST but it is not so..
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Even if I consider material tax classification and customer tax code  should not be FF because  tax code  FF is not maintained for the combination of access sequences for condition type MWST
    Please help me.
    Rajendra Prasad

    Dear Rajendra,
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Definitely material Tax classification will influence to determine the Tax code.
    -->So Make sure that customer and material master having proper tax classification indicator.
    -->Have you Update the price after changing the tax classification in the sales order.by going to item dat -->condition tab then click on Update push button bottom of the conditions screen.
    -->Once again the check the condition record maintanence also for your MWST access sequence.
    I hope this will help you,
    Regards,
    Murali.

  • HT3702 when I finish putting my card details in, I press next and then it says an error occurred!(above the different type of cards) some one pls help

    when I finish putting my card details in, I press next and then it says an error occurred!(above the different type of cards) some one pls help!

    when I finish putting my card details in, I press next and then it says an error occurred!(above the different type of cards) some one pls help!

  • Help! losing sales orders in the order list from cumulative value VK13

    Hi Experts,
    Now we are facing a problem that when user going to check for which orders the condition record was used, the T-Code is VK13.
    Path: VK13 -> Display the condition record -> additional data -> Extra -> Cumulative values -> First Sales orders
    they found some orders are missing in that list, but in previous system, the list was included all the order numbers which used this condition record, so it's confusing for them to tracking the utility of this condition record.
    Can anyone share your idea on it such as 1. whether user exit exists there, what the user exit name? 2. whether configuration should be changed, which configuration should be modified, your idea will be highly appreciated!

    Sorry for confusing, the thing is only the first 3 orders of individual month will be displayed. No issue now

  • Error in CLR: InvalidOperationException - The current type is an interface and cannot be constructed. Are you missing a type mapping?

    Hi, I'm trying to execute a .NET assembly's method from SQL Server 2012 Express, but I'm stuck with this error calling the sp:
    Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type ISymmetricCryptoProvider, key "TripleDESCryptoServiceProvider" ---> Microsoft.Practices.Unity.ResolutionFailedException:
    Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider", name = "TripleDESCryptoServiceProvider".
    Exception occurred while: while resolving.
    Exception is: InvalidOperationException - The current type, Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider, is an interface and cannot be constructed. Are you missing a type mapping?
    At the time of the exception, the container was:
      Resolving Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider,TripleDESCryptoServiceProvider
     ---> System.InvalidOperationException: The current type, Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider, is an interface and cannot be constructed. Are you missing a type mapping?
    System.InvalidOperationException:
       en Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context)
       en BuildUp_Microsoft.Practices.EnterpriseLibrary.Security
    Microsoft.Practices.ServiceLocation.ActivationException:
       en Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
       en Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService](String key)
       en Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.GetSymmetricCryptoProvider(String symmetricInstance)
       en Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.DecryptSymmetric(String symmetricInstance, String ciphertextBase64)
       en ...
    Is there any limitation by design for Interface instantiation from CLR database?
    Any help I will appreciate, thanks a million!!

    Bob, thanks for your response.. Yes, the code works fine outside of SQLCLR. This is the class I'm trying to instantiate, I'm using it to envolve Cryptographer, an Enterprise Library 5.0 class actually, so I have no control to test it without referring the
    interface.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.Practices.EnterpriseLibrary.Security.Cryptography;
    using System.Security.Cryptography;
    using Microsoft.SqlServer.Server;
    using System.Data.SqlTypes;
    namespace Cars.UtileriasGlobales.Helpers
        /// <summary>
        /// Clase que permite encriptar y desencriptar cadenas de textos utilizando
        /// TripleDESCryptoServiceProvider de Enterprise Library 5.0
        /// </summary>
        public static class Cryptography
            #region Metodos
            [SqlProcedure]
            public static void DesencriptarSQLServer(SqlString cadena, out SqlString cadenaDesencriptada)
                cadenaDesencriptada = !String.IsNullOrEmpty(cadena.ToString()) ? Cryptographer.DecryptSymmetric("TripleDESCryptoServiceProvider", cadena.ToString().Replace(" ", "+"))
    : String.Empty;
            #endregion
    I have collected all the dependent assemblies in one directory 'C:\migrate', so the create assembly finish ok. This is the script to create the assembly I'm using:
    sp_configure 'clr enable', 1
    GO
    RECONFIGURE
    GO
    ALTER DATABASE cars SET TRUSTWORTHY ON
    GO
    CREATE ASSEMBLY CryptographyEntLib5
    AUTHORIZATION dbo
    FROM 'C:\migrate\Cars.UtileriasGlobales.dll'
    WITH PERMISSION_SET = UNSAFE
    GO
    CREATE PROCEDURE usp_Desencriptar
    @cadena nvarchar(200),
    @cadenaDesencriptada nvarchar(MAX) OUTPUT
    AS EXTERNAL NAME CryptographyEntLib5.[Cars.UtileriasGlobales.Helpers.Cryptography].DesencriptarSQLServer
    GO
    DECLARE @msg nvarchar(MAX)
    EXEC usp_Desencriptar 'Kittu And Tannu',@msg output
    PRINT @msg

  • Partiral delivery of sales items in a service order brings the order header to in process

    Hello Experts,
    I am currently working on CRM 7.0, EHP 1.
    I am creating a service order in CRM and the sales items in the order are replicated to a sales order in ECC. The header system and user status at this point is Released.
    On creating a partial delivery for the sales items, the header of the service order is set to system status In Process. This doesnt allow creation of a confirmation because the header is no more released.
    Is there a note to stop the system status change to in process ?
    Thanks &Regards,
    Itisha

    Hi Rohit,
    It is ideally required to have both higher item and subitem in delivery. However the moment there is a sub item, the delivery quantity for higher level item becomes 0 and hence this will not affect the quantity to be delivered. Hence the presence of higher level item will not impact the delivery or PGI in anyway. You can check this.
    Similarly for billing, you can check the Billing quantity field in copy control between delivery and invoice. The value has to be either G or H based on the scenario you want.
    Having said all these things, I think just adding the customer entered material either in the customer material field in sales order (I think VBAP-MATWA) or in some other Z field will relieve you of this big complexity. So unless or otherwise your customer i adamant on this, you can think of a simpler solution than the multiple levels of items.

  • Writing a trigger to update the QOH in a Parts table for for each item of the order whenever the order is filled. The trigger is for the OrderItem table when an item record is inserted into the OrderItem table.

    Any ideas?

    Hi,
    If orderitem and parts are the only tables involved, and each orderitem references only 1 part, then it's pretty simple: just update parts, like this
    UPDATE  parts
    SET     qoh       = qoh - :NEW.quantity
    WHERE   part_num  = :NEW.part_num;
    If you can modify filled orderitems (e.g., DELETE orderitems or change the part_num after the order is filled, or change the status from filled back to unfilled then it's more complicated; you might have UPDATE the :OLD.part_num as well as the :NEW.part_num
    I hope this answers your question.
    If not, post your best attempt, along with a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Since you're asking about a DML statement, such as UPDATE, the sample data will be the contents of the table(s) before the DML, and the results will be state of the changed table(s) when everything is finished.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Credit management –impact in sales order if the order quantity is above customer credit limit..

    Hi Team,
    Can anyone help us to solve the issue in credit control process..our requirement is stock reservation should happen in sales order even if the sales order value is above the limit in customer master..
    Please share the configuration ..
    We tried many things but not working properly..
    Thanks,

    Hi Shiv,
    thanks for the help
    in this note , the point number 9  mentions that the result of rescheduling and manual stock reservation will be different if there is credit check in sales order.
    is there any way to solve it? it is because our product list is so high..i run V_V2 for 1000 items for 800 items reservation happened propelry and for 200 V_V2 didnt confirm for some orders for the same do we need to run manual ATP??
    Thanks to help us

  • Cannot access my iPhone 5 order using the Order Number provided

    I placed my order around 12:40am 9/14. I received a confirmation email with a confirmation number and an order number. It also showed a delivery date of 9/21. Till today, when I try to check the status of my order, system replied something like, "Order Number was not found......" tried many times, double checked, tripple checked the order number, all return the same message.
    Anyone ordered through Verizon Wireless Online and experiencing the same thing?

    I had the same problem.  Although it asks for the order number, put in the preorder confirmation number.  It actually says to do that on the check your status screen.  Also, after many unsuccessful tries, I finally put in my last name in all caps, and it finally went through.  Hope that works for you.

  • Creating orders via the Order Management API

    Hi there,
    we are wanting to use the Order Management API (within Oracle 11.5.4) as a means of integrating with our B2B website. I am thinking of creating a Java class that will talk to the Order Management API - pass it a list of products (amongst other variables) - create an order, and then retun that order's details to the clients browser - via the Java class. So my questions are specifically...
    1) is this possible, and am i heading in the right direction?
    2) where would i find more documentation on the Order Management API - i only have 1 doco so far and it isnt too clear
    3) has anyone had any experience doing something similar, and if so - can you give me any examples, tips etc etc
    Please reply to [email protected]
    cheers,
    matt lemsing

    I've done it a couple of times. I hope you have some help, and I assume you'll have to use Customer (AR/CRM) APIs as well as the OM APIs. My suggestion is to make you java beans in small pieces, don't try to do it all in one class. As for displaying the order back to the screen, don't forget a view or SELECT statement can also be viewed as an API. Keep it simple, don't try to get tricky.

  • Getting error IMPORT_WRONG_END_POS while changing the order

    Hi All,
    in Capital investment order, i am trying to change the operation data for service (PM03) for which PR has been created already,
    i am getting abap runtime error.
    FM is active for order type and PO has not been created yet.
    Runtime Errors         IMPORT_WRONG_END_POS
    Except.                CX_SY_IMPORT_MISMATCH_ERROR
    and these are the problem lines.
      195       IMPORT BANF_HHM FROM MEMORY ID 'BANF_HHM'.            "956751
    >>>>>       IF l_order_fistl <> BANF_HHM-fistl OR                 "956751
      197          l_order_fipos <> BANF_HHM-fipos OR                 "956751
      198          l_order_fonds <> BANF_HHM-fonds OR                 "956751
      199          l_order_fkber <> BANF_HHM-fkber OR                 "956751
      200          l_order_grant <> BANF_HHM-grant.                   "956751
      201         l_FM_changed_to_original_value = YX.                "956751
      202       ENDIF.                                                "956751
      203       FREE MEMORY ID 'BANF_HHM'.                            "956751
      204       IF NOT flg_FM_changed IS INITIAL                  "note 767333
      205          OR NOT l_FM_changed_to_original_value IS INITIAL.  "956751
      206         IF CAUFVD-flg_hhm IS INITIAL.                  "note 767333
      207           CAUFVD-flg_hhm = YX.                        "note 767333
      208           PERFORM CAUFV_UPD(SAPLCOBH) USING CAUFVD.   "note 767333
      209         ENDIF.                                         "note 767333
      210 *           Check, if FM data are allowed for re-derivation"note 767333
      211 *           (->only allowed, when no purchase order exists)"note 767333
      212         PERFORM CHECK_PURCHASE_ORDER_EXISTS            "note 767333
      213                       CHANGING PURCHASE_REQUI_EXISTS   "note 767333
      214                                PURCHASE_ORDER_EXISTS.  "note 767333
      215 *           In case of existing purchase requisitions,     "note 767333
    We are using 604 release.
    Pls help.
    Sandeep

    Hi
    Did you get the solution. We got the same error and nothing we can think of.
    Any advise.

  • Error msg when changing the MRP type in ME22N

    Hi,
    When i change MRP type from MRP to Manual  in ME22N, it will come out the error msg:Purchase request mandatory for MRP generated Purchase order (Application area: ME Message no. ME901)!  My question is how to change this error msg to warning msg?
    From SPRO-Material Management-Purchasing-Environment Data-Define Attributes of System Messages ,i can not find the entry regarding this issue.
    Any suggestion!
    Thanks!

    Hi,
    Sometimes end user want to add some item without PR under MRP PO.
    As before system will only indicate the warning msg that we change to error msg three month ago, but i forgot how to change!
    thanks!

  • Can't order from the order book on i photo 7.0 system 10.5.

    New user Mac Pro system tiger 10.5 setup an apple account, have pass word correct and name by apple it asked if you want to setup account step one, step two and then no step three to complete on the setup page? any suggestions. I called help line after one hr on my cp was placed on hold for the next available specialist never showed up just background music. Using i photo on the new ilife 08, created my book but that's the extend of it. The first specialist kept asking to look at the bottom of the page for continue but the bottom did not show any additional information or instructions. Its a shame you can't grab the corners and down size the pages like we used too.

    Click here; they resumed selling it on the web store after I wrote that.
    (73189)

  • Changing the Condition type Text in the Purchase Order

    Hi SAP,
    Hi,
    We have a requirement where by we need to change the Description of the condition type text in the Purchase order.
    The condition type is a entered at item level.
    Normally this description comes from the Condition type Definiton i.e., T685T-VTEXT.
    can any one of you suggest a User exit or a method where by we can change this text at PO.
    Has any one of you came across such situation before. if so please provide me with your inputs.
    Thanks
    Best Regards
    ShitalD
    Edited by: Shital Deshpande on Feb 21, 2010 1:07 PM

    Hi,
    I think it is a config setting..Please check with your functioal consultant regarding the same.. I won't suggest to change the standard SAP table T685T but you can keep it as last option .
    From SPRO you can follow the below path
    Sales and Distribution->Basic Functions -> Pricing > Pricing Control -> Define condition types.
    Regards,
    Nagaraj

Maybe you are looking for

  • Handling Threads and Memory

    I'm sorry if this is a cross post to my StringBuffer problem. I have run a test that instantiates the object in question and the memory gets collected so I don't think it's that. My question is on how memory pertaining to Threads is handled. In my ap

  • Use of PL/SQL %TYPE and HS

    I have been unable to get a PL/SQL package specification to compile that uses %TYPE against a table that is referenced via a HS link and physically resides in MSSQL 7. The documentation I looked at (Oracle Transparent Gateway A82868-01 for 8.1.6 and

  • Errors while uploading BAI2-Bank statement using FF.5

    Hi I am trying to configure EBS-Electronic bank reconciliation using BAI2 file but when I upload a simple sample file that I created it gives me this error: Error: (F5 263) The difference is too large for clearing and Error: (GLT2 201) Balancing fiel

  • How do you highlight stuff on the 8x?

    I was just reading an internet article and wanted to highlight a section of it to copy/paste.  What finger gesture do you use to highlight stuff?

  • How to make a "Makefile" under Unix

    I have made a "Makefile" , It can only build all the files ,but can't automatically indentify the changed file and recompile it. My OS is solaris. Thank you !