TECO Status in WBS ELement not allowing DP91 transaction for RRB

Hi Team,
  I would like to look if DP 91 will not allow to Bill a  particular cost once the project is in TECO Status.
Please confirm if this is configurable.
Regards
Vignesh R

Thanks for your clarification.
I have one more query which is not related to the Project status.
When a Dynamic item is being populated in DMR after DP91 transaction,the summarisation of material or activity takes place and If there are A(50$),B(25$),C(25$) are the materials posted and grouped to form Dynamic Item "Material" and E(100),F(50$),G(50$) are the activity posted and grouped to form Dynamic item "Labor" based on grouping set in material determination,
the DMR will reflect as
Line               item 10
Material         Material
Price             100$
Line                item 20
Material          Labor
Price              200$
My client need a report which would give a detailed list of Dynamic item along with quantity and value by just entering the Billing document number.
Like
Material
A   50$
B   25$
C   25$
Labor
A  100$
B  50$
C  50$
What are the tables I need to refer to bring up a report as stated above.
I couldnt get these details in AD01DLI and AD01DLIEF
Regards
Vignesh R

Similar Messages

  • TECO Status on WBS Element

    Dear Experts,
    We have set the status to TECO for a WBS Element.
    But it is allowing CAT2 Entry for the Activity Attached to the WBS Element.
    I would like to know if there is a Status to Block costs , but not Revenues
    Regards,
    Shareeq
    Edited by: K M AHAMED SHAREEQ HUSSAIN on Jan 26, 2010 12:55 PM

    Hi Gurus,
    I have a problem also with my WBS Element's status... maybe you can help me...
    We have some cost orders related to some WBS Elemetns. We want to be able to close first the WBS Element, and leave the cost order available for new postings, only in the COST ORDER, and when necessary, close the cost order. But SAP does not allow to close a cost order if it's WBS element is close. It gives CJ656 message, but i can't make this message only as a warning.
    Do you have any idea or clue about how to avoid this problem?¿?
    Thanks a lot!!
    Regards

  • After TECO system  not allow any transaction for orders

    Dear all,
    We have taken TECO for Production / Process orders but system is allowing to cancel confirmation / to cancel GRN / to cancel operations.
    Actually we dont want to cancel any of the above said after TECO.
    How to restrict this one. Explain very clearly if it is possible.
    Thanks,
    Regards,
    Sakthivel.S

    Hi sakthi vel  
    You should go to transaction BS22, then click on status I0045
    After that change RMRU, RMWA and RMWF from Allowed to Forbidd.
    The problem will be solved.
    Regards
    Dinh Trung Tin

  • Function module to get the status of WBS elements IN Project Systems

    Hi,
    I am suppose to delete the WBS elements in PS depending on certain conditions. WBS elements that are to be deleted should satisfy the following conditions:
    1.     Status of WBS elements should not be  ‘AUC’ construction
    2. WBS element, which have cost association, like PO association or internal order association      shouldn’t be deleted WBS element does not have confirmed activities.
    3.     WBS elements, which have confirmed activity in association with their networks, should not be deleted.
    Either I can check for status of WBS for the above mentioned conditions or if u can suggest me some diff way I shall be grateful
    Need help in this regards.
    Thanks

    Hi
    Use the FM:
    <b>JV_GET_WBS_ATTRIBUTES</b>
    Regards,
    Sreeram

  • WBS Elements not getting created in ECC Project System from CRM 7.0

    Dear all,
    We are trying to integrate SAP CRM 7.0 with SAP ECC-PS module. The objective is to bring in the marketing plan and elements data from the CRM system, and to create the corresponding WBS in project system. We have done most of the configuration as recommended by SAP in both the systems, and we see that the BDOCS are getting generated and sent to the ECC system. The following steps have been successfully completed:
    1.       Set up the RFC connections between the two systems
    2.       Selected the connection type as Middleware in CRM system.
    3.       Installed the cProject Add on in CRM box.
    4.       Created a project scenario (with project and network profiles) in the PS system and assigned the same in the CRM system.
    5.       The Project Scenario in PS config has the same name as the Project Type in CRM config.
    6.       Created and released the campaign ids being created in the CRM system.
    As already mentioned, we can see that the BDOCS are coming to the ECC system and are getting stored in BDOC_TRACK table. However the issue is that the corresponding WBS elements are not getting generated in the ECC system. Is there anything that that we are missing in the ECC box which would trigger the WBS element creation?
    Request you all to share your inputs which would be immensely beneficial for us in achieving this integration.
    Thanks and Kind Regards,
    Aditya Shrivastava

    Hello Aditya,
    We too are facing this issue.. if you have resolved the issue could you please let us know the solution ?
    Some inputs related to our system,
    We have upgrade from CRM 4.0 to CRM 7.0 SP07 and R/3 backend system is on 4.7 SP27, earlier we have completed the upgrade on sandbox without any issues which was upgrade to CRM 7.0 SP04 but with SP07 we are facing the problem of WBS Element not getting created in R/3.
    Your help is highly appreciated.
    Thanks & Regards,
    Sumukh Kapoor.

  • Failed to load resource: the server responded with a status of 405 (Method Not Allowed) XMLHttpRequest cannot load (WCF service URL). Invalid HTTP status code 405

    Hi,
    while consuming the  WCF service POST method Jquery, getting error in Chrome and firefox, in IE  Its working fine.
    ERROR:Failed to load resource: the server responded with a status of 405 (Method Not Allowed)  XMLHttpRequest cannot load (WCF service URL). Invalid HTTP status code 405.
    Jquery used to call:
    $.support.cors = true
            $.ajax({
                type: "POST",
                url: serviceURL,
                data: JSON.stringify(managedProps),
                useDefaultXhrHeader:false,
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                //processData: true,
                crossDomain: true,
                success: function (data, status, jqXHR) {
                   alert("sucess");
                error: function (xhr) {
                    alert("error");
    WCF sevice Web.config
    <webHttpBinding>
            <!--<binding name="webHttpBindingWithJsonP" transferMode="StreamedRequest" />-->
            <binding name="crossDomain" crossDomainScriptAccessEnabled="true" transferMode="StreamedResponse" />
          </webHttpBinding>
        </bindings>
        <services>
          <service name="DynamicRefinerWCF.DynamicRefiner">
            <endpoint address="" behaviorConfiguration="REST" bindingConfiguration="crossDomain" binding="webHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
            <endpoint address="mex" binding="mexHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
            <host>
              <baseAddresses>
                <add baseAddress="http://localhost/example.svc" />
              </baseAddresses>
            </host>
          </service>
        </services>
        <!--<protocolMapping>
            <add binding="basicHttpsBinding" scheme="https" />
        </protocolMapping>-->    
        <!--<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />-->
      </system.serviceModel>
      <system.webServer>
        <!--<modules runAllManagedModulesForAllRequests="true"/>-->
        <modules>
          <remove name="WebDAVModule" />
        </modules>
        <handlers>
          <remove name="WebDAV" />
        </handlers>
        <directoryBrowse enabled="true" />
        <httpProtocol>
          <customHeaders>
            <add name="Access-Control-Allow-Origin" value="*"/>
            <add name="Access-Control-Allow-Headers" value="Content-Type"/>
            <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS"/>
            <add name="Access-Control-Request-Headers:" value="*" />
            <add name="Access-Control-Request-Method:" value="*" />
          </customHeaders>
        </httpProtocol>
        <!--
            To browse web app root directory during debugging, set the value below to true.
            Set to false before deployment to avoid disclosing web app folder information.
          -->
        <!--<directoryBrowse enabled="true"/>-->
      </system.webServer>
    </configuration>
    Thanks,
    Swathi

    Right on - I have done that a number of times.

  • Element not allowed

    Hi,
    I've imported some business components from a UIX project to an ADF project I'm setting up in Jdeveloper 11.1.2.0.
    I get the following error when I try to run the application. I get this for all the BC projects I've imported.
    <17.jun.2011 kl 10.06 CEST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Users\lellison\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\kalkyle\fremdriftWebApp.war/WEB-INF/web.xml of module fremdriftWebApp.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    .> <17.jun.2011 kl 10.06 CEST> <Error> <HTTP> <BEA-101064> <[WebAppModule(kalkyle:kalkyle-fremdrift-context-root)] Error parsing descriptor in Web appplication "C:\Users\lellison\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\kalkyle\fremdriftWebApp.war"
    weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1335)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
    problem: cvc-complex-type.2.4b: Element not allowed: description@http://java.sun.com/xml/ns/javaee in element context-param@http://java.sun.com/xml/ns/javaee:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         Truncated. see log file for complete stacktrace
    There is nothing unusual in the web.xml. It begins as follows:
    <?xml version="1.0" encoding="windows-1252" ?>
    - <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
    Could somebody please point me in the right direction on debugging this? What could be causing this?
    Thanks in advance.
    Edited by: 862567 on Jun 17, 2011 1:44 AM

    roughly.. this seems to be a problem in mismatch of the xml schema.. one more thing.. is do we have web.xml for BC project.???.. y is the error coming on web.xml in BC project

  • PS-Relationship between the system status in wbs elements and activities.

    Relationship between the system status in wbs elements and activities.
    We have the following requeriment with the system status in PS. We have a project with complete technically status and we want to undo the complete technically status in one activity without changing the complete technically status in the WBS element or the project.
    The reason is that after putting the complete technically status, users have to change the values in the P.O. We don´t want "open" all the project and we only need to "open" the activity where the P.O. are in.
    Is that possible? How is connected the system status between activities, wbs elements and the project son I can change the status in the below step without changing the higher steps?
    Thanks in advance.

    Hi Bala
    Yes, you have put it rather correctly.
    We use WBS elements for booking and posting time (client requirement). So what I am looking for is WBS Elements with the system status TERL (Time and Expense Released).
    I talked of the deletion flag also, because a WBS element flagged for deletion can't be used. It's one of the criteria to screen the WBS elements.
    I hope it's clearer now.
    Vinitha.

  • Error "Copying statuses in modifuication mode not allowed, see F1 help"

    Hi,
    I am copying the status EXT_ALV_GRID_NEW of program to a Z status for the same program saplkaep
    I am facing the error Copying statuses in modifuication mode not allowed, see F1 help
    Could any one explain how to solve the problem.
    Please

    Hi,
    Try to switch of modification assistant using following path.
    Edit->modification operations->Switch off modification assistant.
    KR Jaideep,

  • Not allowing to query for all blocks.

    hi,
        i have a new question.
    I'm not able to query in all the fields of all blocks.
    I'm able to query only in all fields of master-block. But not able to query in fields of other blocks.
    I have set 'query all records' in the property palette to 'Yes'.
    What should i do do allow  it query & execute in all fields of all blocks?
    Thank you.

    Pl do not post duplicates - Not allowing to query for all blocks.

  • How to find out System Status of WBS Elements?

    Hi PS Experts!
    Please help me on my query.
    I want to get a list of WBS elements whose status is Released and can be used.
    If I try to search the table PRPS, it can only help me in finding WBS elements without deletion flag, with RA Key and so on.
    But the System status (such as Blocked for use) etc. is not present in the table.
    The one way I know is to get Object Number of WBS element from PRPS Table and insert it in JEST Table to get system status.
    Or alternatively, I give the WBS element no. in CJ20N t-code, and then check for System Status.
    These 2 methods work, if I do it one WBS Element at a time. If I need to get thousands of WBS elements in such a fashion, it's tedious.
    So could anyone help me on this issue?
    Thanks in advance,
    Vinitha.

    Hi Bala
    Yes, you have put it rather correctly.
    We use WBS elements for booking and posting time (client requirement). So what I am looking for is WBS Elements with the system status TERL (Time and Expense Released).
    I talked of the deletion flag also, because a WBS element flagged for deletion can't be used. It's one of the criteria to screen the WBS elements.
    I hope it's clearer now.
    Vinitha.

  • Project stock (WBS element) not consider in QA07 Transaction

    Standard SAP transaction QA07 for Deadline monitoring of batches not
    considering project stock (WBS element) for the same
    Kindly suggest for your possible solutions as we are going to fully equipped with
    project system and its stock must be
    considered for background scheduler of recurring inspection
    Waiting for your kind and immediate action
    With Regards,
    Kunal Sheth

    Hi!
    We regret to inform you, that the report RQAAAS10 ( QA07 ) does not             
    support project stocks.                                                                               
    For better understanding of the transaction QA07, I would ask you kindly        
    to review the documentation for the report RQAAAS10.                                                                               
    Here are the Requirements for this report:                                                                               
    'The batch master data corresponds to the selection conditions.                 
    Only those batches that full fill the following conditions are examined:                                                                               
    -the batch status is "released".                                                                               
    -the unrestricted-use stock is greater than zero.                                                                               
    -the stock is not in a HU storage location'                                                                               
    This means that all 'special' stock locations, like for example project         
    stock, will be not relevant for this transaction.                                                                               
    Unfortunately SAP not able to provide a workaround for your                  
    issue, with the exception of a customer own development. In this case           
    you can copy the report and make the correspondent adjustments needed.          
    Best regards
    Erika

  • 0PM_ORDER - WBS element not populated by extractor

    Hi all
    Just wondering if anyone has experienced a similar problem.
    We use this data source as part of our PM master data loads. It runs every night, no problem. Iu2019m busy with a new user requirement regarding Project (WBS) costs as posted on PM orders, and I was pleased to see that 0PM_ORDER has field PROID (WBS) on it already u2013 thought I was half way to building my query!
    Except, the field is not populated. Even when I run the extractor on the R/3 system to test (for an order type PM05 on which WBS element is a required entry), I never get any values in this field. I had a look on SDN and OSS and have seen a number of posts about the conversion exits relating to WBS elements, but this presupposes that a value is being populated in the extractor, which in my case is not happening.
    Does anyone have any suggestions?
    Regards, Lara

    0PM_Order extracts the data of WBS element on the tab "location" on the PM order (IW33). It doesnt extract the WBS element on the tab "Additional data".
    I am not sure how these WBS elements are different, your PS consultant might have an answer. Either you can have user exit to fill this field or ask your ECC abap consultant to fill the same in both fields of order, if doesnt make any difference. I am also in same situation, keep me posted if you have have get any new information from your PS consultant or SAP.

  • WBS element not populating at item level

    Hi Gurus,
    <br>I am trying to create a new sales order using the function module SD_SALESDOCUMENT_CREATE but when i pass a <br>value for the WBS element at item level it is not getting populated in the back end system.
    <br>
    <br>  data :LT_RETURN                     TYPE TABLE OF  BAPIRET2,
    <br>         LT_SALES_ITEMS_IN             TYPE STANDARD TABLE OF  BAPISDITM,
    <br>         LT_SALES_ITEMS_INX            TYPE TABLE OF  BAPISDITMX ,
    <br>        LT_SALES_PARTNERS             TYPE TABLE OF  BAPIPARNR ,
    <br>        LT_SALES_SCHEDULES_IN         TYPE TABLE OF  BAPISCHDL ,
    <br>        LT_SALES_SCHEDULES_INX        TYPE TABLE OF  BAPISCHDLX ,
    <br>        LT_SALES_CONDITIONS_IN        TYPE TABLE OF  BAPICOND ,
    <br>        LT_SALES_CONDITIONS_INX       TYPE TABLE OF  BAPICONDX,
    <br>        LT_SALES_CFGS_REF             TYPE TABLE OF  BAPICUCFG ,
    <br>        LT_SALES_CFGS_INST            TYPE TABLE OF  BAPICUINS ,
    <br>        LT_SALES_CFGS_PART_OF         TYPE TABLE OF  BAPICUPRT,
    <br>        LT_SALES_CFGS_VALUE           TYPE TABLE OF  BAPICUVAL ,
    <br>        LT_SALES_CFGS_BLOB            TYPE TABLE OF  BAPICUBLB ,
    <br>        LT_SALES_CFGS_VK              TYPE TABLE OF  BAPICUVK ,
    <br>        LT_SALES_CFGS_REFINST         TYPE TABLE OF  BAPICUREF ,
    <br>        LT_SALES_CCARD                TYPE TABLE OF  BAPICCARD ,
    <br>        LT_SALES_TEXT                 TYPE TABLE OF  BAPISDTEXT ,
    <br>        LT_SALES_KEYS                 TYPE TABLE OF  BAPISDKEY ,
    <br>        LT_SALES_CONTRACT_IN          TYPE TABLE OF  BAPICTR ,
    <br>        LT_SALES_CONTRACT_INX         TYPE TABLE OF  BAPICTRX,
    <br>        LT_EXTENSIONIN                TYPE TABLE OF  BAPIPAREX ,
    <br>        LT_PARTNERADDRESSES           TYPE TABLE OF  BAPIADDR1 ,
    <br>        LT_SALES_SCHED_CONF_IN        TYPE TABLE OF  BAPISCHDL2 ,
    <br>        LT_ITEMS_EX                   TYPE TABLE OF  BAPISDIT ,
    <br>        LT_SCHEDULE_EX                TYPE TABLE OF  BAPISDHEDU ,
    <br>        LT_BUSINESS_EX                TYPE TABLE OF  BAPISDBUSI ,
    <br>        LT_INCOMPLETE_LOG             TYPE TABLE OF  BAPIINCOMP ,
    <br>        LT_EXTENSIONEX                TYPE TABLE OF  BAPIPAREX ,
    <br>        LT_CONDITIONS_EX              TYPE TABLE OF  BAPICOND ,
    <br>        LT_PARTNERS_EX                TYPE TABLE OF  BAPISDPART ,
    <br>        LT_TEXTHEADERS_EX             TYPE TABLE OF  BAPISDTEHD ,
    <br>       LT_TEXTLINES_EX               TYPE TABLE OF  BAPITEXTLI ,
    <br>       LT_BATCH_CHARC                TYPE TABLE OF  BAPIBTSEL ,
    <br>        LT_CAMPAIGN_ASGN              TYPE TABLE OF  BAPISDCA ,
    <br>        LT_CONDITIONS_KONV_EX         TYPE TABLE OF  KONV .
    <br>
    <br>  DATA: LV_SALESDOCUMENT_EX           TYPE           BAPIVBELN-VBELN,
    <br>        LT_SALES_HEADER_OUT           TYPE           BAPISDHD,
    <br>        LT_SALES_HEADER_STATUS        TYPE           BAPISDHDST.
    <br>
    <br>  DATA: LV_VALUE_SALESDOCUMENT        TYPE           BAPIVBELN-VBELN,
    <br>        LT_SALES_HEADER_IN            TYPE           BAPISDHD1,
    <br>        LT_SALES_HEADER_INX           TYPE TABLE OF  BAPISDHD1X,
    <br>        LT_SENDER                     TYPE TABLE OF  BDI_LOGSYS,
    <br>        LV_BINARY_RELATIONSHIPTYPE    TYPE           BRELTYP-RELTYPE,
    <br>        LV_INT_NUMBER_ASSIGNMENT      TYPE           BAPIFLAG-BAPIFLAG VALUE 'R',
    <br>        LV_BEHAVE_WHEN_ERROR          TYPE           BAPIFLAG-BAPIFLAG VALUE ' ',
    <br>        LT_LOGIC_SWITCH               TYPE TABLE OF  BAPISDLS,
    <br>        LV_BUSINESS_OBJECT            TYPE           BAPIUSW01-OBJTYPE VALUE ' ',
    <br>        LT_TESTRUN                    TYPE TABLE OF  BAPIFLAG-BAPIFLAG ,
    <br>        LV_CONVERT_PARVW_AUART        TYPE           BAPIFLAG-BAPIFLAG VALUE ' ',
    <br>        LV_STATUS_BUFFER_REFRESH      TYPE           BAPIFLAG-BAPIFLAG VALUE 'X',
    <br>        LV_CALL_ACTIVE                TYPE           CHAR4.
    <br>
    <br>  DATA: WA_SALES_PARTNERS             LIKE LINE OF   LT_SALES_PARTNERS,
    <br>        WA_SALES_SCHEDULES_IN         LIKE LINE OF   LT_SALES_SCHEDULES_IN,
    <br>        WA_SALES_CONDITIONS_IN        LIKE LINE OF   LT_SALES_CONDITIONS_IN,
    <br>        WA_EXTENSIONIN                LIKE LINE OF   LT_EXTENSIONIN,
    <br>        WA_SALES_ITEMS_IN             LIKE LINE OF   LT_SALES_ITEMS_IN,
    <br>        WA_SALES_TEXT                 LIKE LINE OF   LT_SALES_TEXT.
    <br>
    <br>  LT_SALES_HEADER_IN-DOC_TYPE       = 'ZSAL'.
    <br>  LT_SALES_HEADER_IN-SALES_ORG      = '1000'.
    <br>  LT_SALES_HEADER_IN-DISTR_CHAN     = '02'.
    <br>  LT_SALES_HEADER_IN-DIVISION       = '01'.
    <br>  LT_SALES_HEADER_IN-PMNTTRMS       = 'Z020'.
    <br>  LT_SALES_HEADER_IN-DUN_COUNT      = '0'.
    <br>  LT_SALES_HEADER_IN-ADD_VAL_DY     = '00'.
    <br>  LT_SALES_HEADER_IN-EXCHG_RATE     = '0'.
    <br>   LT_SALES_HEADER_IN-BILL_DATE      = SY-DATUM.
    <br>
    <br>data lv_kunnr type kunnr value '106475'.
    <br>
    <br>CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    <br>  EXPORTING
    <br>    INPUT         = lv_kunnr
    <br> IMPORTING
    <br>   OUTPUT        = lv_kunnr.
    <br>
    <br>  WA_SALES_PARTNERS-PARTN_ROLE      = 'AG'.
    <br>  WA_SALES_PARTNERS-PARTN_NUMB      = lv_kunnr.
    <br>  APPEND WA_SALES_PARTNERS TO LT_SALES_PARTNERS.
    <br>
    <br>  WA_SALES_PARTNERS-PARTN_ROLE      = 'WE'.
    <br>  WA_SALES_PARTNERS-PARTN_NUMB      = lv_kunnr.
    <br>  APPEND WA_SALES_PARTNERS TO LT_SALES_PARTNERS.
    <br>
    <br>  WA_SALES_TEXT-ITM_NUMBER = '000010'.
    <br>  WA_SALES_TEXT-TEXT_ID = 'ZS01'.
    <br>  WA_SALES_TEXT-LANGU =  SY-LANGU.
    <br>  APPEND WA_SALES_TEXT TO LT_SALES_TEXT.
    <br>
    <br>  WA_SALES_TEXT-ITM_NUMBER = '000010'.
    <br>  WA_SALES_TEXT-TEXT_ID = '3010'.
    <br>  WA_SALES_TEXT-LANGU =  SY-LANGU.
    <br>  APPEND WA_SALES_TEXT TO LT_SALES_TEXT.
    <br>
    <br>  WA_SALES_SCHEDULES_IN-ITM_NUMBER  = '000010'.
    <br>  WA_SALES_SCHEDULES_IN-REQ_QTY     = '22'.
    <br>  APPEND WA_SALES_SCHEDULES_IN TO LT_SALES_SCHEDULES_IN.
    <br>
    <br>  WA_SALES_CONDITIONS_IN-ITM_NUMBER = '000010'.
    <br>  WA_SALES_CONDITIONS_IN-COND_TYPE  = 'ZMAN'.
    <br>  WA_SALES_CONDITIONS_IN-CURRENCY   = 'NOK' .
    <br>  APPEND WA_SALES_CONDITIONS_IN TO LT_SALES_CONDITIONS_IN.
    <br>
    <br>  WA_EXTENSIONIN-STRUCTURE          = 'BAPE_VBAK'.
    <br> *  WA_EXTENSIONIN-VALUEPART1         = '090000000200'.
    <br>  APPEND WA_EXTENSIONIN TO LT_EXTENSIONIN.
    <br>
    <br>data lv_MATNR type MATNR value '000000000000000031'.
    <br>
    <br>CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    <br>  EXPORTING
    <br>    INPUT         = lv_MATNR
    <br> IMPORTING
    <br>   OUTPUT        = lv_MATNR.
    <br>
    <br>  WA_SALES_ITEMS_IN-ITM_NUMBER      = '10'.
    <br>  WA_SALES_ITEMS_IN-MATERIAL        = lv_MATNR.
    <br>  WA_SALES_ITEMS_IN-TARGET_QTY      = '1'.
    <br>  WA_SALES_ITEMS_IN-TARGET_QU       = 'ST'.
    <br>  WA_SALES_ITEMS_IN-SHORT_TEXT      = 'TESST AJ'.
    <br>  WA_SALES_ITEMS_IN-SALES_UNIT      = 'ST'.
    <br>  WA_SALES_ITEMS_IN-CURRENCY        = 'NOK'.
    <br>  WA_SALES_ITEMS_IN-WBS_ELEM        = '011215'.
    <br>  APPEND WA_SALES_ITEMS_IN TO LT_SALES_ITEMS_IN.
    <br>
    <br>  DATA : WA_ORDER_ITEMS_INX TYPE BAPISDITMX.
    <br>  DATA : LT_ORDER_ITEMS_INXN TYPE STANDARD TABLE OF BAPISDITMX.
    <br>  DATA : WA_ORDER_HEADER_INX TYPE BAPISDHD1X.
    <br>  DATA : LT_ORDER_HEADER_INXN TYPE STANDARD TABLE OF BAPISDHD1X.
    <br>
    <br>  WA_ORDER_ITEMS_INX-UPDATEFLAG = ' '.
    <br>  WA_ORDER_ITEMS_INX-ITM_NUMBER = '000010'.
    <br>  WA_ORDER_ITEMS_INX-MATERIAL        = 'X'.
    <br>  WA_ORDER_ITEMS_INX-TARGET_QTY      = 'X'.
    <br>  WA_ORDER_ITEMS_INX-TARGET_QU       = 'X'.
    <br>  WA_ORDER_ITEMS_INX-SHORT_TEXT      = 'X'.
    <br>  WA_ORDER_ITEMS_INX-SALES_UNIT      = 'X'.
    <br>    WA_ORDER_ITEMS_INX-WBS_ELEM   = 'X'.
    <br>
    <br>  APPEND WA_ORDER_ITEMS_INX TO LT_ORDER_ITEMS_INXN.
    <br>
    <br>  CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
      <br>   EXPORTING
    <br>     SALESDOCUMENT                 = LV_VALUE_SALESDOCUMENT
    <br>      SALES_HEADER_IN               = LT_SALES_HEADER_IN
    <br>*     SALES_HEADER_INX              =
    <br>*     SENDER                        =
    <br>*     BINARY_RELATIONSHIPTYPE       = ' '
    <br>     INT_NUMBER_ASSIGNMENT         = LV_INT_NUMBER_ASSIGNMENT
    <br>*     BEHAVE_WHEN_ERROR             = ' '
    <br>*     LOGIC_SWITCH                  = ' '
    <br>     BUSINESS_OBJECT               = ' '
    <br>*     TESTRUN                       =
    <br>*     CONVERT_PARVW_AUART           = ' '
    <br>     STATUS_BUFFER_REFRESH         = 'X'
    <br>*     CALL_ACTIVE                   = ' '
    <br>   IMPORTING
    <br>     SALESDOCUMENT_EX              = LV_SALESDOCUMENT_EX
    <br>     SALES_HEADER_OUT              = LT_SALES_HEADER_OUT
    <br>     SALES_HEADER_STATUS           = LT_SALES_HEADER_STATUS
    <br>   TABLES
    <br>     RETURN                        = LT_RETURN
    <br>     SALES_ITEMS_IN                = LT_SALES_ITEMS_IN
    <br>*     SALES_ITEMS_INX               =
    <br>     SALES_PARTNERS                = LT_SALES_PARTNERS
    <br>     SALES_SCHEDULES_IN            = LT_SALES_SCHEDULES_IN
    <br>*     SALES_SCHEDULES_INX           =
    <br>     SALES_CONDITIONS_IN           = LT_SALES_CONDITIONS_IN
    <br>*     SALES_CONDITIONS_INX          =
    <br>*     SALES_CFGS_REF                =
    <br>*     SALES_CFGS_INST               =
    <br>*     SALES_CFGS_PART_OF            =
    <br>*     SALES_CFGS_VALUE              =
    <br>*     SALES_CFGS_BLOB               =
    <br>*     SALES_CFGS_VK                 =
    <br>*     SALES_CFGS_REFINST            =
    <br>*     SALES_CCARD                   =
    <br>     SALES_TEXT                    = LT_SALES_TEXT
    <br>*     SALES_KEYS                    =
    <br>*     SALES_CONTRACT_IN             =
    <br>*     SALES_CONTRACT_INX            =
    <br>     EXTENSIONIN                   = LT_EXTENSIONIN
    <br>*     PARTNERADDRESSES              =
    <br>*     SALES_SCHED_CONF_IN           =
    <br>     ITEMS_EX                      = LT_ITEMS_EX
    <br>     SCHEDULE_EX                   = LT_SCHEDULE_EX
    <br>*     BUSINESS_EX                   =
    <br>*     INCOMPLETE_LOG                =
    <br>     EXTENSIONEX                   = LT_EXTENSIONEX
    <br>*     CONDITIONS_EX                 =
    <br>*     PARTNERS_EX                   =
    <br>*     TEXTHEADERS_EX                =
    <br>*     TEXTLINES_EX                  =
    <br>*     BATCH_CHARC                   =
    <br>*     CAMPAIGN_ASGN                 =
    <br>*     CONDITIONS_KONV_EX            =
    <br>.
    <br>
    <br> commit work.
    <br>
    <br>I am aware that there are other BAPI's available to create  a new sales order(BAPI_SALESORDER_CREATEFROMDAT2  <br>etc.) but the problem with using them is they internally call the same function module 'SD_SALESDOCUMENT_CREATE'. i  <br>have already tried to create the sales order using  'BAPI_SALESORDER_CREATEFROMDAT' but the effect is the same.
    <br>When I pass WBS element value in VA01 and create a sales order I can see that WBS element value is coming correctly.  <br>But when i create the sales order using ABAP code WBS element is coming as blank. When I execute this standard FM it  <br>creates the sales order correctly with a blank against WBS element. I checked in the VBAP table the value is not even  <br>populated there . Kindly share your valuable inputs for the same.
    - Akshay

    May be you have to post this in ABAP forum to get suitable suggestions.
    G. Lakshmipathi

  • Cannot change Status of WBS Elements

    Hi Guys,
    I am trying to change the status of a WBS element. When i try to change the status of the WBS element, I get the message that " THere are still open down payments for the WBS ". What does this actually mean??
    I found the downpayment GL and looked for the open items. In the open items i was able to find a line item to which this WBS is attached. Then i tried to go to the document, in which this line item exists. Now in order to clear the open line item with the WBS, how should i clear that line item?? I want to know how to clear the down payment for this WBS or the found out line item.
    Thanks.
    Kris..

    Hi,
    Run the report S_ALR_87013536 - Plan/Actual/Down Payment as Expense for the particular WBSE that was showing in the error. Here you would see the value of down payment against the WBSE.
    Run FBL3N for the down payment G\L by selecting the WBSE from dynamic selection. Here you can get the open line items with WBSE and relavent PO.
    For clearing the down payment discuss with your concern MM  and FI dept.
    Hope this could help you.
    Regards,
    Nag.

Maybe you are looking for

  • "Not a Path?" is not working

    Hello, i added a simple example vi where i have a path-control and a "Not-a-Number/Path/Refnum?" and as output a boolean. The boolean should be false if the path is correct and true if the path is invalid. Then i insert as path the value "c:\abc|||de

  • Total Number of line items in FBL3N

    Hi, I would like to have total number of open items (entries) as on  12/31/2008 for all B/S accounts. I just want the number. I can go in BSIS and click on number of entris but I have 1000's of Gl account to know the total number of line item. Is the

  • How do I turn off new threaded SMS messaging in OS 5.0?

    I upgraded to v5.0.0.328 but now all of my SMS & MMS messages are combined into long threads according to the incoming phone # or short code. That's all well & good if the messages were coming from separate phone #'s so they'd be in separate threads

  • Can anyone tell me how to do this effect

    can anyone tell me how to do this effect at the 1:38 mark thanks in advance http://www.youtube.com/watch?v=1Z_ZFHLVEsA&list=UUb934vQ6fg1JZQKvkCQ_j-Q&index=1&feature=p lcp

  • Hidden chapters/ pages on iBooks Author

    Is there a way of having "hidden" chapters or pages in an iBook so that you can only see them when a reference link is pressed? I would like to add some user stories in a book that will be available only upon request of the reader without interruptin