Will SO cancellation reverse condition update S071 table ?

Hi All,
1st is how do i cancel a SO, i rejected by giving a reason and saved the SO, but i am still able to change and also could further create delivery and billing doc ?
In case i cancel my SO, will it reverse the condition update which has already been done while it creation ?
Ex.
So1 - Mat1 - ZCDS -100$
So2 - Mat1 - ZCDS -200$
Now both the SO updated the S071 table as -300$, now in case i change, cancel, reject or delete the SO2 will it reverse the update and bring it down back to -100$
Jimit Shah

Hi Ashish,
Thanks for your help.
If i do this way always it satisfies the first record of the multiple records that are satisfied when we put where condition with some of the key fields.
then always it might update the same record.
I stead i can loop through the itab having the DB table and read the file.
Anyways thanks for the help.
and i am waiting for the correct file, once i get it, then i will try this and update points.
Thanks,
Neetu.

Similar Messages

  • Error updating the table condition table 372 in J1IIN

    Hello all,
    I am facing the problem in the transaction code J1IIN (In CIN).
    I have maintained the condition type JEXP ( A/R BED %) as 16% with the Key combination Country/Plant/Control Code (Table 357). While iam saving the Excise invoice the system is throwing the error like Error updating the table condition table 372
    I have gone through the post given by Ms. Jyoti few days back and tried to do some changes in the customisation.
    I tried to maintain a different access sequence for the condition type JEXP i.e In the access sequence except condition table 372, I have maintained all other condition tables.
    Still the error is persisiting. Can anyone put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Gurus plz give ur suggestions.
    Thanks
    Srinivas

    Hello Srinivas/Sandeep
    Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
    The standard access sequence used in all duty condition type
    is JEXC  which has got the table 372 this will get updated once
    you save your excise invoice.
      If the issue is resolved, kinldy close the message.
    Regards
    MBS

  • Condition updated in which table

    dear all,
    ply help me that whatever Po condition like "PB00","FRC1" and others condition get stored in which table.
    Ply tell me that where will i get Po No and condition details
    regards
    amey

    Hi,
    You can't get the PO No. from condition table, because condition table only records the relationship between material number and purchasing price. The correct seeking procedure is:
    1. PO No.
    2. Vendor and material number;
    3. Find the condition record from table KONH and KONP
    That's it

  • I cancelled my iOS6 update in the middle of updating. now it will not turn on it will either remain black or white on the screen. What do i Do?

    I cancelled my iOS6 update in the middle of updating. now it will not turn on it will either remain black or white on the screen. What do i Do? PLEASE HELP!!

    Connect it to iTunes and then put the device in DFU mode by holding the power button and home button for 10 seconds, then release the power button only while still holing the home button.
    iTunes will prompt you to restore, try that and it should work.
    ~Lt. Leviathan

  • 'In Process/Cancelled/Reversed' document cannot be updated. Message no. 4F2

    Hello Experts,
    During Updating ARE1 document through J1IA101 t.code in the export under bond scenario I am getting the message 'In Process/Cancelled/Reversed' document cannot be updated. Message no. 4F2.
    Can any body help me in this case?
    Regards,
    Sandeep

    Hai Sandeep,
    Please check setting maintained as per details
    ARE1 Process
    Regards,
    Mani

  • HT3702 I was send an email from apple asking me to update my credit card information or my account will be cancelled within 48hours is this a valid email from apple or fraud ??

    I was send an email via apple stating that I need to update my credit card information or my account will be cancelled in 48hours. Is this a valid email or fraud. I had the iphone for more than 2 years and did not receive a similar email

    It's a phishing attempt to get your account and payment details (Apple don't send emails like that) . If you still have the email then you could forward it to Apple : [email protected]

  • How to update a table with if condition

    here is my table 
    Party1 party2 DELFlag
    JON     NYC     0
    JON     NYC1   0 
    SAM     NYC   0
    SAM    NYC1   0
    TOM     NYC1   0
    GIT      NYC1   0
    No I need to change all NYC1 to NYC , but I get primary key error As JON is already related to JON->NYC  in this case I need to make the flag to 1 
    To be more specific JON->NYC1 must be JON-NYC1-1 and TOM-NYC1-0 must change to TOM-NYC-0 as tom does not have any records 
    My table update must look like 
    Party1 party2 DELFlag
    JON     NYC     0
    JON     NYC1   1
    SAM     NYC   0
    SAM    NYC1   1
    TOM     NYC   0
    GIT      NYC   0

    I can't use this INSERT INTO @partyRock (Party1, Party2, DELFLag) VALUES my table has thousands of rows and other relations even 
    Dont want to create a new table as this is in all my prod servers , want to update 
    Party1 party2 DELFlag
    JON     NYC     0
    JON     NYC1   0 
    SAM     NYC   0
    SAM    NYC1   0
    TOM     NYC1   0
    GIT      NYC1   0
    SDS      ORD 0
    DED      MEX  0
    Update output table
    Party1 party2 DELFlag
    JON     NYC     0
    JON     NYC1   1
    SAM     NYC   0
    SAM    NYC1   1
    TOM     NYC   0
    GIT      NYC   0
    SDS      ORD 0
    DED      MEX  0

  • How to update a table in database

    Hi.
    i am working on HR system. I have developed a form of report engine. Report Engine form contains no any database table but text items, buttons and options.
    I have placed a button and in its when button press triger i wrote a procedure to update a table record as:
    Update Empbiodata
    Set Status = 'Retired'
    Where Status = 'On Duty'
    but that button is not updating the database record. when i add a line of Commit_form, after that i faced the error message there is no change to save.
    I have run this code on SQL prompt and saw working well.
    please solve the problem that why this code is not working in button press trigger in the form.
    thnx

    Hi Zaheerms,
    You can do this kind of updates in the Forms.
    I will help u in this scenario.
    1st tell me the update column is a database item or not ?
    Sample code :
    begin
    Update Empbiodata
    Set Status = :block.column_name --'Retired'
    Where Status =:block.column_name -- 'On Duty'
    commit;
    -- For checking message
    fnd_messahe.set_string('Testing'||:block.column_name);
    fnd_message.show;
    end;
    and give some condition as per ur requirement.
    I think so this will help you.
    If not post again and i will try to clarify you.
    thanks,
    SIvaprasad

  • Is it possible to update internal table from database table

    Hello All:
              I know how to update database table from internal table in one shot (batch) but is the reverse possible? Can I update some fields in an internal table from a database table in one shot (without looping) because my internal table is huge? Could you please provide me any ideas how to acheive something like this? Thanks in advance and answers will be rewarded.
    thanks.
    Mithun

    Hello my friend,
    You can do it MAYBE , i think you can reverse the update doing a ROLLBACK, but only after you update....not after the program finishes..
    To update some fields at once use:
    UPDATE DBTABLE FROM TABLE IT_TABLE
    Hope this helps!!
    Gabriel

  • Replication of S071 Table in CRM

    Hi,
    My requirement is to Replicate table S071 Condition Update Table from ECC to CRM in custom table (ZS071) through BDOC. Can you please guide me for the same.
    As i want the cumulative entry to be stored in CRM, it should be updated when ever there is a change or update in ECC S071 table.
    Thanks in advance.

    Hi,
    My requirement is to Replicate table S071 Condition Update Table from ECC to CRM in custom table (ZS071) through BDOC. Can you please guide me for the same.
    As i want the cumulative entry to be stored in CRM, it should be updated when ever there is a change or update in ECC S071 table.
    Thanks in advance.

  • Updating database table based on BAPI response in case of error

    Dear Experts,
    My scenario includes pulling records from database stagging table, and push one record at a time to BAPI_ALM_NOTIF_CREATE.
    I am using sender JDBC adapter(with select query and update query to mark records as processed).
    My question is : Once XI selects records, immediately status is updated in stagging table for the selected records as processed. what if BAPI could not create document? In this case I need to update status of that record as "Not processed".
    What should I use?
    If BPM, then please tell me the steps.
    Is this possible without BPM?
    What are the chances of failure between XI and BAPI?
    Please provide your inputs.
    Thank you.
    Div

    >
    S.R.Suraj wrote:
    > Hi Divyesh,
    >
    > Your steps are correct..
    >
    > 1. JBDC will read record with code = 0 and make it 1...
    > 2. Once the bapi process is completed all these read records shoudl be made as 2 (if completed successful) else 0 if bapi went into some error.. so that again the jdbc adapter can poll these records and give back to bapi for processing...
    >
    > Now your questions
    > >>So after selection and updation only proxy call will be done right? So for every polling of jdbc adapter ,proxy call will happen?
    > YEs every poll of jdbc will result in a proxy call and every time it will contain next set of records (as the earlier one have already marked as 1)
    >
    > >>How to achieve this?
    > Since this is a synchronous scenario JBDC->XI->Proxy and reverse, I have suggested to use responseonewaybean as a module in sender jdbc adapter (because sender jdbc cannot act synchronously thats why you need to use this module)..
    >
    > >>Do i need to use BPM? please suggest steps.
    > and if this is not working then go for BPM..the steps as i mentioned in my first thread..
    >
    > Regards
    > Suraj
    Hi Suraj,
    Thanks a lot for your support.
    It would be good if you can provide your inputs.
    Stagging table records status:
    Flag = 0 (XI will poll records)
    Flag = 1(XI has polled records and XI will se tthis flag by JDBC adapter)
    Flag =2 (should be done based on response from Proxy Tables parameter) Proxy will set tables parameter which will include info on error message and type.
    (Now based on new requiremets: for error records status should not be reset to 0 so that XI can poll records again, now stagging table should contain error records(for which proxy can not create notification in SAP) with error message and status flag 2)
    Now scenario would be JDBC to Proxy.
    Polling interval for JDBC adapter should be 1 minute.
    So I think status 0 to 1 will be done by XI after immediately selecting records.
    But how about Status 2 that has to be set only for error records only and  with error information.
    I have to update stagging table records with status 2 and error info based on proxy table response. How this can be done?
    This updation will be done in case of error only.
    I was thinking this aproach:
    We can have two interfaces.
    First interface will be jdbc to proxy:
    JDBC adapter select and update records with flag =1 and then send to proxy call and create document in SAP. At SAP side if document can not be created then they will store that error info in some table.
    Second Interfgace:
    Client SAP Proxy will periodically run and send these error records info to XI and XI will update stagging table records accordingly.
    Suraj, What is your sugestion in this solution? Do I need to use Responseonewaybean?
    Thanks Suraj
    Div

  • Update EKKO table

    Hi,
    I have got the requirement to update EKKO table while creating PO. The exact scenario is, I need to update email address based on some condition while creating PO.
    This is what I have found:
    When we create PO, the ADRNR field of EKKO would have a value. But when we change address in the PO manually then it would have ADRNR field value in EKKO. It will not change address in the vendor master record. In stead it is maintaining separate entry in ADRC.
    My issue is I have written the logic in EXIT_SAPMM06E_012 to generate ADRNR while creating PO. I do not know where to update the field ADRNR of EKKO. Am I following right step. Please advise.
    Thanks,
    Ramesh

    Hi,
    The sandard SAP approach is, whenever you change an address in address tab of PO the ADRNR field in the EKKO will be generated and corresponding record will be created in table ADRC.
    If your only requirement is to only store mail address, based on certain condition in PO and for that PO only, then you can store then mail address in any unused field at the header level in PO which is big enough to store the mail address or you can store the mail address in any header level text which you are not using.
    If this fulfil your requirement without affecting any other functionality you can dissucc with your functional consultant and decide which way to adopt.
    Regards,
    Pratik

  • Which Field is indicate cancel/reverse in MBST

    Hi
    Could you tell me which table/field can indicate one material document has been cancel/reverse?
    Thanks
    Henry

    Hello
    I little elaborate.
    There is not exist indicator for cancel/reverse. But you may find documents yourself.
    For example:
    you have material document no 5000000001 with 101 movement type.
    When you make cancel this document with 102 m/t you will have new document no 50000000002.
    This new document have SMBLN = 5000000001 and SMBLP = position of old document.
    Also exist view M_MBMPS. If you fetch this with MBLNR = 5000000002 then you see primary document 5000000001 into field SMBLN.

  • How to create conditional update trigger in sql server

    How to create conditional update trigger in sql server

    You cant create a conditional update trigger. Once you create an update trigger it will get called for every update action. However you could write logic inside it to make it do your activity based on your condition using IF condition statement
    Say for example if you've table with 6 columns and you want some logic to be implemented on update trigger only if col3 and col5 are participating in update operation you can write trigger like this
    CREATE TRIGGER Trg_TableName_Upd
    ON TableName
    FOR UPDATE
    AS
    BEGIN
    IF UPDATE(Col3) OR UPDATE (Col5)
    BEGIN
    ....your actual logic here
    END
    END
    UPDATE() function will check if column was involved in update operation and returns a boolean result
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • FM to update the table HRPAD25

    Hi All,
    Is there any FM to update the standard table HRPAD25? I need to update the values entered by the user on the LSO Followup screen in this Table. I have enhanced this screen in LSO_PSV2 with an additional field 'Score'. How do i update the table HRPAD25? Is there any BADI or FM to do this. Any input on this will be of great help.
    Thanks and regards,
    Pavithra

    Hi Eric,
          I do have some similar kind of requirement where in i am asked to use the IDOC COND_A02. The point where i am stuck is in populating the custom segment field values which we need to be passed with the IDOC. I am able to execute the IDOC from WE19 but both the exits EXIT_SAPLVKOE_001 and EXIT_SAPLVKOE_002 were not getting triggered.
         We need this IDOC to be generated whenever there is a change in the Pricing Conditions (PB00 DISC1 DISC2). Please let me know how can i populate the custom segment values and trigger the IDOC.
    Good Day,
    Thanks & Regards,
    Uday S.

Maybe you are looking for

  • Apple wired keyboard - certain keys not working with shift

    I treated myself to a new Apple wired keyboard MB110B/A for my mac mini. My previous keyboard worked fine, however the new keyboard causes the computer to enter the Hardware Test mode every time the computer is restarted. The computer only starts nor

  • FCS stopped working (Can't get it to start in system preferences)

    This morning FCS froze in a client app on a remote computer. We went to restart the java app but it said it could not connect to the server. We went onto the Xserve that FCS is installed on and saw that in the System Preferences pane, FCS was turned

  • Unable to access the Firewall through ASDM

                       Hi All, Thanks in advance , in my organisatin we are facing one issue with launching of ASDM in ASA 5520 , when wer are trying to access the Firewall through ASDM we are unable to access that , see the java error loggs below , yes

  • Xlsx docx inplace in udm_dispute

    Hello. I have the following problem: in trx udm_dispute i can attach all kind of documents doc,docx,xls,xlsx,ppt,pptx etc etc. When i try to display docx or xlsx or pptx with double click i have an word/excel error and it says that is not compatible.

  • Urgent: Object oriented ALV Refresh

    Hello: Pl let me know or share a code--- to update multiple lines selected from OO ALV GRID list in the SAP transparent table Also I am trying to update the data into transparent table. Using OO ALV . The lines are getting refreshed ... PERFORM refre