Problem while creating a PO in Sourcing..

Dear SRM Gurus,
We have implemented BBP_DOC_CHECK_BADI for checking the PO and we are triggering some error messages when some conditions of PO are not satisfied..
BADI is working fine and the error messages are triggered and displayed..still when we press Create Purchase Order button, it is creating a PO with incomplete status..
Please suggest if there any procedure to restrict the  PO creation..
Thanks and Regards,
Chandra Sekhar.

Hi,
  Which Scenario are you  implementing??This BADI is to be implemneted for PO only if you are in the Extended classic scenario and the PO in SRM is the leading PO.
BR,
Disha.
Pls reward points for useful answers.

Similar Messages

  • Problem while creating Oracle Content Server source  in SES

    Hi,
    I am Integrating Oracle SES with UCM.Both UCM and Oracle SES are installed on the same machine.
    I have installed SESCrawlerExport compoent on UCM and also taken Snapshot of Repository.
    But when i am trying to create Oracle Content server Source in SES, it gives following exception.
    13:05:46:562 INFO     main          Crawling started at 10/15/09 1:05 PM
    13:05:47:578 INFO     main          URL manager connecting to Oracle...
    13:05:47:843 INFO     main          connected
    13:05:47:984 ERROR     main          EQG-31209: No security attribute defined for source (id=70)
         at oracle.search.crawler.WebCrawler.init(WebCrawler.java:631)
         at ImtCrawler.run(ImtCrawler.java:1954)
         at ImtCrawler.main(ImtCrawler.java:534)
    13:05:47:984 ERROR     main          EQG-30249: Crawler process aborted
    Please help me on the same.

    Thanks very much, Roger. That's very kind of you. The answer was very helpful. I've changed the host and realm accordingly, and altered the Authentication Type to BASIC (previously NATIVE).
    When I now try a crawl of UCM, it fails and the log file provides the debugging info listed at the bottom of this message. I've tried to research the exception type and have experimented by altering a few configuration values, but have so far failed to resolve the issue. Are you able to hazard a guess as to what could be causing it?
    The parameters I am using are listed below (I have only entered/changed values under the three tabs listed; any fields under those tabs which are omitted below have been left blank):
    Source Configuration
    Configuration URL: http://<hostname>/ucm/idcplg?IdcService=SES_CRAWLER_DOWNLOAD_CONFIG&source=feeds
    Authetication Type: BASIC
    Realm: ucm
    User ID: sysadmin
    Password: <password for sysadmin>
    Max connections: 3
    Authentication
    Host: <hostname>
    Realm: ucm
    Username: sysadmin
    Password: <password for sysadmin>
    Authorization
    ACLs controlled by Source
    HTTP endpoint: http://<hostname>/ucm/idcplg
    Display URL prefix: http://<hostname>/ucm
    Administrator user: sysadmin
    Administrator pw: <password for sysadmin>
    Display crawled version: true
    Authorization user ID format: username
    Use cached user and role info to authorize results: false
    Authentication Type: BASIC
    Realm: ucm
    Debugging info:
    09/10/23 11:29:05 oracle.search.admin.exception.DBSetException
    09/10/23 11:29:05      at oracle.search.admin.util.AdminObject.handleBackEndException(AdminObject.java:297)
    09/10/23 11:29:05      at oracle.search.admin.users.InstanceManager.isOwnerOfInstance(InstanceManager.java:497)
    09/10/23 11:29:05      at schedules.schedules._jspService(_schedules.java:551)
    09/10/23 11:29:05      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    09/10/23 11:29:05      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    09/10/23 11:29:05      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/10/23 11:29:05      at java.lang.Thread.run(Thread.java:534)
    09/10/23 11:29:05 oracle.search.admin.exception.DBSetException
    09/10/23 11:29:05      at oracle.search.admin.util.AdminObject.handleBackEndException(AdminObject.java:297)
    09/10/23 11:29:05      at oracle.search.admin.users.InstanceManager.isOwnerOfInstance(InstanceManager.java:497)
    09/10/23 11:29:05      at control.error._jspService(_error.java:543)
    09/10/23 11:29:05      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    09/10/23 11:29:05      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/10/23 11:29:05      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/10/23 11:29:05      at java.lang.Thread.run(Thread.java:534)
    Thanks again.

  • Problem:  While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off.  Video soundtrack is not in the right place.  HELP!

    Problem:  While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off.  Video soundtrack is not in the right place.  HELP!

    Have you checked out the topics at the right in the More Like This section?
    OT

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All,
    I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
      2  REFRESH ON DEMAND
      3  WITH PRIMARY KEY
      4  AS
      5  SELECT name,id
      6  FROM syn_t;
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
      2  WITH PRIMARY KEY
      3   (name)
      4    INCLUDING NEW VALUES;
    Materialized view log created.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
    REFRESH ON DEMAND
    WITH PRIMARY KEY
    AS
      2    3    4    5  SELECT name,id
    FROM syn_t;   6
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
    WITH PRIMARY KEY
    (name)
      INCLUDING NEW VALUES;  2    3    4
    CREATE MATERIALIZED VIEW LOG ON  MV_t
    ERROR at line 1:
    ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
    Message was edited by:
    Avinash Tripathi
    null

    Hi Nicloei,
    Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
    Regards
    Avinash

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

  • Problem while creating URL iview (in EP7.0)

    Hi,
    I encountered a problem while creating URL iview (in EP7.0) as when I selected the iview template for creating the URL iview, the content area got displayed as
    "No templates to display. You are not assigned to any existing templates."
    please assist me in this regard.
    Thanks,
    Suri

    Hi Manoj,
    Thank you for your reply.
    I am still getting the same messages even after creating the iview template in EP7.0
    Created through:
    content Admin --> portal content --> <folder>new --> iview  --> seleting "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR file)" <next> --> seleting "com.sap.portal.appintegrator.sap" <next> --> webdynpro <next> --> finish.
    Open object for editing...--> Object is a Template to Yes.
    Result :
    content Admin --> portal content --> <folder>new --> iview --> seleting "iview template- create an iView from an existing iView template" <next> which displays the same message.
    "No templates to display. You are not assigned to any existing templates."
    Rgrds,
    Suri.

  • Problem while creating sales order

    Hi
       We are facing a problem while creating a sales order in R/3. The sales order number is getting generated. But we are not able to view the same in the backend meaning it is not there in the database. Any inputs would be of help.
    regs
    Steve

    Hi everybody,
    I've got a problem with this too. I use the BAPI_SALESORDER_CREATEFROMDAT2 with BAPI_TRANSACTION_COMMIT and the webdynpro shows me the document number created in R3 with a Success message. But when I go to R3 and try to display the created sales order, it doesn't exists. So... Maybe I'm doing something wrong with the BAPI_TRANSACTION_COMMIT. ¿Can anybody help me with this?
    The code I use is this:
    When the user pushes the SAVE button in the WebDynpro, this code executes:
        //@@begin onActionSave(ServerEvent)
         wdThis.wdGetSOCreaCustController().executeBapi_Salesorder_Createfromdat2();
         wdThis.wdGetSOCreaCustController().executeBapi_Transaction_Commit();
        //@@end
    In the custom Controller I've got the code for those executions:
      public void executeBapi_Salesorder_Createfromdat2( )
        //@@begin executeBapi_Salesorder_Createfromdat2()
         try {
              wdContext.currentBapi_Salesorder_Createfromdat2Element().modelObject().execute();
         catch (Exception ex) {
              wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
         wdContext.nodeOutput().invalidate();
        //@@end
      public void executeBapi_Transaction_Commit( )
         try {
              wdContext.currentBapi_Transaction_CommitElement().modelObject().execute();
         catch (Exception ex) {
              wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
         wdContext.nodeOutput().invalidate();   
        //@@end
    ¿Is something wrong? ¿Is something missing?

  • Problem while creating JCA connection to MDM server

    Hi All,
    I have restarted my mdm connector(com.sap.mdm.tech.connector) along with the applications related to Enrichment Controller. All applications restarted successfully. After that I tried accessing the URL
    http://MDMSERVER:50000/MDM_EnrichmentController/WorkflowPolling?process=Monitor
    but I am getting following exception in this page
    Polling Repository
        name=Vijaybabu_Repo_on_MDMSERVER, status=No repository connection, error description=com.sap.mdm.net.ConnectionException: Problem while creating JCA connection to MDM server MDMSERVER
            Enrichment Request Threads
    Could somebody help me pointing if something I have missed..
    Thanks and Regards,
    Manoj

    hi Swarna,
    I have verified the repository and found 0 fatal errors, 0 non-fatal erros and 0 warnings. I also checked the MDM Factory and Connector service is running fine.
    The detailed exception is
    Sep 2, 2008 12:49:40 PM com.sap.mdm.logging.MdmLogger error
    SEVERE: Problem while creating JCA connection to MDM server 'KOLAPON'
    com.sap.mdm.net.ConnectionException: Can not resolve JCA connection
         at com.sap.mdm.internal.session.JcaConnectionUtil.getJcaConnection(JcaConnectionUtil.java:119)
         at com.sap.mdm.internal.session.JcaConnectionUtil.getJcaConnectionAccessor(JcaConnectionUtil.java:62)
         at com.sap.mdm.internal.session.JcaConnectionAccessor.reserveConnection(JcaConnectionAccessor.java:70)
         at com.sap.mdm.internal.session.JcaConnectionAccessor.reserveConnection(JcaConnectionAccessor.java:59)
         at com.sap.mdm.repository.commands.GetRepositoryStatusCommand.execute(GetRepositoryStatusCommand.java:67)
         at com.sap.mdm.enrichment.common.ECAdminUtils.getRepositoryStatus(ECAdminUtils.java:125)
         at com.sap.mdm.enrichment.common.EnrichmentUtils.validateRepostiryConfiguration(EnrichmentUtils.java:889)
         at com.sap.mdm.enrichment.common.EnrichmentUtils.getCatalogManager(EnrichmentUtils.java:144)
         at com.sap.mdm.enrichment.workflowpolling.PollingThread.getCatalogManager(PollingThread.java:166)
         at com.sap.mdm.enrichment.workflowpolling.PollingThread.run(PollingThread.java:102)
    Caused by: com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: "ConnectionManager" is closed. Possible reasons: 1) connector "MDM Factory" is stopped or not started, 2) Connector service is stopped or has not been started.
         at com.sap.mdm.connector.connection.MdmConnectionFactory.getConnectionEx(MdmConnectionFactory.java:223)
         at com.sap.mdm.internal.session.JcaConnectionUtil.getJcaConnection(JcaConnectionUtil.java:108)
         ... 9 more
    Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: "ConnectionManager" is closed. Possible reasons: 1) connector "MDM Factory" is stopped or not started, 2) Connector service is stopped or has not been started.
         at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
         at com.sap.mdm.connector.connection.MdmConnectionFactory.getConnectionEx(MdmConnectionFactory.java:213)
         ... 10 more
    Regards,
    Manoj
    Edited by: Manoj Kumar Nanda on Sep 2, 2008 9:21 AM

  • Problem while creating data transfer process

    Hi friends
    I am using BI 7.0 version.
    I m getting a problem while creating dtp
    After activating DTP and selecting the execute button, I am getting the following error message:
    Request cannot be processed in its current state
    Messg no : RSBK209
    can anyone help me on this problem
    Thank

    Hi Deepthi,
    Also check the error message(long text) and paste it here...
    check if you are either creating a "second" Delta DTP ( if an existing Delta DTP exists, then system will not allow you create a second DTP) and will throw an "overlapping" error
    Hope this helps
    Thanks
    Kalyan

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

  • Problem while creating Item Data in OCA application

    Hello Experts!
    I am creating a PDA application (OCA) for NW7.1.
    I am facing problem while creating Sales Order. I can create the Header structure. But when I Create the corresponding item structure for the header , the items are not getting created. After Sync I can only see the header structure in the middleware.
    I am using the following code to create the header and item.
    OrderCreateDocType header = model.createOrderCreateDocType();
    header.setRefdoctype("41001180");
    header.setDocType("ZRRJ");
    header.setSalesOrg("AND");
    wdContext.nodeOrderCreateDocType().bind(Collections.singleton(header));
    OcaRoot.getInstance().commit();
    wdContext.nodeOrderCreateDocType().setLeadSelection(0);
    header=(OrderCreateDocType)wdContext.nodeOrderCreateDocType().getCurrentElement().model();
    OrderCreateOrderItemsIn items = header.createNewOrderItemsIns();
    long item = new Long("000010").longValue();
    items.setItmNumber(item);
    items.setMaterial("MMKT090114");
    items.setPlant("ANDP");
    items.setTargetQty(new BigDecimal(7));
    items.setTargetQu("IT");
    header.setOrderItemsIns(Collections.singleton(items));
    OcaRoot.getInstance().commit();
    Am I missing out on step.
    Reply Awaited
    Regards
    Priya Ghosh

    Hello Priya
    in your case as the DOs are of upload only type, you are not able to create a
    child on an already created header, because updates are not allowed for upload only DOs.
    So in this case you first have to create an instance of the header first and then create an item. And only after this call a commit on the model
    Best Regards
    Vaidehi

  • Problem while creating CAF project in NWDS workspace

    Hi Experts,
    We are facing a problem while creating CAF project in NWDS workspace. Even though we have tried in new workspace we are facing the issue. Find the below build error.
    We are not getting any error when we build from CBS.
    [javac] ERROR: C:\sap\test_VC_DC.jdi\0\DCs\test.com\ja\bl\journal\ejbmodule\_comp\src\com\test\ja\bl\journal\modeled\ModifyJournalLineItemRequestMessage.java:7: cannot find symbol
    [javac] ERROR: symbol  : class JournalLineItemDetail1
    [javac] ERROR: location: package com.test.ja.cm.util.modeled
    [javac] ERROR: import com.test.ja.cm.util.modeled.JournalLineItemDetail1;
    when we expand com.test.ja.cm.util.modeled there is no file with name JournalLineItemDetail1 and the actual file exists is JournalLineItemDetail but we are not able to understand why 1 is appending to the file JournalLineItemDetail. Can somebody throw some light on this?
    Regards,
    Pradeep

    Have you checked out the topics at the right in the More Like This section?
    OT

  • Problems while creating Web Services in development server

    Hello,
    We are facing problems while creating Web services . The transaction like WSADMIN, WSCONFIG are not there in development server. Its gives message u2018This transaction is obsoleteu2019.
    Due to this while creating Webservice, there is and error message . Kindly guide me whats needs to be done.
    We have also tried the transaction WSADMIN2 as suggested by SAP, but didnu2019t know wat needs to be done.
    Regards,
    Rachel
    Edited by: Rachel on Feb 3, 2009 9:15 AM

    Hi,
    With your help, we were configuring WEB Service through soamanger.Due to some problem, we couldn't proceed further.Kindly guide us with the further steps.
    *steps followed *
    Step 1 : Entered Service Registry Parameters in WSPARAM .
    Step 2 : In transaction SOAMANAGER->Technical Configuration -->System Global settings
    Step3 : From u2018SE80u2019 transaction, selected the package ZHR and then right clicked to create the enterprise service -> Client Proxy (Service Producer)
    We have followed steps in se80.Don't know how to proceed further.
    We are unable to find the service in soamanger .How to find the service name in soamanager?
    Regards,
    Rachel
    Edited by: Rachel on Feb 3, 2009 12:38 PM
    Edited by: Rachel on Feb 3, 2009 12:48 PM

  • Problem while creating the Partner Address in CRM

    Hi,
       We are facing one problem while creating the new address for the Business Partner.
       When ever customer wants to change the address : we are following one process : where we are      
       using 'BAPI_BUPA_ADDRESS_ADD' functin module. Becuse of this , new addrss number will be generated for the 
      corresponding account in BUT021_FS table.But this table contains old address number as a first record, so that when ever
      we display the partner address in UI, it is displaying the old address only because first entry of the the table 'BUT021_FS'
      contains the old address number.
      Because of this , we are getting lots of complaints regarding this.
    Can you please help on this ASAP.
    Thanks & Regards
    Pradeep.

    Try BAPI_BUPA_ADDRESS_CHANGE  for address change followed by BAPI_TRANSACTION_COMMIT . It works.

  • Problem while Creating Service order through Work Order

    Hi Gurus,
    I have a problem While creating Service order (me21n) through - Work order it contains service requisitions.
    So that means they carry information such as G/L and work order number while entering the requistion no in PO Creation Screen (me21n)  which automatically should be picked from the work order refference.
    But problem here is the service items and all other are assigned to PO except the Account Assingnment tab which is GL Account and Work Order No and Cost center..
    Can anyone explain me this?
    Is this something that one can explain?
    Regards,
    Murugesh R
    Rewards for value replies.

    Closed..

Maybe you are looking for

  • How do I add a dynamic hyperlink to an image in a CRM mail Merge?

    We have a mail merge template that is being used by a number of our sales reps.  The sales reps each have a unique URL they use to send out to potential customers.  Their unique URL is saved on their User record in MSCRM.  We want to send out marketi

  • How to call VB code to JAVA

    hello, can we create DLL files in VB. please write step by step code. please help me.

  • On multiple file encoding - won't let me crop

    Hi everybody - Just beginning the compression stage of my dance video project(s). When adding 70+ videos to the Flash Video Encoder - I am able to make all the settings I want - except being able to "Crop" 4 pixels from top, bottom and each side (dei

  • HT1935 In sudden motion sensor terminal it will not let put in my password...can any one help me?

    While recording music was prompt... Disk is too slow or System Overload. (-10008) The Sudden Motion Sensor may have parked the hard drive head, or the disk performance is not sufficient to read or write all audio tracks, or the system was not able to

  • Reg Process mfg.

    Hi All, Here food manufacturing industry , we are using 40 stratergy , For Eg, They can producing 8 lots per shift , In recipe im giving 1 day for 8 lot , Im runnig mrp system calculating that dates is correct , but if im giving 4 lot system is givin