Change an entry in the CDHDR Table

Hello Everyone,
How can I change an Entry which is present in the CDHDR Table.
I know of the FM ENTRYSHEET_WRITE_DOCUMENT which allows me to
create entries in CDHDR programitically but I am not sure this will help me change the entries.
Thanks for your Help
Ashwin

Thanks for your reply Arun.
I am trying out the FM BAPI_DOCUMENT_CHANGE.
Can you suggest some way of determining the Input parameters for the same. This seems to be a DMS related FM.
My intention of changing the CDHDR Entry is to change the value in the "USERNAME" field of this table.
Thanks and Regards
Ashwin

Similar Messages

  • Create a new entry for zfield in the CDHDR table when sales order is create

    Hi,
    We have some custom field added to table VBAP and that field need is updated thorugh transaction VA01 or VA02.
    The Function poeple is asking to Update the CDHDR table for the ztable when ever the field is updated ,and they want
    the changes to appear in the sales order changes Log.
    Prabhudas

    Problem solved.
    By using the ..
    Used this FM "VERKBELEG_WRITE_DOCUMENT" in MV45AFZZ in exit...DOCUMENT_SAVE.
    by passign the only VBAK and VBAP table structure of XVBAP and YVABP and field name as ZZFIELD.
    Prabhudas.

  • Ship to record not populated in the CDHDR table at the time of creation

    HI
    I have created the Ship to party in R/3 and automatically i couldnt found the customer number entry with Change object as " I " in the table CDHDR. but ideally all the master data creation entries will be written in the CDHDR table with " I ".
    Please help me out here.
    Helpful answers will be rewarded.
    Regards,
    Ram.

    In that case, try maintaining only the dates in that table and execute.  Once the data is populated, ensure that transaction code is XD01 and not XD02.  Moreover, I am not sure, system will show the creation time there.  May be you can try in KNA1 where also, you can see the creation date but not time.
    As an alternative, execute XD02 for that ship to party where from top menu bar, click on Environment => Account changes => All fields.  Again double click on "Entries", so that system will display the creation and changes made to that customer with date.  Double click on the first record so that system will show when that particular activity was taken place and at what time.
    thanks
    G. Lakshmipathi

  • Re:How can we delete the concurrent node entry from the FND_NODE table

    HI ,
    11.5.10.2 on Oracle Solaris on SPARC (64-bit) .
    How can we delete the concurrent node entry from the FND_NODES table without running Autoconfig.
    Currently we are having 3 nodes RAC and we are deciding to remove one node from the RAC and all 3 nodes are registered as concurrent node with application but concurrent manager is running only on one node.
    Lot of the custom configuration we did it at application web tire level. If we run the Autoconfig at that time we need to redo those changes again that we are trying to avoid.
    Regards .

    we are trying to avoid to run FND_CLONE.setup_clean because it will delete all the nodes entries from the FND_NODES.If those entries are invalid then they should be deleted.
    Running AutoConfig after purging the table will populate it with the correct entries.
    In order to populate the nodes entries again we need to run autoconfig and it will change the server id in fnd_nodes and then we need to redo the ADI client configuration on users PC and redo all the changes that we made in jserv and webserver.For ADI Clients, you should use the correct server ids which will be populated in the table for you once you run AutoConfig.
    For jserv configuration, you can refer to (Customizing an AutoConfig Environment [ID 270519.1]) to make the preserve all your custom setup/configuration after running AutoConfig.
    If there any custom script to delete only one node from the fnd_node so that we don't need to run autoconfig after that, then I really appreciate.No.
    Thanks,
    Hussein

  • Summarizing entries of the Internal table

    Hi All Experts!!
    I have problem regarding summarizing of the entries of the internal table.I want the amount field of the entries be summed based on 3  fields of table rkst skst rkstar.It means that summation be carried out if the set of these 3  fields are same.If there is different set new entry will be created.
    Here I want to summarize itab gt_yrepost2.
      LOOP AT gt_yrepost2 INTO gwa_yrepost2.
        sum_amount = sum_amount + gwa_yrepost2-amount
    be summed for repeating sets of 3 fields*****
          lwa_sum_yrepost2-amount = sum_amount.
          lwa_sum_yrepost2-kokrs = gwa_yrepost2-kokrs.
          lwa_sum_yrepost2-belnr = gwa_yrepost2-belnr.
          lwa_sum_yrepost2-buzei = gwa_yrepost2-buzei.
          lwa_sum_yrepost2-kstar = gwa_yrepost2-kstar.
          lwa_sum_yrepost2-bukrs = gwa_yrepost2-bukrs.
          lwa_sum_yrepost2-pbukrs = gwa_yrepost2-pbukrs.
          lwa_sum_yrepost2-tcurr = gwa_yrepost2-tcurr.
          lwa_sum_yrepost2-skst = gwa_yrepost2-skst."field1
          lwa_sum_yrepost2-rkst = gwa_yrepost2-rkst."field2
          lwa_sum_yrepost2-rkstar = gwa_yrepost2-rkstar."field3
          lwa_sum_yrepost2-txt = gwa_yrepost2-txt.
          APPEND lwa_sum_yrepost2 TO gt_sum_yrepost2.
    It means that if there is change in set of key fields new entry will be created. Else the entries will be summed to a single entry.In this example gt_sum_yrepost2 contained the summed(summarized) entries.
    The positive thing here is that if for one set of these fields the other values will be same.Hence other fields will take value of any of the repeating entries(with repeated set).
    Please help in this regards..
    Thanks in Advance....
    Prabhas.
    Edited by: PRABHAS jha on Jan 25, 2008 4:34 PM

    Hi Prabhas ,
    You could use Collect statement instead of Append.
    Thanks
    Rekha

  • Delete all entries from the following tables - Follow-up Activities (oracle)

    Hello,
    I performed a homogeneous system copy of our development BW system with the database (oracle 11.2.0.3) from the BW production system!
    I already start the oracle database and the SAP system in the target system/server (development BW system) and I´m doing some follow-up activities. One of this activities is (at the system copy guide 6.2.3.2 Activities at Database Level) is to delete all entries from the following tables:
    DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA
    I tried to delete them using SQL Plus:
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ... and it show me that error message.
    This is strange because when I go to transaction SE14 and check the DBSTATTORA I see that table exist and contain a lot of entries!
    Why this is happened in SQL Plus!? I´m running the correct SQL statement for doing this type of task or not?
    How can I delete the entries of that tables? Can I do that using the transaction SE14?
    Can you help me please?
    Thank you,
    samid raif

    Hello
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    It doesn't surprise me as you are not mentioning the schema name here. Instead it should be
    delete from SAPSR3.DBSTATTORA;
    Assuming the schema owner is SAPSR3. if the owner is different then replace that with the correct one.
    Regards
    RB

  • Number of entries in the internal table for perticular field value

    hi All,
    Is this possible to get the count of records from the internal table for a perticular field value.
    currently my requirement is to get the entries from the internal table which does not have two records for perticular field value (say a = 123) whose status is active (say b = 'X').
    also suggets should use LOOP or DELETE or DESCRIBE for a internal table to ful fill this requirement.
    Thanks in advance.
    Pradeep

    Try like this..
    Create another table itab2 with same structure as itab1 & move the contents of itab1 to itab2
    ITAB2[] = ITAB1[].
    Then delete entries from itab2
    Delete itab2 whete a = '123' and b = 'X'
    Then use Describe statement to get the no of entries
    Describe table itab2 lines v_lines.
    Hope this helps...

  • Loading data : Creation of entries in the Qualified Table

    Hi,
    I was wondering if anyone has succesfully achieved the following...
    I'm looking at the standard materials repository.
    - Main Table : Product
    - Qualified Table: Location Data. This qualified table single non-qualifier field is a look-up to a flat look-up table, called Plants
    The flat table is populated with the valid list of plants, using the check table synchronisation. The Main Table is empty, so is the Location Table.
    In order to load products into this repository using the import manager it seems that it is required to "create" entries in the qualified table (Location), one for each plant-code.
    Is this true ? I actually would expect the SAP MDM Import Manager client to be able to create the records in both the main table and if needed, the qualified table.  As long as my plant code exists in the "Plants" look-up table, that should be sufficient. It seems not the case..
    Thx,
    Dirk

    The sequence of Import
    - Load the Flat Lookup tables. ( in your case Plants)
    - Load the Qualified Tables ( in your case load the non qualifiers of the Location Data)
    - Load the Main table (in your case Products)
    Though MDM allows you to create Lookup values on the fly, I would rather go with this approach.
    If you are using Import Manager, you can add the Qualified Table Records in the fly.
    But if you are using Import Server, you will NOT be able to add Qualified table records in the fly. I tested this, and I see the files in the ImportX error directory.

  • How to select alternate entries from the database table

    Hi Experts,
    can u help me, how to select alternate entries from the database table.
    Thanks

    As there is no concept of sequence (unless there is a field specifically included for the purpose), there is no meaning to "alternate" records.
    What table do you have in mind, what data does it hold, and why do you want alternate records?
    matt

  • " No entry in the conversion table for the syntax group" error

    Hi,
    Iu2019m getting an error in the port setup when I try to run an Access Test on the logical directory.
    Definition of path
    TFTS02\INTF\RD1\OUTB\MM\RFC WINDOWS NT missing
    Message no. SG024
    Diagnosis
    There is no entry in the conversion table for the syntax group WINDOWS NT and the logical path
    TFTS02\INTF\RD1\OUTB\MM\RFC.
    System Response
    The system cannot generate a platform-specific path.
    Procedure
    Make an entry for the syntax group WINDOWS NT and the logical Pfad
    TFTS02\INTF\RD1\OUTB\MM\RFC in the conversion table using the FILE transaction.
    Regards,
    Rajiv

    Hi
    the error is simple. The path
    TFTS02\INTF\RD1\OUTB\MM\RFC you are trying to access is not there so create the path in the FILE transaction.
    In file tcode goto NEW ENTRIES and give the path and also make sure that in AL11 the path and the filename you are trying to open exists.
    Thanks & Regards
    Jyo

  • Making entries in the thost table.

    Hi,
    Can you please let me know what is the exact purpose of making an entry in the thost table.
    - is it just to get a symbolic computer name, in case the computer name is too long and use this symbolic name in certain cases (eg: TXCOM)?
    - most importantly I want to know if making an entry in the thost table will <b>improve the response time</b> of an SAP system in any sense.
    Best Regards,
    Samuel

    Hi Ruchit,
    Thanks for the response.
    I had referred this note earlier but it does not provide the answer I am looking for.
    I want to know, will making entries in the <b>thost</b> table help improve response time by any means.
    I am not able to find any info at help.sap.com also.
    Please let me know if any of you have updates on this.
    Best Regards,
    Samuel

  • Weird entry in the exception table for monitorenter/monitorexit

    I've created a simple test class with one method:
    public class TestClass {
         int a = 0;
         public void test() {
              synchronized(TestClass.class) {
                   a = 1;
    }After opening the generated class file with Eclipse I got the next
    result (I've removed the parts that are irrelevant)
    public void test();
    0 ldc <Class TestClass> [1]
    2 dup
    3 astore_1
    4 monitorenter
    5 aload_0 [this]
    6 iconst_1
    7 putfield TestClass.a : int [12]
    10 aload_1
    11 monitorexit
    12 goto 18
    15 aload_1
    16 monitorexit
    17 athrow
    18 return
    Exception Table:
    [pc: 5, pc: 12] -> 15 when : any
    [pc: 15, pc: 17] -> 15 when : any
    I do understand that after the monitor is entered it is very important that it leaves it again with the instruction monitorexit. In normal case where no exceptions occur it will call monitorexit at the address 11. But if an exception occurs it has to make sure monitorexit is called and therefore the exception table defines in the first entry that on any exception the VM jumps to address 15. Until here everything is understandable, but what is the second entry in the exception table telling me? if an exception occurs betweern 15 and 17 then jump to 15 ... doesn't this cause an endless loop?

    Just saw this topic, have you investigated this further? I agree it's weird, and maybe would've gotten more attention in the compiler forum, because it's not really a VM issue...
    The bytecode in your OP also differs from the example given in JVMS chapter "Compiling for the Java Virtual Machine", section 7.14 Synchronization: http://java.sun.com/docs/books/jvms/second_edition/html/Compiling.doc.html#6530
    In particular, the first monitorexit instruction is not covered by the "finally" handler there. In your example (and some produced with javac 1.6.0_01), it is. Now when one of the monitorexit instructions throws, the bytecode emitted by javac will keep retrying monitorexit until it finally succeeds (assumed that this is possible), only to immediately throw an exception that indicates that the monitorexit instruction failed?! I hesitate to call it a paradox for some other reason, but definitely very strange. It's also interesting to note that in all the test classes I looked at (and your example, too) a simple decrement of "end_pc" by 1 in the respective exception table entries would be sufficient to achieve a somewhat sane behaviour...

  • Unable to create Entries in the Z Table -- Make entry in the form 9,999.999

    I have created/Copied a standard table to a z Table with 5 fields.
    One of the Field should be capbale to hold AAAAA.DDDDDDDDDDDDDD. (ie 5 Place before point and 14 decimal places).
    So I have created Domain DEC with 14 decimal places and 19 No Characters.
    When I tried creating an Table Entry(REcord), System rejects the value present in this  field wth the following
    message "Entry 12345.000000 is to long. (Make entry in the form 9,999.99999 or /9,999.99999.)".
    One more thing: I have maintained the DEcimal Notation as 1,234,567.89 in the User Defaults(TCode SU01).
    Please help !
    RJ

    Hi,
    So as you said the notaion comma is also included in the count of places.
    so try giving as1,234.00000 - shouldn't give error.
    if no error then increas the total no. of character in domain to 20 and check giving value 12,345.000000...
    Regards
    Salini.

  • Entries in the PREQ_ACTOR table gets modified

    Hi all,
    I am facing a typical issue with the table PTREQ_ACTOR, the entries of the table PTREQ_ACTOR gets modified sometimes resulting in the  inconsistency in the entries between the PTREQ_ACTOR and PTREQ_HEADER table, This inconsistency leads to the error in the leave application and the team calendar.
    Can anyone please suggest what might be modifying the entries in the table PTREQ_ACTOR and for what reason..
    Thanks in advance,

    are you using any custom program to modify these entries?
    are you using your own logic in
    FIND_RESP_AND_DEFAULT_NEXT_PRC in the PT_GEN_REQ  BADI
    This is determined during the approver determination

  • HANDLING MULTIPLE ENTRIES IN THE INTERNAL TABLE

    Hi guys,
              I got some problem with handling multiple entries from database table. I am retriving four fields and an amount field from the database table and creatinf a file to upload in the application server.But the file has to be taken like below.
          If the four fields which i am retrieving are repeated then we have to take the net amount and make all the entries as one record. else if any of the four fields vary then i have to take it as a seperate record in the internal table. So how can we do this !! I have tried AT NEW and some other logics too but could get the exact one.
      Pls help me out ASAP....

    I think I may have misunderstood your problem.  If you have an exactly match(all four fields), only then you need to collect,  right?
    Try this example.
    report zrich_0002.
    data: begin of itab occurs 0,
          field1(10) type c,
          field2(10) type c,
          field3(10) type c,
          field4 type p decimals 2,
          end of itab.
    data: begin of icheck occurs 0,
          field1(10) type c,
          field2(10) type c,
          field3(10) type c,
          field4 type p decimals 2,
          end of icheck.
    data: begin of itab2 occurs 0,
          field1(10) type c,
          field2(10) type c,
          field3(10) type c,
          field4 type p decimals 2,
          end of itab2.
    start-of-selection.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '123.45'.
      append itab.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '123.45'.
      append itab.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '123.45'.
      append itab.
      itab-field1 = 'A'.
      itab-field2 = 'B'.
      itab-field3 = 'C'.
      itab-field4 = '678.90'.
      append itab.
      loop at itab.
        read table icheck with key field1 = itab-field1
                                   field2 = itab-field2
                                   field3 = itab-field3
                                   field4 = itab-field4.
        if sy-subrc = 0.
          move-corresponding itab to itab2.
          collect itab2.
        else.
          move-corresponding itab to icheck.
          append icheck.
          move-corresponding itab to itab2.
          append itab2.
        endif.
      endloop.
      check sy-subrc  = 0.
    Regards,
    Rich Heilman

Maybe you are looking for

  • HT1430 How do you power off a i Phone in Assistive Touch?

    I have to use Assistive Touch on my phone because the power button does not work, how do I power off the phone completely when I use Assistive Touch?

  • Video's from iphoto to ipod

    Maybe this isn't the right place to start, but I will try here. I have rebel T1i camera and shoot some video usually at 720. The rebel shoots at 3.7 MB/sec (720P). Now, from what i understand this isn't compatiable with itunes for the ipod. Kind ****

  • Freight condition type to COPA

    Dear Experts, I know only two type of condition type passed to COPA 1) Statistical Condition type 2) Condition type with 11 and 12 cost element category like - discount,rebate with 12 category and frieght and octroi charged from customer with 11 cate

  • Bapi for trans code FBS1 - is there any? - FI - Reversal Journal Entries

    Hi Sap Forums, I have to post Reversal Journal Entries, I am currently using BAPI_ACC_GL_POSTING_POST for regular entries. Anyone else had to do this? thanks

  • Issues using Apple TV

    Hi, Just set up my new apple TV, although it plays music from my iphone 4 v4.2.1 it won't show my photos?? from the iphone i select show on Apple TV but nothing comes up on the TV! Also, I'm trying to play music from itunes 10.2 on my PC but it gives