"BAPI_SALESORDER_CREATEFROMDAT2" - getting error while executing in se37.

Hi All,
I am executing BAPI -("BAPI_SALESORDER_CREATEFROMDAT2") in SE37 and getting error - "Unpermitted combination of business object BUS2032 and sales doc. category 0".
I passed SD_Doc_Cat - 'C'.
Please suggest, where should i correct.
Regards,
Chessleo.
Edited by: chessleo on May 21, 2011 12:46 PM

Hi,
Passing values in BAPI :
_Header data :_
REFDOCTYPE                     ZGK      
DOC_TYPE                       ZRPS     
SALES_ORG                      PGBU
DISTR_CHAN                     PG 
DIVISION                       PG 
REQ_DATE_H                     05/10/2010
PURCH_NO_C                     123456                           "Fixed values
PO_DAT_S                       05/21/2011                        "Fixed values
SD_DOC_CAT                     C
REF_DOC                        P057
COMP_CDE_B                     W001
REFDOC_CAT                     0.
_Item data :_
ITM_NUM        MATERIAL         TARGET_QTY             SHORT_TEXT     SAL
100     R-I UNSP MAJ COMP      15      TESTING1       EA
200     R-I UNSP MAJ COMP      16      TESTING1       EA
Partners Data :
PA     PARTN_NUMB
SP     603424
SH     200530
Purchase order no and date  - Fixed values
Please find the passing values.
Regards
chessleo.
Edited by: chessleo on May 26, 2011 10:29 AM

Similar Messages

  • Getting error while executing workflow: java.lang.OutOfMemoryError.

    Hi,
    I am getting the below error while executing the unassigment workflow on AD resource having 160 user objects.
    java.lang.OutOfMemoryError.
    Please provid your inputs on this.
    Your help wolud be appriciated.
    Thanks
    Renuka.

    Well, if you're getting an out of memory exception then your memory settings are too low. Odds are there's a period of activity where the memory usage spikes above what you've configured for the VM.

  • Getting Error while Execute SSIS Package from Console Application

    Dear All,
    SSIS package working fine directly.
    I got following error while execute SSIS package from C# console application.
    The connection "{79D920D4-9229-46CA-9018-235B711F04D9}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
    Cannot find the connection manager with ID "{79D920D4-9229-46CA-9018-235B711F04D9}" in the connection manager collection due to error code 0xC0010009. That connection manager is needed by "OLE DB Destination.Connections[OleDbConnection]"
    in the connection manager collection of "OLE DB Destination". Verify that a connection manager in the connection manager collection, Connections, has been created with that ID.
    OLE DB Destination failed validation and returned error code 0xC004800B.
    One or more component failed validation.
    There were errors during task validation.
    Code : 
       public static string RunDTSPackage()
                Package pkg;
                Application app;
                DTSExecResult pkgResults;
                Variables vars;
                app = new Application();
                pkg = app.LoadPackage(@"D:\WORK\Package.dtsx", null);
         Microsoft.SqlServer.Dts.Runtime.DTSExecResult results = pkg.Execute();
    I have recreate the application with again new connection in SSIS.
    Still not working, Please provide solution if any one have.
    DB : SQL Server 2008 R2
    Thanks and regards,
    Hardik Ramwani

    The connection "{79D920D4-9229-46CA-9018-235B711F04D9}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
    Cannot find the connection manager with ID "{79D920D4-9229-46CA-9018-235B711F04D9}" in the connection manager collection due to error code 0xC0010009. That connection manager is needed by "OLE DB Destination.Connections[OleDbConnection]"
    in the connection manager collection of "OLE DB Destination". Verify that a connection manager in the connection manager collection, Connections, has been created with that ID.
    Are you sure that you are running the same package via .NET which works fine from Visual Studio?
    By reading error message, I can say that you have copied OLEDB task from another package OR you have deleted one OLEDB connection manager. Now when package is run this task tries to use the connection manager and not found thus throws error message.
    Open all OLEDB destination tasks and you find connection manager missing. Connection Manager name should be provided there
    Cheers,
    Vaibhav Chaudhari
    MCSA - SQL Server 2012

  • Getting error while executing a procedure and assign the output in BPEL

    Hi
    I am getting the Following error while deploying BPEL in 10.1.3.1. I have invoked Database Adapter and called a procedure and that procedure returns a output. I have assigned that output to a variable.
    empty variable/expression result.
    xpath variable/expression expression "/ns2:OutputParameters/ns2:GREETING" is empty at line 98, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns2:OutputParameters/ns2:GREETING" is not empty.
    Please reply me with Solutions

    Hi,
    Are you getting this error while deploying or testing ?
    Normally this will happen due to namespace mismatch issue. But if you have auto-created the variables then JDev will take care of it so it should not be a problem
    Also, please check if this also happens if the code is deployed to 10.1.3.3 ?
    Regards,
    ketan

  • Getting error while executing DTP

    Hello, 
    I am learning BI 7.0, am trying load master data from a flatfile to InfoObject. I am getting error when I execute DTP.
    I have 15 records in the file. Below are the message that I see in the DTP monitor
    -  Extraction DataSource  ( shows green light)
    - Filter out New Records with Same Key ( shows red light) Below are the messages for 15 records
    ' Record filtered in advance as error records with the same key exist'
    Please help me how to resolve this error.

    I checked my flatfile it looks as following structure
    LANG    Material Number      Mat Desc
    E          MAT001                   text1
    E          MAT002                   text2
    E          MAT003                   text3
    I checked the transformations, it shows 'Key' sign against  both lang and material number field. I checked the datasource field list and I 'Key' column is not checked. I don't know where key field settings need to be done. According to my understanding combination of Lang and Material Number forms the key then it cannot be duplicate as the material number is different though the lang field is same.
    Please advise. Thanks

  • Getting error while executing this select statement

    Hi All,
    I am new to this community.
    I am getting error whie compiling the below code. Its telling 'Text' is invalid identifier. Also i want to know how can we obtain 'parseable' version of the below query?
    my basic intention is to create a trigger header through a select statement and show it the complete text as a single column..
    select text from
    (select 'CREATE OR REPLACE TRIGGER '||SUBSTR(column_name,2,4)||'aud
    AFTER INSERT
    OR UPDATE
    OF '||column_name||',
    OR DELETE ON '||table_name||'
    FOR EACH ROW'
    FROM(SELECT lower(REPLACE(column_name,'O_','')) column_name , /*changing O to O_*/
    lower(replace(t.table_name,'_A_','_')) table_name,
    lower(t.table_name) table_name1,
    c.column_id
    FROM all_tab_columns c,
    (SELECT object_name table_name
    FROM all_objects
    WHERE object_name LIKE '%/_A/_%' ESCAPE '/') t
    WHERE c.table_name(+) = t.table_name
    AND SUBSTR(column_name(+),1,2) = 'O_'))

    thanks prathamesh. it solved the problem. i have one more question.
    as of now it creates single create trigger statement for each column on a table.
    example:
    CREATE OR REPLACE TRIGGER ust_aud
    AFTER INSERT
    OR UPDATE
    OF cust_id,
    OR DELETE ON characteristic_t
    FOR EACH ROW
    however, i want to create trigger for all columns in a single statement. can you please help me how to do it?
    basically want to 'CREATE TRIGGER' for all columns in a table. i am finding difficult how to change my query to suit this!!
    i am pasting my original query again for your reference. pls advise...
    example:
    CREATE OR REPLACE TRIGGER ust_aud
    AFTER INSERT
    OR UPDATE
    OF cust_id,
    fixed_item_val,
    copy_item_val,
    rgn_id,
    txn_id,
    OR DELETE ON characteristic_t
    FOR EACH ROW
    ORIGINAL QUERY
    select text from
    (select 'CREATE OR REPLACE TRIGGER '||SUBSTR(column_name,2,4)||'aud
    AFTER INSERT
    OR UPDATE
    OF '||column_name||',
    OR DELETE ON '||table_name||'
    FOR EACH ROW' text
    FROM(SELECT lower(REPLACE(column_name,'O_','')) column_name , /*changing O to O_*/
    lower(replace(t.table_name,'_A_','_')) table_name,
    lower(t.table_name) table_name1,
    c.column_id
    FROM all_tab_columns c,
    (SELECT object_name table_name
    FROM all_objects
    WHERE object_name LIKE '%/_A/_%' ESCAPE '/') t
    WHERE c.table_name(+) = t.table_name
    AND SUBSTR(column_name(+),1,2) = 'O_'))

  • Getting error while Executing Recurrig Document in F.14

    Hi,
    While  exceuting the recurring document in F.14, SAP gives error message,"Session SAPF120 was not created".
    Can any one please advice me why this error came up and how to execute the recurring documents using the template.
    Thanks,
    Lavanya
    Edited by: Lavanya@sap on Mar 10, 2011 10:52 AM

    Hi,
    Please go through the following links. it may be helpful to you
    error in f.14 (recurring jnl)
    Not able to post the recurring entry using F.14
    Regards,
    Satya

  • Getting Error while executing shell through Demantra workflow

    Hi All,
    I created  .sh file(shell script) for sftp(transfer file from one instance to another instance) and created new workflow with executable step.
    In command line I have given file path and file name(Example: /folder/data/bin/abc.sh). When I try to run this workflow by clicking start button it is not running. That current step is marked with red color. and below error I am getting.could u please help me
    Error description 'Process terminated with errors ,please check the process logs for more
    information.'
    2013-10-31 05:42:02,307 CET [WFProcess_39] ERROR dpweb.general: ######################################################################################
    2013-10-31 05:42:02,308 CET [Mail_Thread] ERROR workflow.steps: MailThread:run()::No Sender or Reciever
    2013-10-31 05:42:02,323 CET [Mail_Thread] ERROR workflow.steps: MailThread:run()::No Sender or Reciever
    2013-10-31 05:44:00,391 CET [ExeStepExecutionThread] FATAL workflow.general: java.io.IOException: /data/nani/bin/sh: not found
    java.io.IOException: java.io.IOException: /data/nani/bin/sh: not found
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at java.lang.Runtime.exec(Runtime.java:429)
        at java.lang.Runtime.exec(Runtime.java:326)
        at com.demantra.workflow.step.ExeStep.run(ExeStep.java:336)
        at java.lang.Thread.run(Thread.java:595)
    When I try to run the same script through putty its working fine but not through demantra workflow.

    Dear DeetiNaresh,
    Sorry I don't have a solution for this problem. But I am having this same issue. And this is only hit I have found for this issue in metalink or google. Incase your issue is resolved, it would be of great help to me, if you could post your resolution for this.
    Thanks.

  • Getting error while executing the query in query generator

    Hi all
    I need to execute on query where I set perameter ''delivery doc date'' but when I execute its giving me error
    Please help
    Error is :- 1) .[Microsoft][SQLSERVER NATIVE CLINT 10.0][SQL SERVER] MUST SPECIFY TABLE TO SELECT FROM ,2 [Microsoft][SQLSERVER NATIVE CLINT 10.0][SQL SERVER] STATMENT 'BLANKET AGREEMENT'(OOAT) (s) COULD NOT BE PREPARED .HELP
    SELECT ELECT T0.[CardName] PartyName, T1.[Dscription] as 'Item description', T0.[NumAtCard] as 'Customer Ref No',
    T1.[ShipDate] as  'Del Date', T0.[DocNum] as 'SO No', T0.[DocDate] as 'SO Date', T1.[Quantity],
      T1.[Price],T1.[Quantity]*T1.[Price] as 'Line total without tax', ISNULL( T1.[DelivrdQty],0) As DelivrdQty,
      ISNULL( T1.[DelivrdQty]*T1.[Price],0) as  'Delivered amount', T1.[OpenQty] as 'pending qty',
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0) as WIP,
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0)*T1.Price as Value
        FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry join OCRD T3 on t3.CardCode=t0.CardCode                 
    where T1.ShipDate between [%0]and [%1] and t3.groupCode in('115','116') ORDER BY T1.ShipDate

    hi
    you need to use parameters.
    try this:
    /*select from [dbo].[RDR1] T1*/
    DECLARE @FromDate datetime
    /*where*/
    set @FromDate =/* T2.ShipDate  */N'[%0]'
    /*select from [dbo].[RDR1] T1*/
    DECLARE @ToDate datetime
    /*where*/
    set @ToDate =/* T2.ShipDate  */N'[%0]'
    SELECT  T0.[CardName] PartyName, T1.[Dscription] as 'Item description', T0.[NumAtCard] as 'Customer Ref No',
    T1.[ShipDate] as  'Del Date', T0.[DocNum] as 'SO No', T0.[DocDate] as 'SO Date', T1.[Quantity],
      T1.[Price],T1.[Quantity]*T1.[Price] as 'Line total without tax', ISNULL( T1.[DelivrdQty],0) As DelivrdQty,
      ISNULL( T1.[DelivrdQty]*T1.[Price],0) as  'Delivered amount', T1.[OpenQty] as 'pending qty'
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0) as WIP,
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0)*T1.Price as Value
        FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry join OCRD T3 on t3.CardCode=t0.CardCode                 
    where T1.ShipDate between @FromDate and @ToDate and t3.groupCode in('115','116') ORDER BY T1.ShipDate

  • Getting error while executing the report in WEB

    Hello Experts,
    I have did validation in my report on selection screen, if that validation is successful then only we can see the report output
    otherwise it's give the error message.
    Validations are working query designer and RSRT but when I run the report in WEB then even if the validation is successful then also I am getting the error message and not able to see the report output.
    I have written the code in user exit for validation.
    Can any one tell me why it is so?
    what needs to do?
    Thanks
    Chetan

    Hi.
    Could you plz explain your validation logic and wich way it done ?
    Could you plz provide error message ?
    Regards.

  • Getting error while executing the SQL ( ver 8.1.7.0.0)

    I am running a simple query involved with joins. When i ran the query with first set of criteria mentioned in the WHERE clause there is no problem. But when I try to run the same just by doing some correction in the WHERE clause, following errors is shown. I tried doing this from TOAD and SQL Analyser. I am getting the same output.
    ORA-01114: IO error writing block to file 4 (block # 524242)
    ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file
    OSD-04026: Invalid parameter passed. (OS 524247)
    ORA-01114: IO error writing block to file 4 (block # 524242)
    ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file
    OSD-04026: Invalid parameter passed. (OS 524247)
    Can anyone suggest what is this error all about and resolution for the same. Thanks.
    Regards
    Srinivasan B

    Could be a problem with your temp tablespace. Especially if your query is doing a large sort (merge) operation. Usually a simple select does not write any IO. With expetion from the temp tablespace. But I would have expected another error message then.
    Without exactly knowing what the problem is i'm hesitant to give an advice. But rethinking your query could be a good starting point.
    Message was edited by:
    Sven Weller

  • HI I m getting error while executing the procedure

    set serveroutput on;
    DECLARE
    P_ACCOUNT_NO            PT_AGMT_PRICING_ENTITY.CHARGE_ACCOUNT_ID%TYPE ;
    P_amount                VARCHAR2(50);
       p_CreatedBy            VARCHAR2(50);
       p_Mode                 VARCHAR2(50);
      p_ret_var        VARCHAR2(50);
       P_ERR_CODE        NUMBER;
       P_ERR_MESG           VARCHAR2(100);
       P_ROWS_AFFECTED     INTEGER;
    V_PRICE VARCHAR2(10);
    v_PRICINGENTITYID number;
    v_agreement_id number;
       BEGIN
    -- V_PRICE :=550;
    p_amount :=1300;
    p_account_no := 1015473;
       select price,PRICINGENTITYID,agreement_id into v_price,v_PRICINGENTITYID,v_agreement_id from pt_agmt_pricing_entity
       where PRICINGENTITYID=(SELECT MAX(PRICINGENTITYID) FROM PT_AGMT_PRICING_ENTITY WHERE CHARGE_ACCOUNT_ID=p_account_no AND CHARGE_CODE='SC');
         if P_amount>=v_price  then
            update pt_agmt_pricing_entity b set price=p_amount
            where PRICINGENTITYID=(SELECT MAX(PRICINGENTITYID) FROM PT_AGMT_PRICING_ENTITY WHERE CHARGE_ACCOUNT_ID=p_account_no AND CHARGE_CODE='SC');
            UPDATE PT_AGMT_PKG_SVC_DTLS SET PRICE=p_amount
            WHERE AGREEMENT_ID=(SELECT AGREEMENT_ID FROM PT_AGMT_PRICING_ENTITY
            WHERE PRICINGENTITYID=(SELECT MAX(PRICINGENTITYID) FROM PT_AGMT_PRICING_ENTITY WHERE CHARGE_ACCOUNT_ID=p_account_no AND CHARGE_CODE='SC')) AND CHARGE_TYPE='R';
            commit;
            insert into premium_price_change_report values(p_account_no,v_PRICINGENTITYID,sysdate,P_amount,v_price,v_agreement_id);
            commit;
          else
          P_ERR_CODE := -1;
          P_ERR_MESG:='You cannot give the amount less than package amount';
        END IF;
        p_ret_var :=p_account_no;
      END
    error:>
    ORA-06550: line 58, column 0:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
       ; <an identifier> <a double-quoted delimited-identifier>
    The symbol ";" was substituted for "end-of-file" to continue.
    Please help me to sort out the issue.Is something wrong with this proc...

      END
    If it's not a typo you missed a semicolon there
      END;

  • Error while executing the report to display on the web in BI 7.0?

    Hi All,
    In BI 7.0, Getting Error while executing the report to display on the web?
    The error message displayed is:
    " Network Access Message : The website cannot be found ".
    Source: DNS error.
    Why this error is coming.
    Wht needs to be done.
    Thanks in Advance.

    Hi Kishore,
    All the configurations are in proper shape.
    We need to change any IP adresses or proxy settings in the Internet explorer (Tools -> Internet options -> Connections -> LAN settings -> etc.,)
    Do We need to configure any server address for getting the output to display on web pages in BI 7.0.
    EP is not configured over here. Is that causing the problem.
    Thansk in Advance.

  • Error while executing the application

    Hi Friends,
    I am getting error while executing the application.The error is
    "javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback."
    Can anybody help me..
    Thanks in advance.

    You need to step through a debugger and find the source of your problem as something is clearly going wrong and causing the transaction to roll back. That is all that message tells us.
    m

  • Getting Error While Uploading Clause Document in SAP Sourcing 9.0

    Hi,
    --------------------system description--------------
    SAP Sourcing 9.0
    SAP NW7.31 AS JAVA
    IBM DB2 9.7
    I am getting error while executing clause document.
    ----------------------Error Description---------------
    Login with buyer link into the system-> it has all authorizations
    then Goto -> Contract Management -> Clause Library -> Clause list -> Click on New button -> Click on Add button -> Browse Document
    it is showing POPUP with Error that "There is a problem with the Contract Generation web service Contact your system administrator"
    Thanks and Regards,
    Murtaza Najmi

    Hi Gary,
    it is standalone system i have, everything i have installed on one server.
    i have already checked with restarting IIS server, and i can see word service while running url in contractgen.serviceurl, word service is running fine on browser but when i upload the document a popup window comes with error as i have shown above in my query
    Thanks once again Gary for replying
    Thanks and Regards,
    Murtaza Najmi

Maybe you are looking for

  • Not getting data in cube from lookup DSO

    Hi guys, I have a transformation with source DSO and the target Cube. In which I have a look-up from another DSO to the cube in this transformation, end routine. But I am not getting the records I needed in the cube, which are supposed to flow from a

  • After successfull installation problem in startup!

    Dear All, I have installed oracle 11gR1 on centOS. Have also set Oracle Paths. After this I logged on to sqlplus... and when I try to startup database I got the following error: ORA-01078: failure in processing system parameters LRM-00109: could not

  • Small Mysteries

    I created a poster in Pages, and for one Text Box used Gloucester MT Extra Condensed font. After exporting as a PDF, I imported from that PDF into Aperture 2.1.3. Two mysteries developed: 1) the text in this font displays in Aperture with color blue,

  • Problem loading AS2 movies

    I'm loading AS2 movies in a AS3 environment, using a Loader. Movies load, but they loose some onRelease handlers. This behaviour is consistent. Some onRelease handlers in the AS2 work (all the time), some not. Anyone have the same experience or is th

  • Iphone 4 Sprint contacts folder.

    Today my personal contacts are not displayed in the Contacts folder. When I send a text or email the first letters search through the normal contacts list. Therefore, I have not lost the contact list but it is not displayed in the folder.