Issue in reversing the GR

Hi All,
I have a program which is used to reverse the GR for a particular purchase order.
Before reversing it,
Service Entry Sheet (SES) for that purchase order is released using function module "BAPI_ENTRYSHEET_RESET_RELEASE". After this i have performed transaction commit. Then to delete this SES, function module "BAPI_ENTRYSHEET_DELETE" and there is a commit after this.
But the issue here is, lets say i have two SES. While releasing and deleting the first SES, the second SES is getting triggered and being processed. Hence it is showing Run time error.
To avoid this, i thought of adding a WAIT statement after BAPI_ENTRYSHEET_RESET_RELEASE, but it cause performance issue.
Please help me in sorting out this issue.
Thanks in Advance.

Hello Spandana Musham.
     I have also faced this issue with BAPI and I opted for BDC finally.    
Regards.

Similar Messages

  • Issue in Reversing the payment order in IHC2 T code.

    Hello All
            I am doing REVERSING THE PAYMENT ORDER using IHC2 T code.
    While doing reverse it is creating the payment items for the respective payment order.
    Here is my requirement, need to change the posting date for the creating payment item for the reversal process.
    please let me know if we have any enhancement points to overcome this issue.
    Thank you all.

    Hello Spandana Musham.
         I have also faced this issue with BAPI and I opted for BDC finally.    
    Regards.

  • Issue while reversing the doc

    Hello Friends,
    Before activation of cost element for a GL account we had done few postings into it.  Later on we realized and activated cost element, but the problem is there are some postings in the GL account which we posted before activation of  the cost element for this GL account, so those are not transferred to respective cost center. Now system Is not allowing to reverse those transactions as it is asking cost center assignment. But there is no cost center assignment in the original document.
    How can we rectify this issue?
    Rgds
    Murali. N

    Hi Murali
    To my mind, I see the solution in 2 steps and it seems possible to me
    1. Use OKBA and transfer the postings from FI to CO.... This will transfer all the postings which were made before creation of cost element
    You can specify a default cost center in KA02 or in OKb9 for this purpose
    2. Once the postings go in CO, reverse the FI documents now.... It will hit the same cost center as in step 1
    3. Now remove OKB9 entry
    4. make postings from FI again
    I am sure this should work
    Regards
    Ajay M

  • Issue with reversal of MIRO for Planned Delivery Cost

    Hi Xperts
    We have found out an issue while reversing the MIRO document for Planned Del costs. When we have done the MIRO, the accounting entry got correctly posted with correct account keys.Conditions are not inventoried.
    However, when we had reversed it - the stock account got hit.Do not understand, why that happened.Do you have any clue?
    1. Suppose we have done the MIRO for Del Cost & then performed GR.Now Stock has already consumed & afterwards we have found that the MIRO for Del Cost is wrong & reverse - in this scenario shall the Stock account will get a hit????
    2. I have maintained Price Control "V" in Material Master.However, I have maintained a Standard Price by mistake.In that case shall SAP ignores the MAP & takes Standard Price into account & post PRD??
    Regards
    Soumick 

    Hi,
    Before checking Planned Delivery costs accounting documents in MIRO posting and MIRO cancellation document, 1st check how Planned Delivery costs designed for your procurement process.
    Use t.code:ME23N, check your Purchase order
    Option-1:
    Is Planned Delivery costs added to inventory account and at the same time Planned Delivery costs posted to Separate Planned Delivery costs G/L account.
    OR
    Option-2:
    Is Planned Delivery costs posted to Planned Delivery costs G/L account ONLY
    OR
    Option-3:
    Is Planned Delivery costs added to inventory account ONLY.
    Based the above one setting, system  will post goods receipt and invoice posting document with corresponding accounting entries. Also cancellation of invoice posting document refer to these setting.But account posting depends on price control available in material master.
    NOTE:
    Standard price procedure (price control “S”):The system carries out all stock postings at a price defined in the material master. Variances in price are posted to price difference accounts.
    Moving average price (price control “V”): The system valuates goods receipts with the purchase order price and goods issues with the current moving average price.Differences in price between the purchase order price and the invoice are posted directly to the relevant stock account if there is sufficient stock coverage.
    Regards,
    Biju K

  • Oracle data integrator , reverse the tables

    Hi all,
    am new to odi. Is there any possibility of passing the table name as parameter to reverse it.. am facing issues in reversing the table ,as there large number of views and tables in a schema it takes long time to import. even i tried using selective reverse also.
    kindly let me know.
    Thanks in advance,
    nithya

    Hi All,
    I need to compare two tables say A which is in source and A1 which is in target based on id, if id exists in A1, then need to load the contents from table c in source to table c1 in target. if not need to throw a error message. this is the scenario.
    Please let me know how to do in ODI. Am completely new to odi. problem is i dont know how to compare the id's , before using IKM incremental update knowledge module.
    Thanks in advance

  • HU error when Reversing the goods issue in STO process

    Hello Gurus,
    I will explain the whole process we follow for STO:
    1. Create sales order ->Based on PR in sales order schedule lines, PO will be created -> outbound delivery -> Pack in HU -> PGI -> based on output type Idoc will be triggered -> this outbound IDOC will create the Inbound IDOC and Inbound delivery -> Here HU will copied from Outbound delivery (Means both in inbound delivery and outbound delivery HU is same)-> then do the Good receipt in Inbound delivery.
    Now when user doing the goods receipt he is getting error MSSA-SATRA exceeded by 1PCE  The reason is someone deleted the item from the sales order.  Hence when user trying to post the GR it is checking for the open sales order item in MSSA table.  Since it has been deleted from the sales order he cant able post GR.
    Now user does not wants to receive this item, hence we wants to reverse the process.
    So we followed the below process:
    1. Unassigned the HU in Inbound delivery and then deleted the Inbound delivery.
    2. Then used VL09 transaction to reverse the goods issue.  But system giving error saying that HU is already assigned to object.
    I cant able to reverse the Goods issue since the HU is same in Inbound delivery and outbound delivery.
    Kindly suggest the reversal process for the above case.  Many thanks for your help in advance.
    Awating for your valuable replies.
    Br,

    Insted of deleting the handling units you should have un assign the handling units from inbound delivery.You have deleted the handling units and the same handling units will not be available in outbound delivery Pack icon.
    Do one thing are you able to enter line item in sales order ?.If yes then create inbound delivery manually and create new handling units for the qty and do GR.
    Currently where is the stock is it transit ?.If yes then above option may work.
    If nothing is possible only an option to write a SAP oss note they will correct your outbound delivery and inbound delivery.

  • Reverse the material document before cancelling the excise invoice.

    Dear Experts,
    While cancelling the exice invoice thru J1iex , system is giving me an error message "Reverse the material document before cancelling the excise invoice" .......I checked PO history where all the material documents are already cancelled with MIGO cancellation (movement 106 )
    But in J1iex , if I select the cancel option and put this invoice number , it is showing me one document with status "IN PROCESS" and if I select that doc and try to save it. System prompted me the message "Reverse the material document before cancelling the excise invoice ,but if I am trying to post this document system is issuing me a message "All Part I entries have been canceled for excise invoice ...........xx.Exicse table J_1IGRXREF and J_1IPART1 alrady update with both documents.kindly any one suggest me positive.
    MINI

    Hello
    follow the below steps
    1. MIGO:Cancel the material document (movement type 102) & during cancellation update part1 only. This changes the excise invoice document status to In process
    2. J1IEX:Post the excise invoice referring the material document (of movement type 102). Creates an accounting document to reverse the CENVAT postings. Creates a corresponding entry in Part II of the appropriate excise register
    Thus the excise postings are reversed.
    3.J1IEX: Cancel the excise invoice (Do this if your plant does not allow multiple goods receipts per excise invoice).Now the system will allow you to cancel the vendor excise invoice
    above the procedure right. you will get this updation excise registers also
    Laxman

  • Delivery got canceled without reversing the invoice

    Dear All,
    I came across very strange scenario in one of our client.
    In the export process below are the steps involved.
    Sales order u2013 delivery (no PGI) u2013 pro forma invoice (wrt delivery) u2013 PGI u2013 Export invoice (wrt Delivery)
    Some end user has canceled the pro forma invoice and then reversed the PGI and canceled the delivery, without cancelling the Export invoice, and then created new delivery u2013 pro forma invoice u2013 export invoice.
    So, the question is how system has allowed reversing the goods issue and canceling the delivery without cancelling the export invoice.
    Now, in system it is showing delivery as archived and pro forma invoice as cancelled, but still showing Export invoice.
    System is also not allowing canceling the export invoice, as when we tried to cancel the same it throws an error that the delivery (which has been archived) does not exist.
    Kindly note that the item category has been configured as delivery related billing.
    Can this be possible because of any user exit? or any other reason? and what can be done?
    Thanks,
    Ritesh

    hi,
    THis is possible if the enduser with the help of Abaper or if he has the knowledge and authorization to use ABap tables, he can edit the table and delete the relevant data as required.
    This cannot be traced even by abapers.
    Thanks and regards,
    Sudhir

  • Cancel or reverse the process ordrer confirmation posted in a closed period

    Hi SAP experts,
                              It would be very nice of you if you could solve this issue for me.
                              The issue is -
                               There is a process order created and released for a material on 01.07.2010.Partial confirmation for the order was done on 15.07.2010 but the posting date was entered as 14.06.2010.So the stock for the material got posted on 14.06.2010 which was supposed to be posted on 14.07.2010. Now, if we try to cancel the order confirmation in the current month through CORS , system is giving errors because the posting period is closed .
                               Is there any way to reverse the postings without opening the posting period?
                               How we can open the field for the posting date in the transaction CORS where we can assign new posting date for the cancellation of the order confirmation. Is it possible to enter this new posting date as 01.07.2010 now because the posting period for July is currently open?
    Best regards,
    RAB

    The reason for reversal is that - the goods receipt on the date 14.06.2010 should tally with the goods receipt for the process order created for the month of June 2010 on that particular date as per the daily production report developed for client. In this case, only one process order is created for a material for each month and that is confirmed daily as per the daily production and then confirmed and settled finallly at the end of the month.
    Now the requirement is that the excess goods receipt posted in June 2010 for the process order created for July 2010 should be reversed so that the goods receipts for the June's process order on that particular date for that material match properly.
              Actually , to compensate for this wrong posting done  by the user on 14.06.2010, another confirmation for the same order of July 2010 was done for that material with same qty. with correct posting date(14.07.2010) so that the goods receipts for July 2010 for the material for that process order are proper.
             I am sure you must have clearly understood the issue. Is it possible to cancel the the order confirmation done with posting date 14.06.2010 by giving new posting date as 01.07.2010? Whether this will display proper stock for the material in June as well as July? Kindly confirm.
    Best regards,
    RAB
    Best regards,

  • Quantity Issue while Reversing a Paid Credit Memo of Vendor Return PO?

    Has anyone encountered the following problem when posting & reversing GRIR transactions against a Vendor Return PO'?
    We have a Vendor Return PO with a single line item - the return indicator is checked. The PO is issued and released. The GR is entered (mvmt type 161) and then the IR (credit memo) is entered. The user then entered another GR to reverse the transaction (mvmt type 162) and then attempted to reverse the Credit memo by posting an Invoice against it. The way they did it, the invoice added another quantity credit of 100 but posted the $ value (debit) correctly - as this is an invoice and not a credit memo, the quantity that posted should have also been a debit of 100, not a credit.
    Has anyone experience this issue? Could the problem be the order in which the document reversals were entered? Instead of entering them in the order that they were originally entered, maybe they needed to reverse the credit memo 1st and then the GR (mvmt type 162)? Could the fact that the transaction occurred last year and we are attempting to correct it this year, make a difference?
    Also, we have no idea how to get the quantity to correct.....any help would be appreciated.
    Thank you.

    Anyone to help on this please, thanks in advance.

  • Reversing the reversal document

    Hi,
    I have an request, User had done stock transfer for example A to B(Plants) with a given document no and with mov type 641.And again  he had reversed the document by mov type 642.
    Now he want to reverse the document from mov type 642 to mov type 641 ,
    the question, is how TO REVERSE THE REVERSAL DOCUMENT AND HOW IT CAN BE DONE.
    We have tried by going into vl02n screen but unable to change the movement type as it not in display mode.
    Try to help me out.
    Rgs,
    Tilak.

    Hi
    You have reversed the movement type 641 to 642, means you have reverse the PGI.
    Now to again change the movement type from 642 to 641 you do the PGI of same delivery.
    Manually you can not change the movement type in Delivery document. Movement tYpe 641 will transfer the stock of material in Transit, and its reverse is 642 which will again take the material from Transit stock to Unrestricted Stock.
    Hope this will resolve your issue and clear your doubt too.
    Regards
    AA

  • System Lock Error while reset & reversing the cleared document - FBRA

    Hi Experts,
    Currently using t-code FBRA, when user trying to reset & reverse the cleared document , they are facing "System Lock Error". We have analyzed on this issue and found SAP note no. u201C487347 u2013FBRA: Overflow of the lock table in production systemu201D . After implementation of this note, SAP has created one new transaction code, FBRA_LOAC.
    However, when we tried to reset & reverse the cleared document using t-code FBRA_LOAC, we face the same error.
    Can you help me to resolve this issue ?
    Thanks in advance.
    Regards,
    Manish

    Hi:
          We once faced these issue and got it resolved by extending parameter after extending the profile-parameter "enque/table_size", as per note note 13907. Do not forget the restart the server after extension.
    Regards

  • Error while reversing the 101 document

    Dear Experts,
    i am getting the below error when reversing the document i.e 102 mvt type.
    ''Trans./ev. type of doc. WE not processable w. function WA''
    please help
    Regards
    prakash

    Dear,
    As its understood -
    Error : Transaction / event type of document WE not processable with function WA.
    Where is docyment WA - For Goods issue and WE - For Goods Receipts.
    I think you are attempting MIGO - Goods Return with movement 102 and entering material document number of Goods Issue or vice versa.
    Please make sure the entered reference material document number you are entering.
    Regards,
    Syed Hussain.
    Edited by: Syed Hussain on Sep 30, 2008 10:23 AM

  • Delivery deleted  with out reversing the GR in Inter company PO

    Hi Ever one
    Can any body suggest the below issue.
    By mistake user has deleted Out bound delivery with out reversing the GR in Inter company PO
    At the other end receiving site has sold the goods where I am unable to do reverse the GR bez stock is not available, even If create the delivery once again I need to do GR other wish It will be In transit.
    kindly help me out
    Regards
    sudha

    Hi Kishor
    yes, first Goods receipt has to be reverse, but user did mistake
    After PO creation, delivery and PGI in VL02N, and Invoice in VF01 finally GR in MB0A with ref to delivery
    in reverse also first GR need to be reverse in MBST and Invoice and delivery in VL09.
    but by mistake delivery has bee reversed in VL09 with out reversing GR where as it is allowing to do so( this delivery had not been Invoiced )
    Awaiting for your reply
    Thanks & Regards
        sudha

  • COPA document not generated when Post Goods Issue is reversed.

    Hello Friends,
    WE uses Stock Transport Order in two steps for transfering Stock from one plant to another.  We have defined a Condition type FRB1 to capture the Freight cost involved in the stock transfer.
    When the Post goods issue is done for the Stock Transport Order. following Accounting documents are generated.
    Accounting
    Profit Center
    COPA
    Spec. Purpose Ledger
    Controlling Document
    Material Ledger document.
    But When the Post goods issue is reversed through transaction code VL09 all the above documents are generated except for COPA document. Though in controlling document it shows the object type hit is REO i.e profitability Analysis
    For further information we have mapped cost element (600150) with Value field in PA transfer structure (Direct assignment from FI and MM. Movement type used for PGI are 641 & 642.
    Thank you

    Dear Colleagues
    I thank all those who put in thier time and efforts for possible solution for my problem. But I could resolve this issue with help from SAP.
    Basically in costing based COPA the system does not post the cost of goods sold to COPA during goods issue but it is done at the time of posting the invoice since the system wants to see the revenues and the COGS values together.
    Since the system posts the COGS into COPA at the time of invoice posting, you will appreciate that if this is also done during goods
    issue then you will have duplicate entries in your COPA (i.e. the COGS will be doubled).
    If in transaction VL01N/VL02N a costing-based line item would be posted, the costs would be double in CO-PA (the billing and goods issue). For this reason, no costing based line items will be created in the standard R/3 system for transaction VL01N/VL02N.
    If for some reason you still wish to post the COGS to COPA during goods issue you have to do the same thro a modification of the system.In your case you have applied note 214381 for the same. Please note here that movement type '641' is used as an example. For other movement types you will need to code accordingly.
    as per note 337488 point 2. the changes of note 214381 were not required in our case. Therefore we reverted these changes in LKEIIF01 and added the relevant coding for movement type 642 in function COPA_DOCUMENT_CHECK as per note 337488 point 2.
    Looking forward for your continued support
    Regards
    Umesh Gothankar

Maybe you are looking for

  • HT4356 My iPad no longer discovers my AirPrint printer. All on same WiFi network. Just stopped working

    Can someone help me? My iPad stopped discovering my HP AirPrint printer. So I cant print at all with no printer to slect. Both printer and iPad are on same WiFi network and connected.

  • Making combo box write variables

    Hi I am a dynamic site newbie, but have been making simple animations with Flash for some years. I have got a friend to give me a leg up to create a flash page full of input text boxes that write to a text file via PHP and are then dispayed in dynami

  • Cannot add or extend partition using file utility

    Here's the problem.  I now have 18TB of Thunderbolt attached storage, it was 12TB that I previously partitioned all well and good.  I've added some drives and now I'd like to extend the partition, or at least add a second partition. This is what I'm

  • Having Trouble Connecting to new wireless router...

    My family just purchased a wireless router. It is a D-Link. Previous to this, I had always used an ethernet cord to get online as I am right now. The router is all set up and I was using the wireless end of it for awhile with no problem until my dad

  • Vector troubles

    Hi everyone, I'm hoping someone can help me out... I have a Vector in which I store arrays, in the arrays I would like to put elements of a database. When I put the elements in the arrays (which already are stored in the vector), everything seems to