Error when creating purchase order

Hello all,
when we create a purchase order in SAP and hit the SAVE button to create it, an error screen comes up and says:
Syntax error in program "SAPLECP_PDF"
What happened?
The following syntax error occurred in the program SAPLECP_PDF:
"The TYPE-POOL "ALVT" is unknown"
Error in ABAP applicatio program.
The current ABAP program "SAPLXM06" had to be terminated because one of the statements could not be excuted.
What can I do to fix that?
Thanks
Anne

SAPLECP_PDF is pretty small (open it in SE38)
3 statements are includes for user-defined files....
Of course it interacts with the form and customizing settings and may retrieve faulty entries from there that cause finally a syntax error. But I have not seen any SAP program that got shipped with a syntax error.
sorry had overlooked this hint TYPE-POOL "ALVT" .
Now i guess that the transport from your developement system to system  you get teh error was not complete.
Edited by: Jürgen L. on Feb 15, 2008 8:05 PM

Similar Messages

  • Error when create purchase order

    Hi all,
    I have a strange error when create po. it is display : Please enter item number greater than 0.that only a vendor and a material.I check the vendor and the material is same as other vendor and materials.if i first input the vendor and input the material then display message : Please enter item number greater than 0,but i can't input the item number. if i first input material and enter,then input vendor the system is ok. I check configer is ok. and other vendor , material also ok.
    thanks to reply.
    james

    Hi,
    Go to SPRO-Materials Management-Purchasing-Purchase Order-Define Document Types..
    Select your doc type which you are selcting at the time of PO creation..
    Say for e.g. NB.
    Now you have to maintain " Item Number Interval" as 10 in front of your doc type.
    This option is just after "Document Type Description".
    Now save and check.
    Cheers...
    Utsav..

  • Workflow issue when create Purchase Order automaticlly based on Sales Order

    dear experts,
    I got a problem when create purchase order automatically once the Sales Order created, the field ERNAE of the Purchase Order creatd is WF-BATCH, but we want this field to be the user log in the system, like John. Smith
    it seems this is a configuration issue, but i am not familar with workflow, do you experts have any solutions?
    thank you in advance.
    Hongtao

    thank you for you reply my friend.
    yes, i mean the PO creator.
    I just create a SO in VA01, then change the Schedule line category from CN to CP, then SAVE, then Confirm the Delivery Proposal. after all this, the PO will be created automatically by Workflow. Because when I display the PO via ME23N, it displays [Standard PO XXXXX  created by Workflow-System] on the top of the screen.
    But i do not know which workflow is trigered to create the PO. and i tried SWEL like you said, there is no record listed.
    do you have any other suggestions? thank you so much, friend.

  • 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 when creating purchasing group.

    Hi,
         i am facing two issue when creating purchasing group. i never had such a situation before.
    i have created two p.groups successfully and moved to quality.later i figured one of them is missing USER ID now when i try to enter user ID in user column getting below mention error.
    Entry XXXX Does not exist in USR02-check your entry.message no 00058.i have checked in USR02 None of ID's exist i used in newly created groups.but ID i used in other groups has no issue even doesn't  exist in USR02,but it shows value US in OB(Object type filed).
    both ID's are not being created in Development in other words SAP ID's with SU01 but we never had such issue before while changing or creating now purchasing group.
    Another thing i have noticed that OB(Object type field is missing in Dev.) i can see that field in Quality even in sand box but not visible in Dev.that when i use OME4.but when i use SM30-V_024 i can see the OB field.Somehow OB field is hidden when going through SPRO or ME04.
    This is about Sap ver.4.7
    Suggestion are much appreciated.

    Hi,
    Before creating new purchasing groups- 1st check your user ID is authorized to purchasing groups create in t.code: OME4.
    In development system you can creates new purchasing groups with USER ID and telephone numbers, upon saving system will create a transport request. Later you can transfer related transport request to quality system for your testing.
    For example: You can creates new purchasing groups with USER ID and telephone numbers
    Purchasing groups-------------USER ID ---------------Telephone numbers
    Z01-----------------------------------USR01------------------232569875
    Z02-----------------------------------USR02------------------232589876
    Regards,
    Biju K

  • Error when posting Purchase Orders

    Hello,
    Client gets the followin error for a particular item when doing purchase order : -
    No matching records found 'withholding tax'  (OWHT)
    The error does not appear when purchase order is done from the server directly, but appears on SAP clients.
    What could be causing this error ?

    hello Martin,
    is this error occur in only one particular BP or it occurs in all BP?
    if this error only occurs in one BP
    1. goto the BP master data - Accounting Tab - Tax sub-tab
    2. Check the tick box "Subject to withholding tax"
    3. WT Code allowed - clikc the button in the right side "This will open WT Code allowed window" set default one of the existing WT code available.
    4. Update BP Master Data.
    hope this helps...
    Fidel

  • Getting error when creat sales order and Stock Posting

    Hi
    I have created enterprise structure, xd01, mm01, ovkk but I count't post stock.
    When create sales order getting error is that
    1.This material is not defined for sales area 1000, 10, 00.
    And if i use this T.Code MB1C,
    2. Parameters for plant 1000 not maintained in Inventory Mgt.,
    *3. Unit *** is not created in language EN.*
    Thanks in advance

    Dear selvi sankaran
    1)  Compare the sales organization, distribution channel and division of customer and material.  In your case, either of that should have been created differently.  Maintain the same sales area and retry
    2)  Go to omi8 and maintain the required parameters to your plant
    3)  Go to Material Master, select "Additional data" and click on "Descriptions".  There maintain "EN" under language.
    thanks
    G. Lakshmipathi

  • Error when creating Production Orders: -5002 Invalid Code  [OWOR.Status]

    When creating Production Orders, I receive the error: -5002 Invalid Code  [OWOR.Status] on certain of the entries. Typically 200 orders are created at once.
    What could be causing the error?

    You may check this thread to have a reference:
    Setting the repByIns to Null
    Thanks,
    Gordon

  • Error when Approving Purchase order

    Dear all,
    we are using oracle applications version 12.0.4, I am facing an issue when a Purchase order is approved , the approver is getting a notification
    " Unable to reserve funds" and purchase order is going to pre-approved status. I tried to check funds from purchase order form but Its showing me a message
    "The header currently does not have distributions eligible for this action"
    Edited by: user13295191 on 02-Nov-2011 05:12

    A quick hack would be to try this functionality from the old form (instead of the OA page) just to know the error.
    Thanks,
    Vinod

  • Error in process when creating Purchase Order against WBS

    Hi!
    We are creating a purchase order (BBP_POC) against a WBS. But when trying to purchase for more than what the project budget is set to the purchase order gets the status "Error in process". We do not want the purchase order to be replicated to ECC but dont want it to be created in SRM as well. Is there a way to get an error message when trying to create the Purchase order? We do not want to end up with alot of purchase orders with "errror in process".
    When doing the exact same thins in sourcing cockpit it is not possible to create the purchase order. Then we receive the error message (or warning) stopping us from creating a PO in SRM.
    How to get the error and warning in BBP_POC?
    Sincerely
    Anders Öhrling

    The budget check should work in the following cases
        1. When you create and change a shopping cart (e.g. after it has been held)
        2. When you create and change a purchase order (purchasing cockpit)
        3. When you create a purchase order from within the sourcing cockpit (as of SRM 2.0)
        4. With the approval of shopping carts and purchase orders
    Unfortunately nr 2 is not working.
    BBP_BUDGET_CHECK is not implemented.
    Sincerely
    Anders Öhrling

  • Error when Creating Contracts: Ordering Party is not a Company

    Hi,
    When creating a local contract in SRM, we are getting this error: Ordering Party is not a Company.
    Has anyone encountered this?

    Hi,
    I could not find this error but did find the following one:
    BBP_ATTR               026   The organizational unit &1 is not a company
    Is this the same error ? It sounds like the Organization Structure is not correct here. A check happens in FUNCTION 'BBP_OM_TEST_COMPANY'. This is an Org structure issue, check the user, purchasing group, purchasing org etc in this case.
    I hope this helps,
    Kind Regards
    Lisa

  • Error when creating Production Order

    Dear All,
    When i was trying to create Production Order using CO01, there was an error message that says "error when calculating cost, see log, log is deleted when saving"
    what is the problem from that error message? how can i solve this problem?
    best regard,
    MARUFAT

    Cost consist of material cost which are the direct cost, it is calculated from the component and the material itself for which the order is created. If the material is semifinished or finished check whether the accounting view for these material contains value. These material could be costed as per the method mentioned by our friend or you may enter value through MR21 (if the material is not costed atall since it is created). It is recommended to update cost through costing run and by CO member. Now if the material is Raw material you need to maintain PIR.
    The second part could be the activity cost. These follows from the routing/receipe. Mostly the costing error is due to the inappropriate defination of either cost center or activity types. You need to confirm whether activity price are define for the period.
    Appriciating you for taking a concern on the costing error and not overriding.

  • Error on creating Purchase order document using DI API

    Dear all,
    I am getting an error "<b>Server threw an exception</b>"  at the time of initializing object of Purchse order document. code is
    vDrafts = GOD_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
    I am using SBO 2005B SP 0 PL-20.
    Reply as soon as possible.
    Regards,
    Manish Jha

    Hi Manish,
    I am not sure if I am right, but I remember something about a bug in SBO SDK that gave an error when trying create draft object. Not sure on which patch this was though and am not sure if this is your problem too. Maybe someone else can remember what patch it was on?
    Hope it helps,
    Adele

  • Error in Creating Purchase Order (ME21N)

    Dear Experts,
    A pleasant day to all of you!
    I would like to ask help because when I try to save Purchase Order, error messages "There is an error in the specifications for area 04 in co. code XXXX".
    Message no. AC391
    Diagnosis
    You specified for depreciation area 04 that asset values are to be automatically posted online, and that this area is to take over book values from another area. This specification is not correct. An area that allows for online automatic posting cannot take over values from another area.
    Procedure
    Correct the specifications for area 04.
    We really need to resolve this issue as soon as possible as it blocking activities on three company codes.
    It would be a great for me if you could help undertand the cause of the error.
    Points will be rewarded. Thank you!
    Best Regards,
    Jhay-R

    Hello,
    This problem is more of a customizing problem but you could try the                       
    following:                                                                               
    The message AC359 states in its help text, that you are using currency                    
    types, which indicates the usage of parallel currency. This is only                       
    possible by transferring a given value from area 01 into the other area.                  
    It is not possible to change the value by another valuation.                                                                               
    As your Company Code manages parallel currencies in Asset Accounting,                     
    you must define exactly one dependent area for each area that is                          
    supposed to post automatically online to reconciliation accounts.                         
    You have to define this area to take over identical values and                            
    parameters, and use the currency type xxx, and currency xxx.                              
    The xxx denotes your parameters. In addition please look at your                          
    Company Code in FI Customizing(TA OB22). In Asset Management                              
    you have to define a depreciation area for every Parallel currency you                    
    use in FI. This depreciation area(s) must be defined as areas for                         
    Parallel curriencies(Asset Balance Online as Parallel currency)                           
    The currency of this depreciation area must be the same as the                            
    Parallel currency in the FI.                                                              
    Also check whether the IMG follow menu path is activated:                                 
    Financial Accounting->Asset Accounting->Valuation->Depreciation Areas->                   
    Definition>.  Under the Takeover Rules->Takeover From:  W/out ability to                  
    change the box under "Depreciation Rules" is activated.                                   
    Hope this will help you.
    Regards
    Claudia

  • Error when creating planned orders with BAPI_POSRVAPS_SAVEMULTI3

    Hello,
    I am working on a program which duplicates planned orders from one planning version to another. To do this, I am using the BAPI BAPI_POSRVAPS_SAVEMULTI3.
    When I run the program, I get this error messae from the BAPI: A different planning version is being used.
    The flow of my program is the following:
    - Reading target planning version
    - Deleting orders with the same selection criteria than the orders to be duplicated
    - Reading source planning version
    - Creating read orders to target planning version (where it goes wrong)
    I worked before on another program which does the same but with manufacturing orders, and I did not encounter such a problem.
    Can someone help ?
    Thanks in advance.

    Hello Babu,
    I am facing the same error in BAPI_PIRSRVAPS_DELMULTI. Could you revert with the solution if you have got one.
    Thanks,
    Ankit

Maybe you are looking for

  • Does iPhone do Video Out via video cables?

    I can't find any reference to this in the iPhone user guide, so I'm guessing it can't, but I thought I'd ask here. Can iPhone send video out to an external TV using the iPod Video Connection Cable?

  • Infopackage red in process chain but green in monitor

    With our system (BW30B, patch14, W2K, Oracle 9.2.0.5) we are having some issues with some infopackages which are included in a process chain. In the process chain, the status is red with the following error messages: "Processing in Warehouse timed ou

  • Open iTunes option greyed out - why?

    Hello - I am wondering why, when connecting my ipad to my mac, it opens up in iPhoto, and why the open iTunes option is greyed out on the summary page. Any ways to change this? Thanks!

  • How could i make this effect ?!

    Hello A.M., Is there any chance to find a lesson how to make this effect ?! http://img253.imageshack.us/img253/2035/effecta.jpg Best Regards, SB4

  • Search help in dynpro

    Hi to all, In my application I have a field with a search help. I want that this field only can be modified using a search help and this field can't be modified directly writing in this field. Is similar to transaction se63 - Translation - Abap objec