Error in using IDOC create contract

Hi experts,
               I am using standard IDOC BLAORD03 to create contract,but comes across error 'Enter purchase group' as Purchase group is a mandatory filed,but in my IDOC i have value in EKGRP which is Purchase group,I look into FM IDOC_INPUT_BLAORD and found it is using BDC to update data,but EKGRP is not filled into bdc table, then how can I resolve this issue?

For each SAP GUI screen for contract creation, the BDC data is generated with a user exit. If you look into FORM blaord_fill_batch_input_table (called in FM IDOC_INPUT_BLAORD), you will see calls to user exits, e.g. "PERFORM user_exit_003_call". Those are the exits you can implement to fill out data, such as purchasing group, that is not filled by standard codes.

Similar Messages

  • Send custom error message using IDoc conversion rule?

    Hello,
    I am using an Idoc conversion rule in BD79 to load cost centers.  In my conversion rule I use a conversion exit function module to concatenate 2 specific characters and sending cost center value together and then this output value placed in the receiving cost center field.  This works fine, but now I want to send a custom error message to the idoc and fail the idoc if the sending cost center value is greater than 8 digits. 
    Does anyone know how to send an error message or update an idoc with an error message using a conversion rule (bd79)?
    Thank you,
    Rhonda

    Hi Rhonda,
    Any luck on the below.. i have a similar issue...
    Sorry to hijack your thread...

  • Error in using AWM "Create Aggregation Plan Wizard"

    HI,
    I have 9205 database with OLAP option running on Linux ES3. I created 2 cubes & 7 dimensions using OWB and deployed it using the OWB Bridge. From there, I created AW & enabled the cubes using AWM. It also loaded data into dimensions and cube in AW and everything is visible in JDeveloper. Then I tried to create an aggregation plan for one of the cubes using the wizard & it gave me following error at the GET_LEVEL step. It is disconnecting the AW from AWM upon getting this error.
    Can someone help?
    regards
    Suresh
    java.sql.SQLException: ORA-03113: end-of-file on communication channel
    at oracle.olap.awm.util.jdbc.SQLWrapper.execute(SQLWrapper.java:225)
    at oracle.olap.awm.businessobject.aw.LevelBO.getOrderedLevelsForDimensionInAW(LevelBO.java:199)
    at oracle.olap.awm.wizard.aggplanner.AggPlanSelectLevelPanel.initialiseDimensionLevelHashtable(AggPlanSelectLevelPanel.java:210)
    at oracle.olap.awm.wizard.aggplanner.AggPlanSelectLevel.onEnterPage(AggPlanSelectLevel.java:125)
    at oracle.olap.awm.ui.wizard.Wizard.wizardSelectionChanged(Wizard.java:157)
    at oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard.processEventImpl(Unknown Source)
    at oracle.bali.ewt.LWComponent.processEvent(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard.selectPage(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard.doNext(Unknown Source)
    at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
    at oracle.olap.awm.ui.wizard.Wizard.showInDialog(Wizard.java:95)
    at oracle.olap.awm.wizard.aggplanner.AggPlanWizard.showInDialog(AggPlanWizard.java:129)
    at oracle.olap.awm.app.AwmFrame.showAggPlanWizard(AwmFrame.java:1263)
    at oracle.olap.awm.navigator.node.olapcatalog.AwCubeNode.actionPerformed(AwCubeNode.java:164)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Whenever you see "end-of-file on communications file" it means something bad happened (A crash) and a trace file should have been generated in your dump directory. You'll need to open a TAR with that trace file to get development to look at it.

  • Getting error in using the create Reservation API in OM

    Hi All,
    we want to reserve the item while creating the orders from interface tables.
    We are using the INV_RESERVATION_PUB.Create_Reservation for creating the reservation based upon the Lot numbers.
    We have first written the declare block(Anonymous) and reserved the quantity that was working fine using the batch is, orig reference (source order number) etc.
    But when we are using the same code to create a procedure it is giving us the following two errors.
    INV_RSV_SR_DETAIL
    Invalid Serial Number.
    We have checked that these errors are in the validate_serials proc in inv_reservation_validate_pvt Package.
    Can any of you please help us here so that we can overcome this issue.
    Thanks
    -Shivdeep Singh
    We got the error ... we are using a tbl type var for serial nos and initializing it from 0. Now are initializing it with 1. Everything is working fine now.
    Thanks
    -Shivdeep Singh
    Edited by: user1054040 on Apr 25, 2012 11:10 PM

    Hello Aditya,
    Thanks for showing interest in my question.
    To answer your question of what I am trying to do, I hope this can shed some light.
    I was given a PO number and an Outbound delivery number to work with.
    We have created a custom (module) program that handles transactions regarding outbound deliveries, and one feature of this program is to do a reversal of Outbound deliveries already posted.
    When using this reversal feature using the given PO as reference, the error message which I mentioned in my previous post, is displayed on screen.
    The user is curious why this happens and yet the posted outbound delivery involved is reversed.
    Additional info:
    • VL02n > Post Goods Issues - to process(?) given Outbound delivery
    • Custom program - to do the reversal process
    • VL02n does Mvt 641 while the reversal does Mvt 642.
    I apologize as to not being so clear but I am not so well versed with MM and its workings.
    Thanks.
    ~ ric

  • Error while using idoc adaptor

    Hi,
    Can anyone explain me what does this error mean.Im doing a file to IDOC scenario
    <SAP:Stack>Error: MSGGUID 2B8185203F5911DCBF410002556AD065: Tag found instead of tag IDOC BEGIN=</SAP:Stack>
    Thanks in advance,
    Bhargav

    Hi,
    Can anyone explain me what does this error mean.Im doing a file to IDOC scenario
    <SAP:Stack>Error: MSGGUID 2B8185203F5911DCBF410002556AD065: Tag found instead of tag IDOC BEGIN=</SAP:Stack>
    Thanks in advance,
    Bhargav

  • Catalog Manager Error when using the Create Report under Tools

    When trying to save the output from the Create Report option under Tools in the Catalog Manager, I get "An Internal error has occurred during: 'Catalog Report'".
    Has anyone else encountered this or does anyone have a suggestion?
    Thanks

    Hi Thaigo,
    We are also having the same problem with 2004s SP9 and SP10.
    1. All the 0TCA* are active.
    2. Super admin role is assigned.
    But still getting the above three errors. Somebody who have overcome this problem please share the corresponding changes to be made in KM Configuration
    Thanks and Regards
    Giri Nath

  • Use of provider contracts is not active

    When i create an invoice via the TA FPE1, after filled all the require datas , there would raise an error message Use of provider contracts is not active.
    Do anyone knows what's wrong with it?
    Thanks

    Hi Keith,
    Welcome to the SCN forums!
    SAPLSKEY
    You should first check your Abap dumps using tranaction code ST22, this usually provides more detail on the problem.
    In this case I think it's trying to return a screen (or pop-up message) that can't be handled while activating the web service. The "SAPLSKEY" tells me that it might be licence related, do you have a valid developer's licence for Abap development work? If not apply for one (find out the procedure from other Abap developer's that you may work with) & check if that makes a difference while activating.
    Regards, Trevor

  • Error When Using Class :(

    Hey,
    Class:
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Main extends MovieClip
            public var enemyA:Array = [];
            public var birdA:Array = [];
            public var rowNum:int = 2;
            private var gap:int = 100;
            private var obj_no = 2;
            public var enemy1:mychar = new mychar();
            public var TheBird:BirdChar = new BirdChar();
            public function Main()
                // constructor code
                createEnemyF();
                createBirdF();
                this.addEventListener(Event.ENTER_FRAME,loopF);
            public function createEnemyF()
                for (var i:int = 0; i < rowNum; i++)
                    for (var j:int = 0; j < obj_no; j++)
                        enemy1.x = Math.random() * stage.stageWidth - enemy1.width;
                        enemy1.y = - i * (gap + enemy1.height) - 30.65;
                        enemyA.push(enemy1);
                        addChild(enemy1);
            public function createBirdF() {
                TheBird.x = 270.95;
                TheBird.y = 350.95;
                birdA.push(TheBird);
                addChild(TheBird);
            public function loopF(event:Event) {
                updateEnemyPositionsF();
                updateBirdPositionsF();
                hitTestF();
            public function updateEnemyPositionsF() {
                enemy1.y +=  2;
            public function updateBirdPositionsF() {
                TheBird.x = mouseX;
            public function hitTestF() {
                if(TheBird.hitTestObject(enemy1))
                    gotoAndPlay(5);
                    trace('The Bird Hit Enemy 1');
    This conflicts and causes this error:
    1046: Type was not found or was not a compile-time constant: MouseEvent
    ^ ^ Code repeats to all of my event listeners
    Thanks for your time.

    Thanks, i thought it might be this because of previous problems but i seen i already had : import flash.events.Event; so i thought that would be OK!
    Second Error:
    1180: Call to an undefined method Timer.
    I think this is the same sort of thing but what to import to fix this?
    So far these are my imports:
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.TimerEvent;
    Thanks for helping.
    Date: Thu, 3 Nov 2011 05:36:22 -0600
    From: [email protected]
    To: [email protected]
    Subject: Error When Using Class
        Re: Error When Using Class
        created by markerline in Flash Pro - General - View the full discussion
    Looks like you imported events.Event but not events.MouseEvent (or some similar syntax) basically you must import MouseEvents separately from other Events.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4005227#4005227
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4005227#4005227. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Flash Pro - General by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Data Conversion to Create Contract Account

    What would be the best solution to use to create Contract Accounts from legacy data?  I am weighing the options of using LSMW and Emigall.  How would you weigh these options based on ease of use and performance?
    Thanks,
    Jeremy

    Hi, Jack
    Did you go to the path I indicated? In there, for each company code, you need to maintain which budget billing procedures you allow.
    0 means no BB procedure.
    SAP says:
    "If you enter 1 (statistical procedure), budget billing requests are managed as statistical items in the Contract Accounts Receivable and Payable (FI-CA) component and do not affect the general ledger.
    If you enter 2 (debit entry procedure), budget billing requests are posted as partial bills.
    If you enter 3 (payment plan procedure), the budget billing amount is requested as the new bill amount instead of the bill amount determined by billing and invoicing. The difference between the actual bill amount and the payment plan amount is managed in a special item. This procedure is used for monthly billing.
    If you enter 4 (payment scheme procedure), the bill amount is integrated into the budget billing plan. The bill can no longer be paid separately. The budget billing requests are posted as statistical items in the same way to the installment plan.
    If you enter 5 (down payment request plan), a special payment plan is created for industry customers. This plan is suitable for industry customers with monthly periods as the down payment plan for the month after next. To use this procedure, establish the settings in Customizing."
    After that, you need to maintain all the activities related to the BB procedures you want to use, in SAP Utilities / Invoicing / Budget Billing Plan. Check all activities and see what you need to customize.

  • No IDocs created; Database system

    Hi,
    While loading ODS from a DBConnect,the load has failed giving following error.
    No IDocs created; Database system
    Diagnosis
    No IDocs were created. The IDocs are created in BW with database systems as source systems. Since no IDocs were created, a short dump in BW probably occurred.
    I checked ,there was no short dump in BW.We have got this error many times.Everytime when we delele the bad request and repeat the failed IP, the load completes successfully.
    I am not able to find out the reason behind this failure.
    Can anybody help me out?
    Thanx.

    HI Prerana,
    Did you get any response to this, i too have had this twice and have had to kick off the loads manually. The only clue are two entries in sm21, where there was a 'database error 1034 at CON', which is a connection problem to oracle. So DB Connect failed to connect to the oracle database.
    Have you spoken to your basis team? Try find out if the DB you were connecting to had some problems at the point in time where your first initial process was accessing,  that should answer your question.
    thanks Geoff.

  • LSMW method for transaction ME31K ( Create contract)

    can anybody tell me in which method of LSMW i should use to create contract ( Tcode- ME31K). Is there any direct input method for this or i have to use BAPI_CONTRACT_CREATE?
    please answer it in details...
    Thnxx in advance..

    In LSMW,
    1st step Maintain Object Attributes. Here you can choose the kind of input method.
    For your purpose you can choose Batch input recording and then go for Recording overview.
    There you can do your recording for the tx.Similar to your BDC process.
    Hope this helps to some extent!

  • How to Create Contract Accounts through Data Conversion?

    What would be the best solution to use to create Contract Accounts from legacy data?  I am weighing the options of using LSMW and Emigall.  How would you weigh these options based on ease of use and performance?
    Thanks,
    Jeremy

    Hi Jeremy.
    Another option that I have used is the use of a start routine program that creates the master data on the fly.  Essentially, you create an internal table in the form of the master data or text table.  Then you call the function RSDMD_WRITE_ATTRIBUTES_TEXTS.  The code would look something like
    DATA: lt_text_data type standard table of /BIC/TZIOBJ,
              ls_text_data like line of lt_master_data.
    loop at DATAPACKAGE.
         ls_text_data-ZIOBJ = DATAPACKAGE-field.
         ls_text_data-ZATTR = DATAPACKAGE-text.
         appens ls_text_data to lt_text_data.
    endloop.
    call function 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
         exporting
               i_iobjnm = 'ZIOBJ'
              i_tabclass = 'T'
          tables
              i_t_table - lt_text_data.
    Hope that helps.
    Adam

  • SQL-BW ( No IDocs created)

    Hi,
      I have a BW 3.5 and I want to load data from an SQL view, I already made the connection, I can see the information in BW source system but when I try to load the data in an InfoSource the next error is shows <b>"No IDocs created; Database system"</b>.
    Sombody has the answere?
    Thank you

    Thank's vishnuC but didn't work. I erase the red request and then loadt it again with the PSA option, but I have the same error:
    <i>No IDocs created; Database system
    Diagnosis
    No IDocs were created. The IDocs are created in BW with database systems as source systems. Since no IDocs were created, a short dump in BW probably occurred.
    System response
    Procedure
    Check the short dumps in BW.
    Procedure for System Administration
    .</i>

  • Error while uploading the Real Estate Contract using IDOC & BAPI

    Hi  All ,
    I am trying to uploading the real estate contract data  by using  LSMW IDOC & BAPI methods  .
    In IDOC method I have used the Basic type as BUS1505_CREATE01 and Message type as BUS1505_CREATE. I have passed all mandatory fields then also i am unable to create the CONTRACT but and i am able to create CONTRACT using the bapi BAPI_RE_CN_CREATE  by passing the  values in SE37 and  i am able create CONTRACT manually in transaction code RECN  . Can any body know the reason .
    In BAPI method I have used the Business Object  BUS1505  ,Method CREATE  ,Message type BUS1505_CREATE and Basic type  BUS1505_CREATE03 . I have passed all the mandatory fields then also  i am unable  create the CONTRACT But with the same fields i am able create CONTRACT manually in transaction code RECN and i am able to create CONTRACT using the bapi BAPI_RE_CN_CREATE  by passing the  values in SE37  .
    Regards
    Srihari

    Hi All,
      I was passing blank entries so the above errors were coming. I removed those blank entries and now Im getting error like .
    "Individual renewal rule does not contain any extension periods"
    "No instance of object type ContractREFX has been created. External reference: REC <NEW>'.

  • Creation of PO/Contract/Scheduling agreement with ref to PR using IDOC

    Hi Experts,
    Is it possible to <b>create PO/Contract/Scheduling agreement</b> <b>with reference to PR</b> <b>using inbound IDOC ?</b>
    If yes, please let me know the segment type and field to be populated for referencing PR in the IDoc .
    Thanks in Advance,
    Best Regards,
    Mitesh Desai

    Hi Aarif,
    Thanks for taking time to reply .
    We are palnning to integrate SAP and non SAP systems.
    The business Process is as under .
    (1) PR will be generated in ERP (Manaul/MRP)
    (2) PR will be coverted into RFQ (for which there is no appropriate source of supply
         in ERP)
    (3) Sourcing will be done in non SAP system. RFQ will be created with dummy vednro (for example say "source") to identify RFQs to be sent to another system.
    These RFQs needs to be sent using IDOC alonwith reference PR numbers and line item numbers.
      Multiple PRs will be combined into one RFQ as multiple line items.
    (4) Non SAP system will do sourcing and generates either PO or master outline agreement and have reference PR/RFQ numbers and line item numbers.
    No SAP system will send PO/outline agreement information to SAP system in XML file format to generate inbound IDOC in SAP .
    (5) This inbound idoc will generate PO/outline agreement in SAP.
    From SAP functionality point of view, I ca createPO/outline agreement with reference to PR but <b>My Question is how I can generate PO/outline agreement in SAP through IDOC and using "Reference PR or RFQ numbers".</b>
    Looking forward to help ASAP.
    Regards,
    Mitesh Desai

Maybe you are looking for

  • How do I copy and paste in an e-mail, like IE does?

    I tried to copy and paste into an e-mail, like I do on IE, it won't work on firefox, I wanted to know how to, or I will have to drop firefox as my browser I don't know about text, but pictures and cartoons

  • Problem with v('APEX_USER')

    Hi, my application has a login page 101. After succesfull login the application navigates to page 1. In this page a process ist startet at 'Before Header'. This process is defined as application process and calls a stored procedure in the database. I

  • SQL Loader inserting string

    Hi, I have recently started using SQL loader and have got a request which i need help in order to do :- Lets say there is an excel file with data to be loaded into 'test' table. the data looks like this customer_id   customer_location +1 new york+ +2

  • Web Dynpro ABAP ALV Filter Dropdown

    Hi, I have a question regarding the filter in the ALV. I would like to implement a filter with a dropdown box showing all possible values of a DDIC domain. The results should look like on the following screenshot (Taken from a POWL list) [Screenshot|

  • Hayanyuu - Japanese IME written in Bash

    Download: http://sprunge.us/UEOW New version below I've had an idea for looking up compounds in edict2 for a long time (almost two years). And I've finally written a GUI for it. It's an addition to an IME I wrote two months ago called hayanyuu. A sma