Runtime error during automatic purchase order

Dear Experts,
While i am trying to post automatic purchase order through tcode MB01..system is showing an run time error.
Runtime error RAISE_EXCEPTION
Date and Time 06/09/2009 14:26:03
hort dump has not been completely stored (too big)
Short text
Exception condition "WRONG_PARAMETERS" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "SAPLGLT2" raised the exception
condition "WRONG_PARAMETERS".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Program SAPLGLT2
Include LGLT2F07
Row 19
Module type (FUNCTION)
Module Name G_BEB_MOVE_ACCIT_TO_STRING
rce Code Extract
e SourceCde
*1 ----*
*2 * Created by : SAP* **
*3 * Date : 25.02.2007 **
*4 * Time : 10:01.44 **
*5 ----*
*6 * This Report is generated by Report RGUGGLT0 **
*7 ----*
8
9 IF I_LEDGER = SPACE.
10 RAISE WRONG_PARAMETERS.
11 ELSEIF SY-MANDT = '800' AND I_LEDGER = 'SP'.
12 IF NOT i_accit-GSBER IS INITIAL.
13 E_SPLIT+000000(000004) = I_ACCIT-GSBER .
14 ENDIF.
15 E_PARTNER+000000(000004) = I_ACCIT-PARGB .
16 E_BALANCE+000000(000004) = I_ACCIT-GSBER .
17 E_SPL_PAR+000000(000004) = I_ACCIT-GSBER .
18 ELSE.
>> RAISE WRONG_PARAMETERS.
20 ENDIF.
Kindly help me please. Because of this, i cant able to post.
Regards,
Prasath

Hi,
go to transaction snote in your system and press ctrl + F8 to download the sapnote 985672.
then go through the instructions in the note and implement it in the system.
As per the note corrections you need to do below depicted changes in the function module.
$$----
$$
$ Correction Inst.         0120031469 0000514577                     $
$ Req. Corr. Instructions  0120031469 0000486230 Note 0000942542     $
$----$
$ Valid for       :                                                  $
$ Software Component   SAP_APPL   R/3 Standard                       $
$  Release 500          To SAPKH50014                                $
$$----
$$
*& Object          FUNC G_BEB_BALANCE_DOC
*& Object Header   FUGR GLT0
*& FUNCTION G_BEB_BALANCE_DOC
      IF ld_baldoc_part <> xon.
     find items with partner assignment is set.
        CALL FUNCTION 'G_BEB_MOVE_ACCIT_TO_STRING'
          EXPORTING
*>>>> START OF DELETION <<<<<
            i_ledger  = id_ledger
*>>>> END OF DELETION <<<<<<<
*>>>> START OF INSERTION <<<<
            i_ledger  = ld_ledger
*>>>> END OF INSERTION <<<<<<
Don't do it manually when you will implement the note it will take care of corrections by itself.
KR Jaideep,

Similar Messages

  • [Request] Special user-exit we need during creating purchase order

    Hi, Gurus!
    We need to make specific User-Exit during creating Purchase order.
    When user creates/change a PO document (ME21N/22N), SAP has to check the u2018CUSTOMERu2019 filed whether it is BLANK or NOT in Delivery Address tab at ITEM LEVEL.
    If there is no value in that field, system will automatically input right value with useru2019s business logic.
    Thatu2019s what we want to implement in the future.
    If you have any solution or recommendation for this, Please help us.
    I really appreciate your help in advance.
    Best Rgds;
    Ian

    For checking user exit - SMOD, you need to activate this exit via CMOD
    For Badi - SE18 to check & SE19 to implement
    Take the help of your abaper, give him / her your logic.
    Hope the above answers your query.
    Regards,
    Vivek

  • MIGO 101 automatic purchase order creation

    Hi!
    We have Release 640 or at least 4.6C. We need to turn on the process, automatic purchase order creation by MIGO with movementtype 101 for two materials. So far the function in customizing is turned on (marked as on) but no reaction if I try it. The documentation is not very exactly than only to turn on which is already now! Can I fix this process just for two materials? What is wrong? Why does it not run? Do I need an additional note or any exit? Thanks for your support and help for more information for this process.
    Hi!
    So far I solved it on my own. It is an program error and solved with the note 324517.
    But another question. This is now running general but I need this process just for two materials not more! My idea would be to copy the transaction MIGO into a ZMIGO and fix this process just for the ZMIGO. So far, or is there a way to make this process only for the two materials available which I need in the original MIGO?
    Thanks a lot in advance and waiting to your reply asap.
    Best regards
    Kind regards
    Sabrina
    Message was edited by: Herbert Brunner

    Hello Herbert,
    perhaps you could use the BAdI MB_MIGO_ITEM_BADI to implement a check for the 2 given materials & issue an error message for everything else.
    Cheers,
    Attila

  • Automatic Purchase Order upon Goods Receipt 101/161

    Hi Guys,
    Hope everyone is well. I would like to know in as simple terms as possible, what is the use of Automatic Purchase Order upon Goods Receipt mvt 101 or 161. Can someone explain to me the purpose of this? or applicable in which type of business scenario?
    Because i think, if it is upon Goods Issue, then it is understandable, you would want to top up the stocks, but upon GR? Why?
    This is a non configuration question, just a business process question..

    >
    Nazrin84 wrote:
    > Hi Guys,
    >
    > Hope everyone is well. I would like to know in as simple terms as possible, what is the use of Automatic Purchase Order upon Goods Receipt mvt 101 or 161. Can someone explain to me the purpose of this? or applicable in which type of business scenario?
    >
    > Because i think, if it is upon Goods Issue, then it is understandable, you would want to top up the stocks, but upon GR? Why?
    > This is a non configuration question, just a business process question..
    This process is used in case of emergency when stock is required in the plant and we dont have time to first create PO and then get its approval and follow the normal process. In the case of emergency, we tell the vendor to deliver the material and on receipt of this material we take it into the system through GR and the corresponding PO is automatically generated.
    Usually this is option available in system, but it depends on the clients requirement whether they want this option available to end users or not. Mostly our clients prefer not to have this option enabled, as this way can lead to irregularities by the users.
    So they prefer to follow the normal process, but this process for above scenario is followed on war footings that way the GR takes place immediately when Goods are received.

  • Automatic Purchase Order Creation

    Dear All,
    I would like to test the scenario of automatic creation of PO. I have already checked the Auto PO indicator in material master and vendor master record. Info Record and Source list also exist. In MRP view i have maintained manual reorder point planning.
    When I run the MD02, system creates the Pur. Req.  but automatic PO generation doesn't exist. Please let me know what else I need to check or there is any more setting, which I have to do.
    Thanks and Regards,
    Vineet

    Dear Vineet,
    In SAP, the automatic Purchase Order(PO) creation is possible via ME59- which via Purchase Requisitions. I would like to remind you, the automatic PO creation is possible only if Purchase requisition exists with required pre-requisites.
    Not possible to create the PO from Requirements. I mean to say not possible thru MRP. Where MRP is a requirement planning, order proposal. Order placement is an another process, which can be automated thru ME59- when PR exists.
    Hope this helps.
    Njoy SAP
    -Saravanaganesh

  • Issue with Automatic Purchase Order creation.

    Hello
    I am creating Automatic Purchase Order via transaction ME59N.
    I have  1 Purchase Requistion for 2 line items having 2 materials .When I create PO the system is creating 2 different PO's instead of one PO even though the Vendor is same.I am not able to understand why 2 PO are created even though PR is 1 .
    I would like to have one Purchase Order with 2 line items in the same way I have 1PR with 2 line items.
    Regards

    Hi Satish
    Thanks for the reply.
    I checked the parameters and it is creating 2 PO when the Indicator Ordering address is set.If I uncheck this Indicator then only one PO is created.
    But now my question is from where is the Ordering address taken because for both line items Vendor is same and ordering address is also same.
    Then why the system is creating new PO?
    Regards
    Vaibhav Mahajan

  • Automatic Purchase Order Rounded Quantity

    Hello Everybody,
    I have a doubt with automatic purchase order, here is the situation:
    Purchase Requisition (ME51N) reference on a Contract
    ITEM 1 - Quantity 750,920 (Total Value $750,92)
    ITEM 2 - Quantity 29.041,640 (Total Value $29.041,640)
    Total Value PR: $29.792,56
    Automatic Purchase Order (ME59N)
    ITEM 1 - Quantity 750 (Total Value $750)
    ITEM 2 - Quantity 29.041 (Total Value $29.041)
    Total Value PR: $29.791
    I would like to know if when I execute the ME59N to generate automatic PO, the quantities from PR always will get rounded? It's possible to adjust manually (standard way) to generate them with all the quantity of the PR?
    Thank You!
    Best Regards,
    Raphael Palmieri

    HI,
    "CUNI is only for display, in background system will consider decimals in table level."
    Rephrase - CUNI you can only define how the decimals are presented to the user, but stored in tables is always with 3 decimals.
    Note: 23771,
    The same has been discussed many time, Follow mr JürgenL -
    Unit of measure rounding.
    Increase in decimal places for UOM

  • Conversion of sales order to automatic purchase order

    hii
    experts,
    i m doing automatic purchase order from sales order.my questions are as follows:
    1. can i create automatic purchase order from sales order . if yes then what r the steps involved.
    2. what r the account assingnment category and item category that i have to provide in purchase requisition.
    waiting for ur valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    HI, 
            You can not create PO automatically  from Sales Order, You can create PR automatically  from Sales Order  if it is a Third Party Process. Normally in Third party process , when you create Sales Order the PR will be created automatically. Through this PR Number you can create PO either manually or automatically(me59n). For this you need to configure some settings.
    In Material Master item category group should be -BANS (Standard).
    In Sales document type  should be assigned with Item catagory -TAS.
    In Schedule lin category -CS  you have to maintain the item category -S and order type- NB. And account assignment category-X.
    After this config when you create Sales Order , PR will be created automatically. In that PR you can see the item category -S and acct assignment -X.
    Regards,
    abi

  • TAX CODE not reflecting in automatic purchase order

    Dear MM/SD Gurus,
    We are in process of Transportation. Flow of business scenario is mentioned below.
    Sales order-> Delivery->Shipment->Shipment cost.
    After creation of shipment cost document, as configuration system is generating automatic purchase order for
    freight vendor and also post service entry sheet.
    But in purchase order genereted in back ground , there is no tax code in invoice tab though we had maintained
    master info record for Vendor,Material group,Plant,Purchasing org level.
    PO is genereted in D (Item Category) and K (Account assignment category) withouth any master data.
    So we maintained Info record on base of material group.
    Thanks & Regards
    Rajan

    Hi
    check your Po and see info record number is there or not and check your tax code in that info record again
    Regards
    kailas  Ugale

  • Automatic Purchase order approval

    Hi Friends,
    we are generating Automatic purchase order for drop shipping material.And business clients wants to have automatic approval. Is there any configuration settings to have Automatic approval for Automatic Purchase Order?.
    Thanks

    Hi,
    Can you provide additional clarification of how the WF can be used for automatic release as to my best understanding, WF will only be used for agent determination as well as e-mail notification transmission.
    Cheers,
    HT

  • Automatic purchase order deletion after SD order is deleted

    Hi forum,
    I managed to get the automatic purchase order creation to work. Now I have a few issues about it.
    - why is the workflow not deleted after the sd order is deleted?
    - why is the purchase requisition not deleted after the sd order is deleted?
    Thank you for help!
    Regards,
    Florian

    Hi
    If you delete the sd order, then automatically purchase requisition will get deleted.
    First you delete the sales order, and do the MRP Run - MD02 and view the requirement at MD04. Automatically requiement will get deleted.
    Reward if it helps
    Regards
    Prasanna R

  • Getting runtime error while doing sales order

    Hi,
    I am getting a runtime error while doing sales order.
    Error : SAPSQL_INVALID_FIELDNAME
    Kindly suggets....stuck up badly.
    cant do any transaction.
    Regards
    Kishan

    Hello,
    Check OSS Note#209847 and 310304
    Regards,
    Gauravjit.
    Reward points if the notes are helpful

  • Error in posting purchase order delivery

    Hi
    I got an error while posting purchase order delivery through Tcode- MIGO
    This is the Error Message:
    Posting only possible in 2009/04 and 2009/03 in company code XXXX
    I checked everything Fiscal year variant,Posting period variant,etc.
    And in Tcode- OMSY.
    Let me know as early as possible how to solve this issue.
    Thanks and Regards,
    Deepthi.

    Hi Deepthi,
    You need to understand that posting periods 3 and 4 does not necessarily mean march and april in SAP.
    Check your fiscal year variant for the months which correspond to periods 3 and 4.  Then you will be able to solve your problem by yourself.
    Open and close periods in FI -  OB52
    Close periods and open new periods in MM Side - MMPV
    Hope this helps you....
    Regards,
    Sreekanth....

  • Runtime error during full installation

    hi
    do any one know where SAPLE30B comes....
    i got a runtime error during full installation...
    it gives a error like : the error has occured because the table was not filled through user input on the selection screen of program SAPLE30D"
    i dont know where it went wrong
    i wil be greatful if u help me to solve it...
    Rdgs
    Chatriyan
    Edited by: Chatriyan india on Aug 1, 2008 7:46 AM

    Hi,
    this sounds as some field values were not transported to the internal tables. Which transaction do you use? In case you are trying to use dark installation routines, make sure all needed fields are filled (check within the dump). If this all does not help - open a customer message - a dump will always be inspected by SAP Support.
    KR
    Uwe

  • Error  during automatic PO creation by PR (ME59N)

    Dear All,
    Following errors has been shown after automatic po creation by ME59N:-
    Message text     Message Class  Message Number
    PO could not be created                   
    PO header data still faulty        MEPO               2
    Enter Validity End        ME              83
    Enter Latest GR Date        ME              83
    Can delivery date be met?        ME              40
    Requisition could not be converted     
    Please suggest how to solve above .
    with regards,
    Pradeep Bhardwaj

    Hello,
      to check the errors issued I suggest to try to create the PO converting the PR from transaction ME21N.
    I guess that some fields, mandatory for the PO creation, were not filled in the Purchase Request and could not be determined in any different way. If you can't maintain them on the PR you should set them as optional, if possible, in the customizing for Screen lay-out of transaction ME59N, under "Materials Management --> Purchasing --> Purchase Order --> Define Screen Layout at Document Level".
    Hope to be useful.
    Best regards,
    Andrea

Maybe you are looking for

  • My new Macbook pro is running very slow especially with photoshop. How can I speed it up?

    Hi there, I just bought my Macbook Pro two weeks ago specifiacally to use Photoshop CS and Lightroom together. It worked fine for the first few days but has slowed down considerably since then. I live in Taiwan which makes it difficult to go to a sto

  • Color Not printing on photographs

    Photographs that are in color are printing out in black and white.  Why? Ink cartridges are full

  • How to make a "health bar" ?

    Hi, I need a tutorial on how to create a "health bar" - I don't have a better word for it, but my idea is to have a bar (showing hapiness of a pet), and each time you push a button - the pet gains hapiness - and the "health bar" grows. What is this c

  • Is Apache 2.0.55 part of Tiger?

    Hi all, I have seen somewhere on the web the Apache 2.0.55 is supposed to ship with Tiger. Is this true? I have found /usr/sbin/httpd but it is version 1.3.33. I have a brand new MBP (and love it!) and in general am new to Mac. If 2.0.55 is not insta

  • Best lens for T4i for shooting at night with bright lights?

    I am looking for a lens for my Canon Rebel T4i. I am a news photographer and I shoot fire, police, and ambulance scenes at night where there are flashing lights like this: https://farm4.staticflickr.com/3857/15157183675_9500a2f415_b.jpg. My current l