Error while saving purchase order

Hi all,
While saving purchase order i am getting the following error.
Syntax error in program SAPLV61A
in include RV64A932
in line 10
Statement"*&"is not defined.check your spelling.
Thanks& Regards,
Hari.

Hi Hari,
I've just encountered the same problem as you have now in your latest post.
Normally the include that you mentioned is a formula condition value include which you can modify but you probably have
to register this object first on the SAP OSS pages to get an Access key to modify it.
After you've obtained a key launch transaction VOFM and comment out the line "TABLES: VBRK, VBAK".
As you see below SAP did exactly the same thing in several other includes.
Include FV64A582
-> is a formula condition value
    tx VOFM
            -> Formulas
     -> Condition Value
     -> Routine number 582
At line 37 I commented out "TABLES: VBRK, VBAK." which is not used
anyway in this include.
On top of that SAP commented out these definitions in several other
includes: eg. FOICH002, FOICH002, OI_LV61ATOI.
If other persons have comments on this topic please respond/advise.
Hari, inform us if this resolved your problem.
Also reward points if my post aided you in resolving your issue.
Thank you for feedback.
Best regards,
Tom Cockaert.

Similar Messages

  • What is the BADI  while SAVING purchase order using me22n?

    what is the BADI  while SAVING purchase order using me22n?
    while i will save purchase order through me22n, badi should be fire what is badi for that?
    regards,
    dushyant.

    Dushyant,
    Hopefully you know how to implement the BADI ME_PROCESS_PO_CUST now.
    The following are the codes that you can put in the method "Post".
      DATA: LW_HEADER        TYPE MEPOHEADER,
            LW_POSTED_HEADER TYPE MEPOHEADER,
            LW_VALID         TYPE MMPUR_BOOL,
            ITAB_ITEM        TYPE PURCHASE_ORDER_ITEMS,
            LW_ITEM          TYPE MEPOITEM,
            ITEM_INTERFACE   TYPE PURCHASE_ORDER_ITEM,
            ITAB_ACCT        TYPE PURCHASE_ORDER_ACCOUNTINGS,
            ACCT_INTERFACE   TYPE PURCHASE_ORDER_ACCOUNTING,
            LW_ACCT          TYPE MEPOACCOUNTING,
            LW_POSTED_ACCT   TYPE MEPOACCOUNTING,
            W_ACCT_CHANGED  TYPE C,
            W_GRANT_AMT      TYPE EKPO-NETWR,
            W_FINANCE_AMT    TYPE EKPO-NETWR,
            W_FLAG           TYPE C.
    Check if PO header data is valid
      CLEAR LW_VALID.
      CALL METHOD IM_HEADER->IS_VALID
        RECEIVING
          RE_VALID = LW_VALID.
      CHECK LW_VALID = 'X'.
    PO header data is valid
    Get the newly updated PO header data
      CLEAR LW_HEADER.
      CALL METHOD IM_HEADER->GET_DATA
        RECEIVING
          RE_DATA = LW_HEADER.
    Get the posted PO header data
      CLEAR LW_POSTED_HEADER.
      CALL METHOD IM_HEADER->GET_PERSISTENT_DATA
        IMPORTING
          EX_DATA = LW_POSTED_HEADER
        EXCEPTIONS
          NO_DATA = 1.
      IF SY-SUBRC <> 0.
        CLEAR LW_POSTED_HEADER.
      ENDIF.
    Get PO line items
      REFRESH ITAB_ITEM.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = ITAB_ITEM.
      LOOP AT ITAB_ITEM INTO ITEM_INTERFACE.
    Check if PO line item is valid
        CLEAR LW_VALID.
        CALL METHOD ITEM_INTERFACE-ITEM->IS_VALID
          RECEIVING
            RE_VALID = LW_VALID.
        IF LW_VALID <> 'X'.
    This PO line item is not valid
          CLEAR W_ACCT_CHANGED.
          EXIT.
        ENDIF.
        CLEAR LW_ITEM.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_DATA
          RECEIVING
            RE_DATA = LW_ITEM.
    Get the account interface
        REFRESH ITAB_ACCT.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_ACCOUNTINGS
          RECEIVING
            RE_ACCOUNTINGS = ITAB_ACCT.
        LOOP AT ITAB_ACCT INTO ACCT_INTERFACE.
          CLEAR LW_ACCT.
    Get the newly updated PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_DATA
            RECEIVING
              RE_DATA = LW_ACCT.
          CLEAR LW_POSTED_ACCT.
    Get the posted PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_PERSISTENT_DATA
            IMPORTING
              EX_DATA = LW_POSTED_ACCT
            EXCEPTIONS
              NO_DATA = 1.
          IF SY-SUBRC > 0.
            CLEAR LW_POSTED_ACCT.
          ENDIF.
          IF LW_ACCT-LOEKZ <> LW_POSTED_ACCT-LOEKZ OR
             LW_ACCT-KOSTL <> LW_POSTED_ACCT-KOSTL OR
             LW_ACCT-PRCTR <> LW_POSTED_ACCT-PRCTR OR
             LW_ACCT-PS_PSP_PNR <> LW_POSTED_ACCT-PS_PSP_PNR.
    Account assignment was changed
    We will force this PO to go through workflow
            W_ACCT_CHANGED = 'Y'.
          ENDIF.
        ENDLOOP.
      ENDLOOP.

  • Error while saving Production Order

    Hi all
    I am getting the following error while saving the Production Order -
    "Class for order classification has not been generated".
    I went into the custiomization settings and tried to generate the class. But I get another error "No batch input data for screen SAPMSSY3 0131". The line items are also all in red and green.
    Any help would be highly appreciated.
    Thanks in advance.
    Hrishi

    Solved.

  • Error while saving Prod order - "Class for order classification"

    Hi all
    I am getting the following error while saving the Production Order -
    "Class for order classification has not been generated".
    I went into the custiomization settings and tried to generate the class. But I get another error "No batch input data for screen SAPMSSY3 0131". The line items are also all in red and green.
    Any help would be highly appreciated.
    Thanks in advance.
    Hrishi

    Solved

  • Error while saving service order?

    Dear SAPIENTS,
    While saving service order system is throwing error in commitment check
    message number  CO634
    can anybody tell where i need to check to resolve this problem?
    Regards,
    Kaushal Rai

    hi
    In FMAVCR01 you can see the amount avaialble for the fund center and commitment item combination ,
    in the maintenance order itself from the menu Goto>Assignments>fund center
    i think you are using the funds management where the system picks up the commitement item for the respective material in the order you specified ,kindly consult with your FICO person also
    regards
    thyagarajan

  • Error while saving sales order

    Hi I am encountering below error message while saving sales order:
    Warehouse
    Specify export data in material master
    Then I go to material master to check foreign trade export tab, and I had maintained commodity code export group, country of origin and region of origin, what did I miss? Help.

    Hi,
    Check whether you have activated legal control data for the Sales Order type configuration in Foreign Trade.
    If the Order type is activated then the following error message can pop up unless you maintain in material master.
    See whether export legal control data is activated or not for the order type.
    In IMG Sales and Distribution>Foreign trade>Legal control section
    Regards,
    Saju.S

  • G/L Account Error While doing Purchase Order In ME21N

    Hi,
    While Doing Purchase Order in ME21N,i am getting the below error.Kindly help me.
    G/L account 809001 cannot be used (please correct)
    Message no. ME045
    Diagnosis
    Comparison of the field selection strings from the G/L account 809001 and the account assignment category F reveals that there is an incompatible combination of field selections for the field selection group 'Network'.
    The G/L account field selection is stored in table T004F; that for the account assignment is stored in table T162K.
    Procedure
    Please enter a correct G/L account.
    Thanks
    Supriya

    Hi Supriya,
    U will have to check the field status of account assignment category F in tcode OME9 and compare it with the Field status group that is assigned to GL 809001.
    Kindly note that the field status has a prority in the following order.
    Supress
    Display
    Required
    Optional
    Thus if the network field is suppressed in GL field status and option in account assignment category F, then the below error would come.
    Regards,
    Kiran

  • To set an error while saving the order when the item categor changed in CRM

    Hello SAP Gurus,
    As per our current system set up, whenever the order created in CRM once replicated to ERP should not change the item category in CRM .If the item category is changed( allows the system) and saved, it gives an error as u201CItem category should not be changedu201D. We have been encountering  this type of issue since long back
    To avoid this type of issue, an error should through while saving the order when the user changes the item category in CRM.
    Can someone help me to achieve this.
    Thanks in advance.
    Cheers
    Sreedhar

    Sreedhar,
    Can't you control it by Item Category determination?
    JD

  • User exit or BADI while saving purchase order

    Hello,
    I want to use an user exit or BADI while saving of purchase order. The objective is to check the material group of the line item while saving. We don´t want to allow to save purchase orders for one material group.
    Can you please guide me.
    Thanks
    Srinivasan

    Hi
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
    You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivationsChange of data in standard fields
    Change in field selection
    you can use this BADI for checking the material group
    Thanks & Regards
    Kishore

  • Error while creating purchase order with account assignment category "A"

    Dear All,
                      At the time of creating purchase order with account assignment category A - Asset its throwing error as " GL Account 123400 can not be used"
    how to resolve this  issue"
    Edited by: Matt on Sep 16, 2010 10:09 AM - removed bold tags

    HI,
    Assign all assets GL to Asset Class
    spro --> financial accounting new -->assets accounting --> assets accounting (lean Implementation) --> organization structures --> Assign GL
    Hope Help U !
    Regards,
    Pardeep Malik

  • Error while cancel Purchase Order

    Hello everyone.
    I'm trying to cancel a Purchase Order which has a Purchase Delivery Note.
    First I cancel the Purchase Delivery Note and than I try to cancel the Purchase Order, but I'm having the following error: "The requested action is not supported for this object."
    If I manually cancel the Purchase Delivery Note, I can successfully cancel the Purchase Order by code.
    Here is the code I'm using:
    Documents lDocumento = Globals.AddOn.ConexaoAuxiliar.GetBusinessObject(BoObjectTypes.oPurchaseDeliveryNotes);
    lDocumento.GetByKey("DocEntry");//DocEntry is just an example
    Documents lCancelamento = lDocumento.CreateCancellationDocument();
    if (lCancelamento.Add() != 0)
         throw new Exception(Globals.AddOn.ConexaoAuxiliar.GetLastErrorDescription());
    Then I try to cancel the Purchase Order:
    Documents lDocumento = Globals.AddOn.ConexaoAuxiliar.GetBusinessObject(BoObjectTypes.oPurchaseOrders);
    lDocumento.GetByKey("DocEntry");//just an example..
    if (lDocumento.Cancel() != 0)//if can't cancel, try to close
         if (lDocumento.Close() != 0)//if can't close, show error..
              throw new Exception(Globals.AddOn.ConexaoAuxiliar.GetLastErrorDescription());
    SAP 9 PL 10

    Hi Leandro,
    Sorry, I missed that bit. But that brings to mind, you create the cancellation document, but apparently you do not explicitly cancel the purchase delivery note.
    Could you please test that ? So for example:
    if (lCancelamento.Add() != 0)
      if (lDocumento.Close() != 0)
    //etc.
    Could you also please test commenting out the code that closes the purchase order, and then check from the B1 client that the delivery was closed and linked to a Returns document ?
    Regards,
    Johan

  • Issue while saving Purchase Order

    Dear all
    I am trying to save a Purchase order, the taxes in Purchase order -> Invoice -> Taxes are not getting populated corectly.
    Is there any user exit/Badi to populate the same.
    Thanks in advance.
    Regards
    Dinesh

    if tax rate not triggered in po mean, some where wrong in ur tax process , pls check the blw
    If its Taxinn procedure,
    1- check in FTXP the tax code is created towards ur tax procedure and country
    2- check in FV12 for the condition types say JMOP,JEC1 and others, whthere tax rate and validity are defined properly.
    3- for JMX1 cond type , keep its 100%
    4- check in obbg , the tax proce is assinged to ur country or not??
    let me knw, if u r not able to solve???

  • Error while transferring Purchase Order from ECC to SUS

    we are working on plan driven procurement and transferring the PO from ECC to SUS, we are getting the error as "No partner found for partner number ECCSUS8".
    In ECC the Vendor No is ECCSUS8, trasfered vendor from ECC to SUS. Vendor registration is done based on the mail generated and vendor login is created in the portal and assigned the roles.

    Hi
    Are you facing this error in PO transmission to SUS (as you mentioned below)? or you are facing this error while sending out the vendors from R/3 to SUS from BD14?
    If you are facing this in vendor transmission, you need to remove the tick (flag) "Use self reg component" in SPRO-SRM server-Supplier Self-ServicesMaster DataMake Settings for Business Partners. Then you can transmit the vendors from R/3 succesfully.
    If this error is in PO transmission, need to analyse further.
    Pls do let me know.
    Thanks
    Kiran

  • Mobile Sales - Error while Saving Sales Order

    Hi,
    When I try to create and save a sales order in the Mobile Sales, the error message UI_CONT_STATUSBAR_ICON_TT is displayed, blocking the saving process and the new order is not saved.
    I tried to debug the SAP Mobile Application Studio(Visual Basic) side and I didn`t find any error there.
    Does anyone knows what could be happening?
    Thanks for any help.
    Regards,
    Andrew

    I reinstaled the Mobile studio and then it worked.

  • Run time error while saving sales order

    Hi all,
    i am working on IDES ECC 6.0, when i am saving an sales order(OR) i am getting run time error in the table CRMPAROLTP, program SAPMV45A.
    i am using 4 GB RAM, still having a space of 30 GB for only IDES to save the data.
    so, how to solve it.

    Hello,
    I doubt the runtime error (I am assuming you mean that you got a short dump) you mentioned in your original post has anything to do with the warning messages you see when doing a check (Ctrl+F2) on table CRMPAROLTP and program SAPMV45A.  These warnings should not cause a short dump or runtime error.
    The warning message for the table has the following long text:
    Table CRMPAROLTP: Key length > 120 (Restricted functionality)
    Message no. DT214
    Diagnosis
    The key length, i.e. the sum of the field lengths of all the key fields of the table, is more than 120 bytes.
    System response
    This is a warning.
    Procedure
    Note the following restricted fuctionality for this table:
    - Table contents cannot be transported by specifying key values, at
      best by specifying generic key values with a maximum length of 120
      bytes.
    - The table may not be used as the base table of a lock object.
    The warnings in SE38 for program SAPMV45A are mostly related to Unicode and have no reference to the table CRMPAROLTP.
    If you haven't already done so, please check the SAP Note referenced in my first reply since this does provide a solution for short dumps related to table CRMPAROLTP.
    Of course, since I don't know specifically what the short dump message is that you received, I could be basing my assessment on false assumptions.  If you have those details it is better for the SDN community as a whole if you include the information in this thread instead of sending it to me offline.
    Best Regards,
    Jamie

Maybe you are looking for

  • Why is it that when I try to redeem my iTunes gift card it goes to a session timeout?

    Every time I try to redeem my iTunes card it just sends me to a session time out.. Also, even when I try to create another account, it sends me to the same page telling me I have a session time out. I don't know how to fix this.

  • My memory is 4gb for my macbook pro what is ram??

    My memory is 4gb for my macbook pro what is ram??

  • Getting error in building source distribution

    While building source distribution, I am getting an error  Error copying files. Source: ..\Program Files\National Instruments\LabVIEW 8.6\resource\visarc Destination: D:\Chirag\builds\Arduino LLB\Arduino LLB\data\data\visarc Librarian Path Location.v

  • Most Recent Timeline Doesn't Open

    Sometimes when I open FCP, the project opens, but often times an older version comes up. I have to go to "autosave vault" and find the latest version of my project. IKNOW I"M SAVING IT BEFORE I CLOSE FCP. I'm not doing a save as, or have any multiple

  • Everything is broke! gstreamer, pidgin [SOLVED]

    Whats going on with arch? its not a bleeding edge anymore, its "fix you system after each upgrade" :\ First I had a lot of errors from ldconfig that /usr/lib/libgstX is bad because ELF header does not contain a good magic number (something like this)