Duplication of record when posting (post)  in Form6i

Duplication of record when posting
I have three tables as follows
Master Table 1
PurchaseOrder
     TNo                         Number,
     PurchaseOrderNo      Varchar2(100),
     PurchaseOrderDate      Date,
     PartyCode                Varchar2(30)
Detail Table 2
PurchaseOrderDetail
     TNo                         Number,
     SNo                         Number,
     SerialNo               Number,
     ItemCode               Varchar2(30),
     Quantity1               Number
Detail of Detail Table 3
PurchaseOrderDetailFooter
     TNo                         Number,
     SNo                         Number,
     FooterHeadCode          Varchar2(30)
     footerValue               Number
Relation
     1. PurchaseOrder.TNo = PurchaseOrderDetail.TNo
     2. PurchaseOrderDetail.TNo = PurchaseOrderDetailFooter.TNo
          and
          PurchaseOrderDetail.SNo = PurchaseOrderDetailFooter.SNo
In Form6i     
     post required to move record to next record in PurchaseOrderDetail Block
But some time when post is executed, PurchaseOrderDetail record duplicated
I am unable to find the reason
Message was edited by:
HARISH

Do you have call to any procedure which does some DML.
Try to figure out whther it is trying to insert into same table before you post???
As I dont see your form, this is what I can think visually, or your Block might have a duplicate entry populated?????
You need to investigate as this is specific to your application.
Thanks and Regards,

Similar Messages

  • Error when posting Planned Records using FNM1 in Loan Module!!

    Hi,
    I am getting error "50 E INTEREST EXP or ZBA CONTRA ACCT cannot be replaced' when positng the interest payment for loan in loan module. The system has posted a planned record and i see it in the cash flow however when posting the planned record it is giving the above error.
    Your inputs are greatly appreciated.

    check loan posting scheme here:
    Spro - SAP Banking - Loans management - Functions - Accounting - Define account determination
    Check posting category against debit/credit posting codes and linked GL accounts for your account symbols or post here what you have defined and I couldl see what the problem is

  • Error 51 when posting IDOC to SD

    Hello All,
    We are changing our EDI translator which had a SAP extension automatically process the IDocs into SAP using ALE process.
    I'm testing the new procedure scheduling a job to run RSEINB00.
    The error I'm getting is (51 enter a numeric value) when posting an order in SD. 
    IDocs are created with the follow status.
    50 - IDoc added
    64 - IDoc ready to be transferred to application
    62 - Direct call started
    51 - enter a numeric value.
    On the partner profile is set-up as Message type ORDERS process code ORDE and processing by function module is set to trigger immediately.
    Is there something I'm missing? 
    I can get around this by reprocess the IDocs using BD87 ‘Process Inbound IDocs' the orders are created.
    This would be a manual process and something I do not want to do.
    Please Help
    Joan

    Hi Nandu,
    I'm not sure how to run BD87 in foreground mode. I did run BD87 using the debug mode.
    The error is No batch input data for screen && - SAPM55430121 - Message no. 00344 and the diagnosis were:
    The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.  The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).
    I ran the same idoc using BD87 without the debug and it was posted.
    I do not want to use transaction BD87 when we go live. 
    Is there a config that I needs to set up?
    Is there something in the control record I'm missing?
    Joan

  • Generate DELVRY  Idoc when Post goods issue is done in SAP

    I need to generate an Idoc when post goods issue is done in SAP (outbound to SAP) .I understood that I can do this using the message control .The message type DESADV with the process code DELV will support this.
    But I didn’t understand how to trigger the Idoc.In the current scenario our Company is doing the post goods issue in SAP for the in three different ways.
    1.Manually doing the post goods issue through the transaction VL02N
    2. an Inbound Interface (using Idoc)  which will do Post goods Issue in SAP
    3.Another Interface using BAPI, which will, do post goods issue in SAP
    I have to run my outbound interface when the post goods issue is done by all the above three ways.  Can any one help me out in this?

    You have to configure the output first .
    You can use output type LAVA ( avaialble in Std SAP ) .
    ( Tcode is NACE , Select Application V2 -> Outputtypes ).
    ( Create condition records suitable to generate an output)
    Next is ALE.
    Setup a distribution Model ( for DESADV ) and all other setup for ALE i.e. Distribute Dist. Model / Generate Partner Profile .
    In the Partner profile in WE20 select your partner system. Double CLick on Outbound Message DESADV ( this wd be there after you generate partner profile , if not add it here in outbound ) . On this screen goto tab MESSAGE CONTROL .
    Application - V2
    Message Type - LAVA
    Process Code - DELV.
    Now you are ready to go. The moment a PGI is done in any form an output LAVA would be proposed and processed using process code DELV.
    Cheers.

  • FDERecoveryAgent: No recovery record to post

    Every time I reboot my Lion Filevault Mac, the following FDERecoveryAgent items always appear in my console log.  Firevault was installed AFTER upgrading to Lion.
    If I understand FDERecoveryAgent
    8/29/12 9:15:09.022 AM FDERecoveryAgent: Waiting for CoreStorage encryption be activated, will try again in 5 seconds
    8/29/12 9:15:14.036 AM FDERecoveryAgent: Waiting for CoreStorage encryption be activated, will try again in 10 seconds
    8/29/12 9:15:25.018 AM FDERecoveryAgent: Waiting for CoreStorage encryption be activated, will try again in 20 seconds
    8/29/12 9:15:45.035 AM FDERecoveryAgent: Waiting for CoreStorage encryption be activated, will try again in 40 seconds
    8/29/12 9:16:25.316 AM FDERecoveryAgent: No recovery record to post (this may be normal if you change keys more frequently then the recovery service can be contacted)
    8/29/12 9:16:25.505 AM com.apple.security.FDERecoveryAgent: spawn: launchctl unload -w /System/Library/LaunchDaemons/com.apple.security.FDERecoveryAgent.plist
    I have not changed my encryption keys since initial Filevault enablement (other than turn on encryption for my Time Machine volume).
    If I understand the agent properly.
    NAME
         FDERecoveryAgent -- Full Disk Encryption Key Recovery Transmission Agent
    DESCRIPTION
         FDERecoveryAgent sends encrypted CoreStorage key recovery information to Apple.  It is run only when
         "Store the recovery key with Apple" is selected, and even then only if the information could not be
         transmitted when that option was first selected.
    Then this means that my mac thinks that the CoreStorage recovery information was NEVER sent to Apple when Encryption first turned on, and hence Apple does not have a copy of it for restoration?  (although it accepted all my info and questions/answers when Filevault turned on.
    Firevault is enabled for both my boot partition and my time machine drive.
    Recovery volume is in place, and can be booted from.

    No, never got any input on the issue.   However the message eventually went away.

  • Error when posting to profitabilty segments

    Dear All
    I get the following error when posting poriftabilty segment data in the accounting doument, if i try to enter the same characteristic value even to diffrent G/L Accounts.
    Data record already exists
    Message no. KE581
    Diagnosis
    This error should not occur.
    Procedure
    Contact your system administrator or SAP directly (component CO-PA-ACT).
    Has anyone come across this issue... ? Pls let me know how to resolve this?
    Thanks
    Gayani

    Hi,
    Please implement the latest version of the note 1321225 into your system in order to solve this problem!
    Afterwards please execute the function module RKE_GENERATE_INTERFACE_ACT in transaction SE37 for the operating concern you use - as described in note 1321225 under 'Solution'!
    Please enter function module RKE_GENERATE_INTERFACE_ACT in transaction SE37, press F8, enter your operating concern and press F8 again.
    Afterwards the described problem with error message KE581 should be solved.
    regards
    Waman

  • User exits when posting purchase document and goods movement (GR)

    I want to update some custom tables when posting PO and goods movement (GR) .
    Please suggest user exits for both posting.

    Check the below exists
    FOR PO
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    For Goods Movement
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification

  • Sorting ODS records before posting to other ODS

    Gurus, we have a strange issue where we have one ODS (lets call it DELV) that feeds another ODS (TOTSALS).  We have records in the DELV ODS like this:
    K-DelDoc   K-Item    Mat    SchdLn   GMSt   Qty
    10000      900001    MATX   1        C      10
    10000      900002    MATX   1        C      15
    10000      900003    MATX   1        A      0
    10000      900004    MATX   2        A      0
    In our TOTSALS ODS we get:
    K-DelDoc   K-SchdLn    GMSt    Qty
    10000      1           A       25
    10000      2           A       0
    Note: K- denotes key field
    The problem is for SchdLn 1, we want the GMSt=C (not A).  We cannot filter to omit 'A' records from posting to the TOTSALS ODS, otherwise we would lose visibility to SchdLn 2.
    My question, can we sort the records in the update rules of DELV to TOTSALS?  Or can we change the update rule for mapping GMSt so that in this scenario, we get the value of C?
    I would appreciate the feedback and will award points.

    Why dont we try this way... (assuming that you have only two values for GMSt)
    Follow the same procedure  as mentioned above (creating two ODS's ODS1 and ODS2, loading one value of GMSt (lets say A) into ODS1 and the other value into ODS2 (GMSt = C). Now from these two ODS's load into your target ODS which is TOTSALS. When loading into TOTSALS ODS, set the keyfigures to addition mode in the update rules.
    This gives you the flexibility to decide the order of loading. For example if you want the value of GMSt = A to be overwritten by value of C, then load TOTSALS from ODS1 first and then ODS2.
    Hope this helps.
    FYI, if you want to achieve this with just one ODS (TOTSALS) instead of three ODS's...it is possible to do so but is a little more complex (two cases in start routine).
    Good luck!

  • BORGR. Error when posting Inbound Delivery

    Within transaction BORGR, when posting an inbound delivery, the material document is in state "Archived" instead of completed.
    This is observed in the document flow of inbound delivery.
    Status WBSTK and WBSTA of tables VBUK and VBUP are recorded with " C" even though that the material document does not exist in the system.
    This error does not allow to continue with the transport order creation of the received material.
    I would like to know the possible reason for this problem and the solution.
    Thanks.

    In the config of  Define Internal Confirmation Categories 
    is
    2 shipping notification is assign to 10 or LA if it LA than it will allow you to create the inbound delivery
    The delivery is created in my system
    i got message
    Notified quantity exceeds quantity still to be notified 15.000- CS   Message no. ME160                                               
    but it is warning not error.

  • Losing sustain when posting to Facebook

    I've recorded a song using the grand piano on one track and the orchestra on another track.  I used sustain for the piano chords.  I saved and exited the app.  In playback, the song is exactly as I played it.  I posted it to Facebook and listened to it later.  The piano chords lost their sustain, so the chords sound more "plunky.". I went back into the app and listened to the song again.  the chords are still sustained, so I tried again to repost...same thing.  They lose sustain when posting to FB.  Any ideas?

    Ther version of Premiere Elements 13 is the version on a MacBook Pro 2.8 GHz Intel Core i7; 16GB 1600 MHz DDR3, NVIDA GeForce GT 750M 2048 MB.  OS X Yosemite version 10.10.2
    When loading to Facebook the processing finishes - the progress meter gets to the end. The Error Message pops up at the end.
    Vimeo and YouTube built in Premiere Elements feature work?
    - I only tried YouTube but that did not work either.
    What specific error messages are you getting with the Facebook failures?
    - The error pop up message is above
    BUT....  What did work was mentioned in this chain.
    I exported the image to an MP4 video then saved it onto my HD. The imported the image to Facebook

  • Validation when posting a document using T. Code FB50 or F-02

    Dear Experts
    Please let me know on how to validate when posting a Cross Company Transaction using T. Codes FB50 or F-02.  The requirement is to restrict Branches (each Branch is a Company Code in SAP) to post any Cross Company documents by selecting HO Company Code in Line Item, system has to stop the User by giving Error Message.
    We can't control this using User level Authorizations because, here the Authorization is provided to the Users to post the Transactions using T. Codes FB50 and F-02.
    To restrict this, I created a Validation as below:
    Prerequisite:
    BKPF-TCODE = 'FB50' OR BKPF-TCODE = 'F-02' AND
    BKPF-BUKRS = 'Br. Company Code' AND
    BSEG-BUKRS = 'HO Company Code'
    Check:
    FALSE
    Message:
    You Can't post Cross Company Transactions using T.Code FB50 or F-02
    And I activated the above Validation in OB28 for HO and Branch Company Codes.  But the Validation is not working properly.  Can anybody help me on how to proceed further in this regard please.

    Hi,
    I haven't tried to use a transaction code for Validation purpose. Instead, I have used document type as prerequisite and then check:
    BKPF-BUKRS = 'Br. Company Code' AND
    BSEG-BUKRS = 'HO Company Code'
    If the condition is met, it displays an error (per the message in validation) while completing the line item details on posting a document.
    Please let me know if that helps. If not, I can try to replicate your scenario and let you know if there is anything missing.
    Thanks,
    Ashish

  • Dump error when posting through F-02.

    Greetings everyone,
    When posting G/L act through F-02 we are facing a dump error in QUALITY system and in DEVELOPMENT we are able to post succesfully.
    From my primary analysis one standard program is calling and that program has syntax error.
    When i checked that program it is saved in local object and generated automaticaly when some thing done is FICO.
    Generated Program is Module pool program :GBTV6FI0
    Description of that program is below
    Generated by report RGUGBR01.
    Generated code used by validations substitutions and rules.
    !! Do not manually change or transport !!
    For reference please find the dump below
        Error in the ABAP Application Program
        The current ABAP program "SAPLGBL5" had to be terminated because
        come across a statement that unfortunately cannot be executed.
        The following syntax error occurred in program "GBTV6FI0 " in in
         " in
        line 519:
        "FORM "SEND_CMPLX_DATA_015" does not exist"
        The include has been created and last changed by:
        Created by: "DDIC "
        Last changed by: "****"
        Error in the ABAP Application Program
        The current ABAP program "SAPLGBL5" had to be terminated because
        come across a statement that unfortunately cannot be executed.
    Can any one please suggest me how to resolve this issue.
    Thanks in Advance.

    This looks like you have not transported the code to quality system. This code seems to have been generated when validation, substitution and rules have been defined and is missing in quality system (not transported ?)
    Find the form send_cmplx_data_015 in development system and check the version. This is the transport that still needs to be transported to quality system.
    I now see that you say it has been saved as local object. In that case assign it to a package and transport in SE80.
    And now I see the answer of Klaus, follow the instructions in the note he has supplied first. It seems that note is exactly describing your problem.  :-)

  • Error when posting a SOAP request

    Hi all,
    Facing error when posting the SOAP request and after entering the Server Username and password giving error that http not found and url
    The URL i follow is http://<hostname>:<port>/XISOAPAdapter/MessageServlet?version=7.0&channel=:BusinessSystem:PI_SOAP_CC
    can any one of you tell me in place of XISOAPAdapter what should i place?
    Please help me to post the SOAP request to PI server.
    Thanks in advance ,
    Manohar.

    Hi ,
    copy the same URL  (Endpoint that you had given while generating wsdl file) to the browser and chek the status. ( http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel)
    See the below URL for the same i.e. SOAP adapter...http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    You should get response something like this '
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#15 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    This  is make sure that webservice endpoint is given correctly. Don't forget to give username and password for connecting to XI server. user should xiappluser .
    Ranjeet Singh.

  • Error message when posting invoice : Day-end closing not defined

    Hi,
    In our training environment we migrated from FAGLFLEXT to FMGLFLEXT and activated fund management.
    Now when posting an invoice the system provides an error message: "FQ252 Day end closing not defined".
    There is no configuration related to F845 but we are prevented from posting the document due to this error message.
    Any idea of where this could come from and of what need to be done to prevent this from happening?
    Rgds
    Sophie

    Hi Sophie,
    Can you check if you have entries in either PSO43 or PSO43USER tables (can be accessed via F8O2 transaction)?
    Regards,
    Eli

  • When posting GI for Non valuated material in Delivery geting error (M8147)

    Hi Experts
    We have a problem that we are trying to send a material from one plant in one company code to another plant in another company code (Inter Company Stock Transfer Order). The material is of type Non Valuated (So it has no valuation class). The PO Order type used and the PO account assignment category is of type saying GR Non Valuated.
    Problem is in the outbound delivery (movement type 645 determined) when posting GI do we get a account determination error (M8147 = Account determination for entry 1000 GBB Z001 not possible), saying that no account could be determined.
    Our understanding is that the GI for the delivery demands a Valuation, which we can not do as the material is NON Valuated.
    How to set the GI non valuated for the outbound delivery, so we can avoid this error? please help
    BR

    >
    Krishna Rao wrote:
    > We assigned the GL for GBB in OBY. But, still the error is coming. Is there any other setup we need to do for Non Valuated material to post goods issue from delivery?
    I cant believe that the same error message is coming up after the maintenance.
    you either maintained an entry at a wrong level within GBB or the message must have changed.
    Make sure that you take any information of this message into account (even the spaces)
    the message is certainly not like you posted here: Account determination for entry 1000 GBB Z001 not possible
    the message carries 4 variables , not only 3

Maybe you are looking for

  • White screen of death? power/sleep button?

    so my ipod is in what they call the white screen of death. I have found a way to fix it but that involves my power/sleep button to work... and it doesn't. it is jammed. I dont know how to fix it. also, when i connect the ipod to the computer it doesn

  • REPLACE function on a long data type

    How can I use the replace function on a long data type? I am getting ORA-00932: inconsistent datatypes: expected CHAR got LONG

  • Not getting runtime errors

    I have been using Flex for 6 months and suddenly this week I am no longer getting runtime errors which is making it very dificult to debug. Does anyone know what would cause runtime errors to be disabled?

  • Auto-Run/Start Doesn't show up on iTunes

    Hi, I'm having a difficult problem about the Auto-Run/Start thingy for my iPod touch that doesn't show up on iTunes on my MacBook Pro 13". Just because I want to remove my pictures from my iPod touch so I can transfer into the MacBook Pro as Picture

  • How do I delete projects in Aperture?

    Aperture has created thousands of projects with cryptic 4 number/letter names. When I try to delete one of these empty projects, it takes a long time. When I try to delete several of these projects, Aperture goes into a spinning wheel hang, and I hav