Transaction 100000100 in company code KSID: Activity 00001 has status Replaced

Hi Frds,
When I am going to change a contract in money market instrument, I am getting this error, which in term not allowing me to change the contract.
Can anybody please through some light about status profile. what is this & what is the use of this. How can I change now the contract.
Thanks & regards ]
Anil

Dear Anil,
Error message FTR0014 occurs if there are inconsitencies in Table
VTBFHAPO. Therefore you can implement the attached report
ZCFM_CORR_HAPO into your system, it can fix the error.
REPORT zcfm_corr_hapo .
TABLES:
  vtbfha.
DATA:
  l_wa_vtbfha     TYPE vtbfha,
  l_rfhazu        TYPE tb_rfhazu.
* selection screen
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) comment2.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS p_cc LIKE vtbfha-bukrs.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) comment3.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS p_rfha LIKE vtbfha-rfha.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(16) comment1.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS p_test AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
  sy-title = 'Correction RFHAZUL RFHAZUNR in VTBFHA'.
  MOVE 'Test run' TO comment1.
  MOVE 'Company Code' TO comment2.
  MOVE 'Deal' TO comment3.
START-OF-SELECTION.
  SELECT SINGLE *
   FROM vtbfha
   INTO l_wa_vtbfha
  WHERE bukrs = p_cc
    AND rfha  = p_rfha
    AND saktiv = '0'.
  IF sy-dbcnt = 0.
    WRITE: 'Deal does not exist!'.
    EXIT.
  ENDIF.
* check if rfhazul is correct
  SELECT SINGLE rfhazu FROM vtbfhazu
    INTO l_rfhazu
   WHERE bukrs  = p_cc
     AND rfha   = p_rfha
     AND saktiv = '0'.
  IF sy-subrc <> 0.
    MESSAGE e101(t0) WITH 'Correction not possible!'.
    EXIT.
  ENDIF.
  IF l_rfhazu <> l_wa_vtbfha-rfhazul.
    l_wa_vtbfha-rfhazul = l_rfhazu.
  ELSE.
    MESSAGE s101(t0) WITH 'No correction necessary!'.
    EXIT.
  ENDIF.
  CLEAR l_rfhazu.
* for sec.check rfhazunr, too
  SELECT MAX( rfhazu )  FROM vtbfhazu
    INTO l_rfhazu
   WHERE bukrs = p_cc
     AND rfha  = p_rfha.
  IF NOT l_rfhazu IS INITIAL.
    IF l_rfhazu <> l_wa_vtbfha-rfhazunr.
      l_wa_vtbfha-rfhazunr =  l_rfhazu.
    ENDIF.
  ENDIF.
* db Update
  IF p_test IS INITIAL.
    UPDATE vtbfha FROM l_wa_vtbfha.
    IF sy-subrc = 0.
      COMMIT WORK.
    ELSE.
      ROLLBACK WORK.
      MESSAGE a101(t0) WITH 'Error during update (vtbfha)'.
    ENDIF.
  ENDIF.
* log
  IF p_test IS INITIAL.
    WRITE: 'Real run successful'.
  ELSE.
    WRITE: 'Test run successful'.
  ENDIF.
Best regards,
Jasmine

Similar Messages

  • Functional area and cost of sales accounting (company code 2000) active

    Hi There!
    I hope someone can help.
    In our sandbox system, whenever I try to convert a Purchase requistion into a Purchase Order I get the following error message : "Functional area and cost of sales accounting (company code 2000) active".
    Anyone know how I can resolve this issue?
    Kind regards,
    Karl

    Hi,
    Double click on the error message & check the message Number..
    Then go to
    Spro>MM>Pur
    Attributes of system messages & change the Message from Error to Warning..
    Thx
    Raju

  • Changing F4 help in AS01, AS02, AS03 transaction based on company code.

    Hi Experts,
    In the asset master transaction AS01, AS02 under tab "leasing", we have a field "Type". This field represents leasing type.
    I have to modify F4 help related to this leasing type field such that for a particular company code only those leasing types which starts with letter "C" are displayed. While in all other company codes no such restriction is there.
    I have tried creating enhancement point in subroutine pool "/1BCF41/T083l/" because this subroutine is called for F4 help of this field but this subroutine pool can not be enhanced.
    Please propose a solution so that the requirement may be met.
    Thanks,
    Ayaz

    Hi
    Better U do some USEREXIT.....For validation according to u requirement
    Regards;
    Prabu

  • Blocking of J1IEX Transaction for particular company code

    Hi,
    I have two requirment,
    1 :  For our one company code  C011 , J1IEX transaction should not allow ,  we have one user and that user is working on different conpany code  but for particular to this company code C011,  how to block the J1IEX transaction user should not take the cenvat
    2: For the same company code J1IEX transaction is allowed  only of in Purchase order material code is  XYZ ,  otherwise for other materials materials should not come i n J1IEX  to get the cenvat benifit.
    regards,
    zafar

    Hi Zafar.
    I belive this would be an authorization issue in this case (guys on the forum pls correct me if I'm wrong).
    Maybe you should put a request for the Basis/Security management team who supports your company, informing what C.Code restrictions to add in this transaction, and for what users, so that they would find out what authorization objects to restrict.
    Regards,
    Rodrigo.

  • Modifying F4 help in PA30 Transaction Based on Company Code

    Hi Experts,
    I have an requirement in PA30 Transaction when infotype 15 is changed / displayed , it takes me to a screen where I need to restrict the F4 HELP for the field Reason for change based on employee company code.
    Do I need to modify the standard program or some badi or user exit avaialable.Please advice.
    Thanks in Advance.
    Regards,
    IFF

    Hi
    Better U do some USEREXIT.....For validation according to u requirement
    Regards;
    Prabu

  • Document number in company code and fiscal year has already been

    Hello,
    While doing a PGI of a delivery in VL02N transaction, I am receiving a dump with the above message in the subject.
    Short text of error message:
    Document number 6200 4900000020 2010 was already assigned
    Long text of error message:
    Diagnosis
         Document number 4900000020 in company code 6200 and fiscal year
         2010 has already been assigned.
    System Response
         Termination of processing.
    Procedure
         Check document number range 49 in company code 6200 and fiscal year
         2010 and correct the number range status if necessary.
    I am not sure of the way the number range clearing in SM56. I need to know the object and subobject for the delivery number for the same.
    Does anybody knows about it ?

    What would be the object and subobject for a delivery number entered in VL02N transaction ?
    There are many objects present in VL02N transaction but I am not able to figure out the real one which is needed.
    Please help me with the same.

  • Company Code Logo/ Standardtext need to be replaced with New Logo

    Hi All,
    We have a requrirement to replace  the Standard text and logo for one company code.
    -- How to know what is the existing logo (presently using)
    -- to Know where else the logo is used so that we can replace it with the new logo.
      -- please help me with the list ( where all the placess the logo/ standard text is used.)
    Thanks in advacne.
    Jagadeesh

    Hi Jose,
    Thanks for your reply, How to know the Forms or Places the logo is being used in Particular Company Code?
    With Company Code wise, How to Know what are all the Forms or Scripts the particular Company Code is using.
    Thanks In advace for your help.
    Jagadeesh
    Edited by: ja_acc on Dec 3, 2009 6:32 AM

  • When launching a transaction, I am getting error that client XYZ has status

    I am in SAP APO , when I try to launch the transaction /SAPAPO/48000009
    SAP Menu -> SCM Basis -> Planning Service Manager -> Current Setting -> Define Planning Profile. I get a error saying Client XYZ has status 'not modifiable'.
    What setting could be missing?
    Please help with your inputs.
    Harsha Gatt

    You are on the wrong forum. This forum is about SAP Business One SDK.

  • CRM Transaction not in ECC,not locked in queue, has Status of Locked in Dis

    Background:
    I have an unusual case where a transaction was created in CRM along with a follow-on transaction, but only the follow-on transaction made it to ECC. The initial transaction was created correctly and should have replicated. We did have a server malfunction on the same day that affected a lot of orders in ECC, even deleting some out. It looks like this transaction may have been one of those.
    Issue:
    I now have a transaction in CRM that says it is locked in Distribution, but it is not in SMQ1 or SMQ2 in either CRM or ECC and it isn't showing up as an error in SMW01.
    Is there a way for me to unlock this from distribution aside from SMQ1, SMQ2, or SMW01?
    I thought of making a change to the system status using a table like CRM_JEST but haven't yet found a way to do that. There are some fnction modules out there but I am not sure of the correct one. I had used one in the past to update the User Status but ended up mass changing a bunch of transactions instead of the one transaction in question. I don't want to make that mistake with the System Status.

    Go to SE38 and run program CRM_DATAEXCHANGE_TOOLBOX and execute Resend CRM Documents option and check if it works.
    If you want to delete system status, go to table crm_jest, run it for desired guid, select the proper status and then in debugging mode switch from display (SHOW) to delete (DELE). But I would go with this option yet.
    Regards.

  • How can I tell if a company code is still active in SAP or not ?

    Hi
    Is there some table or other data I can consult to tell whether a company code is active or not in SAP.
    If a company code is inactive is there some kind of flag or end date applied to the company code that allows me to see that it is inactive in SAP/
    Any information on this would be gratefullly received.
    Thanks alot
    Nicola.

    Are there any transactions that I can use for this that are more HR driven only I do not have access to the others. I do have view access to a number of tables via SE16N and could perhaps try and get some other access but just wondering if there is anything else that could be used for HR to check.
    Thanks
    Nicola

  • OBYA : vendor and customer clearing in cross company code transaction

    Hi Gurus,
    Please can any one telll me how to clear the transactions of cross company code which is in vendor and customer.
    I already done a configuration in OBYA for customer - vendor.
    Expected a process of clearing the cross company code transaction.
    Thanks in Advance
    Manish.

    Hi,
    If you are doing for vendor invoice,
    for example:
    co code 1000 and co.code2000
    Use F-02 and enter following transactions
    posting key 31 -vendor- company code 1000
    posting key 25- expenses and enter new company code 2000.
    After the entry it will display 4 line items, 2line item for 1000&2000
    Regards,
    Sreekanth

  • A/P F110 Payment via company code in a different country

    The client is a service organization where the Vendor data is managed in the US company code (US01) and the Customer data in managed in a Swiss company code (CH02). Many of the customers could also provide services and the invoices are posted to vendor accounts in the US01 company code.
    In the case where the vendor amount exceeds the customer amount, the customer/vendor has agreed that the client will pay the net amount and clear the net to the customer account.
    Clearing between the customer and vendor in company codes in the same country and with the bank account managed in the same country works as expected.
    The CH02 company code does not have a bank account of its own and therefore cannot make its own payments.
    The problem that we encounter is that I cannot define (for F110 configuration) sending and paying company codes where the country assigned are different, e.g.;
       - Sending company code: CH02
       - Paying Company code:  US01
    When this is entered into the IMG configuration for "Automatic payments > Set Up All Company Codes for Payment Transactions" the error "Company code US90 is not permitted as the paying company code" (error code F3063) is issued. The detailed error description is:
    "The paying company code and the company code on whose behalf the payment is being made must be in the same country, have the same local currency, and display the same currencies managed in parallel. The setting regarding extended withholding tax functions (active or not active) must also be identical for both company codes."
    The initial design was to have the A/P and A/R in the CH02 company code but the payment via the US01 company code would not work. Having the vendor only in the US01 company code is a solution to this using an inter-company invoice posting. Using a work-around to clear the customer balance to the vendor account is not acceptable to the client.
    The easy way out of this is to assign the CH02 company code to country code 'US', but this is not correct.
    Is there a solution to making payments from company code US01 (as the paying company code) but including the customer items from a foreign company in the payment?

    Hi Martin,
    Welcome SDN!!!
    The standard SAP doesnot provide payment via company code in a  different country.If you still feel that it is fit case,please contact SAP.SAP may consider this a special requirement and may cover your case under SAP Note 357732.(pls have a look once).
    Thanks
    Aravind

  • Seeking Information on Company Code Currency in COPA

    Greetings all,
    I am working on a project to activate the company code currency flag in COPA (attributes under KEA0). I have activated the flag in a test system and as expected I now get two PA docs, a 10 and a B0. The oddity begins when I compare PA docs created from SD and FI. In my example I am creating documents in three different currencies; 1) transaction curr = SEK, 2) company curr = EUR, and 3) operating concern curr = USD. I am on ECC 6.0 EP 4.
    If I create a PA from a billing document (record type F) then the data looks exactly as I expect it. The foreign currency key (FRWAE) is SEK. I can see the transaction currency is SEK with value fields in SEK, I can see the company currency is EUR with an exchange rate of SEK <-> EUR along with value fields in EUR, and I can see the operating concern currency is USD with an exchange rate of SEK <-> USD along with value fields in USD.
    However, if I create a similar document with FB50 (record type B) the foreign currency key (FRWAE) is EUR instead of SEK and the exchange rate to USD is 1 (KURSF) instead of the actual exchange rate. I only get company currency and operating concern currency values. The values in the value fields are correct per currencies eventhough the fx rate is whacked. In FI the transaction currency is SEK but you would never know it in PA. The really bizarre thing is when I go to display the PA doc (I am branching from the FI doc) it behaves very odd. The default view is Op conc which is in USD. If I click the foreign curr button it displays USD. If I click the company code curr button it displays EUR. If I then go back to the foreign curr view it is now in EUR???
    I am hoping someone can explain the difference between the two, or at least point me to a good resource. If there is a rational reason for this system behavior then I am hoping someone can suggest some way to manipulate the data.
    Many thanks,
    Chris

    Hi,
    CO-PA will only store values in either operating concern currency or company code currency(if active). For FI postings CO-PA fills the field foreign currency in the CO-PA line item with the currency with the currency of the company code. The reason for this is that the currency conversion for FI documents is that the currency conversion for FI documents is executed with the
    company code currency and the field FRWAE is always filled with the currency that is used for conversion. This is designed in order to allow a reconciliation between FI and CO-PA. CO-PA uses company code currency as the base to convert to operating
    concern currency for FI postings. The field FRWAE is not intended to reflect the transaction currency. It is just used to store the currency from which the conversion to the currency of the record is made.
    In case of direct postings from FI/MM CO-PA takes over group currency directly if group and operating concern currency are identical. As group currency is translated in FI with exchange rate ( according the settings in transaction 'OB22' for company code) you'll find this exchange rate in CO-PA too. I have attached SAP Note 604936 to this ticket that describes the translation logic used in PA for postings from FI and MM.
    The currency translation from SD however works differently as described in SAP Note 429517. In this case PA will not consider any values in group currency. Values in operating concern currency are either translated based on transaction or company code currency using exchange rate type 'M'.
    Hope this will help.
    Best regards, Takashi
    Edited by: Takashi Kotani on Mar 6, 2010 2:24 AM

  • One trial balance out of two company codes

    Our clinet has two company codes in legacy system, now we are implimenting SAP.
    In legacy system, company codes are combined into one overall trail balance. Once in SAP they will there be two separate LEu2019s. Will they be required to apply transfer pricing methodology for intercompany movements between themselves ?.
    Please advise how to configure this?
    How to have a one trial balance out of two company codes?

    Please note you have a few questions - I would recommend a single post per question to make it easier for others to answer.
    Please note - people will not share config guides or notes so you may want to ask a particular question around transfer pricing.
    If you have 2 Company Codes in ERP 6, that have the same controlling Area, FSV you can produce trial balances for more than one company code by activating the new GL.
    It seems your client is new to SAP, therefore the new GL will be activated as standard. The standard transaction F.01 allows for a single trial balance for 2 company codes, that have the same CoA, Controlling Area and currency.

  • Two Company codes of ECC to One Org Struture of CRM

    hi CRM experts,
    can we map TWO company codes(Enterprise Structures) of ECC into One ORg Structure of CRM.
    if answer is yes...
    how to do the same..
    regards,
    SR

    Please note you have a few questions - I would recommend a single post per question to make it easier for others to answer.
    Please note - people will not share config guides or notes so you may want to ask a particular question around transfer pricing.
    If you have 2 Company Codes in ERP 6, that have the same controlling Area, FSV you can produce trial balances for more than one company code by activating the new GL.
    It seems your client is new to SAP, therefore the new GL will be activated as standard. The standard transaction F.01 allows for a single trial balance for 2 company codes, that have the same CoA, Controlling Area and currency.

Maybe you are looking for

  • Frame 9 keystrokes for entering Paragraph and Character Tags

    I have been using the F9 and F8 keystrokes for entering paragraph and character tags, respectively, for 25 years. I just upgarde to Frame 9, and suddenly they behave differently. Instead of being able to type the first few characters of the tag name

  • Monday Morning Woes -- Pointer Exceptions and other assorted aggravation

    Gotta love Mondays. Anyway, here's my latest issue: A DataTable grabs all of the information from my database that I request AND it calculates a value based on two colums and throws them into a temporary column, which is exactly what I want it to do.

  • Published iCal Wrong with Daylight Savings!

    I publish two iCal calendars. I live in Hawaii and we do NOT use Daylight Savings Time. Last night .Mac apparently adjusted DSL so all my times are wrong by one hour! How do I fix this? (I already tried Unpublish and then Publish again. And I tried t

  • Software Upgrade 'Freezing'

    I am trying to load latest software upgrade from Apple. It downloads OK, albeit slowly, but, after restarting IMAC, it seems to freeze almost immediately after commencing installation during initializing system). Does anyone have any suggestions as t

  • Package javax.servlet.http does not exist & package javax.servlet does not

    Hello! I am trying to compile this file: /* serv2.java 29 Sep 04 */ import java.util.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class serv2 extends HttpServlet      protected void doPost(HttpServletRequest req, H