Need to change data in an idoc

Is there any possibility to change data of a segment without generating another idoc?, when i save data in we05 it generates another idoc, and i don´t want to.
Thanks in advance
Regards

Hi,
As far as know you can do this only in an user exit for the idoc.
Find some user exits in the processing code of the idoc which you are using.
In that write the code to modify the data before the idoc gets posted.
If you try to use WE19 to change data of an existing idoc and post it then it will always create a new idoc.
Hope it was useful.
Thanks,
Sandeep.

Similar Messages

  • How to change data element of IDOC segment

    HI Experts,
    I have copied a segment E1ISU_MEASUREMENT_MEA to ZE1ISU_MEASUREMENT_MEA.
    Now i want to change data element of one of the field of the segment.
    Please guide me how i can do it?
    is there any disadvantages of doing this?
    can we do it easily?
    please give me step by step instructions if possible .
    thanks in advance
    Anit

    Hi,
    When you want to modify the segment details of a particular IDoc, you could do the same by editing the segment details via t-code, WE19. Once you edit, click on, Outbound or Standard Inbound if your IDoc is Outbound or Inbound respectively. A new IDoc will get generated. The generated IDoc will be in "yellow" status, ready to be picked up by a batch job if there exists one. Else you need to manually process the IDoc via the respective program.
    ~ Bineah

  • WHY DO I NEED TO CHANGE DATA PLAN IN ORDER TO GET A NEW PHONE?

    WHY DO I NEED TO CHANGE PLAN IN ORDER TO GET A NEW PHONE FOR A CHEAPER PRICE ?

    You do not like the answer that is different then you being wrong. Everyone can think things about anything, but it is a black and white issue. To get a new cheaper phone, then you would have to change your plan.
    <<Personal comments removed to comply with Verizon Wireless Terms of Service >>

  • Need to change the status of IDOC of type 'INFREC' to 51 failed

    Hi SapAll.
    here i have got a situation  where iam running a sap standard program 'RBDSEINF' tcode'me18'  by filling in parameters "Info record,Merchanise category as INFREC and while running  it is doing some validations using the Function module 'MASTERIDOC_CREATE_INFREC'  through the sap standard Enhancement which is implemented inside it and there is also code written in the EXIT 'EXIT_SAPLMEAO_002' under the include ' ZXMALU03 'to insert some ZSegments,etc.finally after all the explained process it was creating the IDOC Sucessfully.
    now here the requirement is i need to define some code in the following below mentioned FM  to make the IDOC Fail with status 51 when the below mentioned condition  happens
    code in the FM 'MASTERIDOC_CREATE_INFREC'  in the standared enhancement as below :
    FUNCTION masteridoc_create_infrec.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Function Module MASTERIDOC_CREATE_INFREC, Start                                                                                                   A
    *$*$-Start: (1)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1  ZRMD_INFOREC_FILTER.
    TYPES: BEGIN OF t_tvkov,
                vkorg TYPE tvkov-vkorg,
                vlgfi TYPE tvkov-vlgfi,
             END OF t_tvkov,
             BEGIN OF t_marc,
                werks TYPE marc-werks,
             END OF t_marc.
    * Variables
      DATA: lv_index TYPE i,
            lv_urzla TYPE eina-urzla,
            lv_matnr TYPE eina-matnr.
    * Tables
      DATA: lt_tvkov TYPE TABLE OF t_tvkov,
            lt_marc  TYPE TABLE OF t_marc.
    * Structures
      DATA: ls_tvkov   LIKE LINE OF lt_tvkov,
            ls_bdieine LIKE LINE OF t_bdieine.
    * Leave only relevant inforecords
      SELECT  SINGLE matnr urzla
        FROM  eina
        INTO  (lv_matnr, lv_urzla)
        WHERE infnr = f_bdieina-infnr.
      IF lv_urzla IS INITIAL.**********************************************************************8
    *    EXIT.
    MESSAGE e019(zrmd_msg).
              TE_IDOC_CONTROL-STATUS ='51'.
             append TE_IDOC_CONTROL.
         ENDIF.*************************************************************************************
    when the above higlited condition is true then i have to create  the IDOC as failed  with the status 51 and with the error message saying 'Country of Origin must be maintained in Purchase info Record”.'
    i have tried debugging for  2 to 3 hours to check if i can create the failed IDOC with status 51 but i couldnt.
    so could any body help me in this.
    regards.
    Varma

    Hi mr  Bhagath.
    the only options where i can get the IDOC Number is as shown in the below attached screen s .
    Varma
    iam not sure of where i can get the IDOC number  and implement the code,the only area where i could get the IDOC number is at the higlited square  block where i explained that i can get but i am not able to write any code there as SAP is not allowing me .
    hope to get the best answer from you.
    regards.
    Varma

  • Using Frame API for C, Need to change Data size for a TX Object

    I need to Transmit different messages to the same ArbitrationID address. The Transmited messages have variable lengths. Can I call ncConfig on an object to change the NC_ATTR_CAN_DATA_LENGTH even after the call to ncOpenObject. Or do I have to Close the object and reopen it after the call to ncConfig?
    Thanks!

    Hello Genesis,
    your second assumption is right. You do have to close, reconfigure and reopen the object in order to change the data length.
    As long as you're using the CAN Object in the 'Transmit Data by Call' mode only, you might want to consider using the Network Interface for transmitting. When you use the Network Interface, you can change the ArbitrationID for each write call.
    -B2k

  • I Need to change Date Format in BEx report

    Hi Experts,
    i Need display with required values with following symbols in BEx report # and Date format change as per client requirement. Without any VB Code.
    Let me know solution for this.
    By
    ANR

    My actual requirement,
    by default date format display in BEx Reports MM/DD/YYYY fomat, but i want change DD/MM/YYYY format without using any VB macro and also instead of displaying "#"  i need display "0" (Zero).
    let me know the solution.
    by
    ANR
    Anybody ....
    Message was edited by: ANR

  • Need to change Date field Zone from IST to UST

    Guys,
    I have to develop a application in which there is a Date field. This date is coming from Application Server i.e. R3 and is in India, terefore it's IST. Now when this application is run from US, it should give the UST.
    Means Actually I want to change the Date from IST to UST.
    Can somebody please reply with the coding that needs to be done.
    Thanks,
    Nikesh Shah

    Hi,
    Refer the following link
    Date format
    Java Webdynpro Date Format
    I hope it helps.
    Regards,
    Rohit

  • Need to Change data in PDF form field with importData operation

    This should be simple, right?
    I have a PDF form that is submitted.  At a certain step in the process, I need to modify the value of one field from within the process.  I am using a PDF document in the default formData document variable.  To do this, I am using the exportData operation from the FormDataIntegration service to get XML.  I then use the setValue service to modify one node of the XML.  Finally, I use the importData operation from the FormDataIntegration service to import the modified data back into the PDF.
    Problem is that I am getting an error.  It says: ALC-FDI-001-304: Only XDP data is supported with XFA forms.
    Any advice?  Jasmin, Jayan, Paul, anyone?

    My theory is that when you export the data you do get xdp data.
    Now  when you modify the node you don't have the right xPath to that node and if that's the case, it might be overwriting the entire xml.
    This is causing the xml not to be in xdp data format and you get the error.
    Could you post the data you get from the exportData operation and then the xml you try to use by the importData?
    Jasmin

  • Need to change Date/Time stamp on jpeg file

    I combine images into panoramas using PTGUI. The problem is that the output image file is date stamped as the time that I created the image. I really want the date/time stamp to be the same as the images that go into the panorama. I cannot find a way in LR to change this.
    Lee

    > By the way, Victoria, should you be promoting your url here? It belongs in your profile. It's in the forum rules somewhere and others have been picked up on it before.
    >
    > Joe
    Oh, thanks Joe, I'll change that then. I did go looking for forum
    rules, but couldn't find any!
    Victoria

  • Need to change data on recovery partition

    Hi, I am using T500 with Vista Business 32bit. I found out that I can switch to Vista Business 64bit using the same license key. Is there any program that I can change the recovery partition with? I would like to replace Vista 32bit with Lenovo soft for new 64bit version. I tried to ask on our czech forum, searching lenovo pages and asking lenovo czech tech support, but no response.            Thanks Jakub

    Was verified that was no exit to do what we need, but the problem was related with a note for the company country.
    Thanks.

  • Need to change date farmate

    hi all,
    my upload program is taking only US date formate..I want change it will be take any formate...can u help me nay one....

    You can not change user master record data(which are stored in a standard table usr01).But before uploading you convert dae in a single form by using your own code which would be like this.
    Read current date format of the System(USR01-DATFM)(There are 6 formats)
    case type-1.
       date+6(2) = dd.
       date+4(2) = mm
      date +0(4) = yyyy.
    case type-2. and  so on upto 6 types.
    Here dd is w_date+0(2) for type 1
    Here dd is w_date+2(2) for type 2 and 3    
    Here dd is w_date+6(2) for type 4,5,6
    similarly for mm and yyyy also.

  • Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE

    Hi,
    I need to change date of a contract and for the same I am using Bapi "BAPI_CUSTOMERCONTRACT_CHANGE".
    I am passing the following Parameters to the BAPI.
    SALESDOCUMENT  -- Have passed the Contract Number in this.
    CONTRACT_HEADER_IN -- Have passed the values of the following fields ::
    COLLECT_NO -- Sales Document number
    Sales_Org  -- Sales Organization
    Distribution Channes -- Dist. Channel
    Division -- Division
    CT_VALID_T -- New date which I want as the contract end date.
    CONTRACT_HEADER_INX -- Following values have been paased in this Structure.
    UPDATEFLAG -- 'U'.
    CT_VALID_T -- 'X'.
    Now when I run the BAPI with these inputs I get the output as ' Field 'GUEEN' cannot be copied, because it is not ready for input'.This is a information message. But the changes are not reflected in the contract. I have done the commit work after BAPI.
    When I changes the value for CT_VALID_T flag from 'X' to 'U' the message mentioned above does not come but the end result is same and changes are not reflected in the contract.
    I would be really helpful to you if get any kind of helf to know ehy the output is not coming.
    Thanks a Lot for your kind help!!!!
    Regards,
    Lalit Kabra

    Hi Lalit,
    The value for CT_VALID_T flag has to be 'X' in the CONTRACT_HEADER_INX structure.
    In this case, you receive an informative message "Field 'GUEEN' cannot be copied, because it is not ready for input'"
    That is the problem. You cannot change this field because your functional team has this field as "not ready for input" in change mode.
    Can you change this field in transaction VA42? If you can't modify it in dialog, you can't modify it with BAPI.
    Regards,

  • BAPI to change data at operation level

    Hi,
    I have this requirement:
    I need to change data at operation level, more particularly Person No (PERNR) by using a BAPI.
    Is there any BAPI - in which I can pass the basic data (say Order data and Operation data) and change the PERNR for it.
    The name of the BAPI and its usage will help.
    Ankur

    Hello,
    Assuming you are talking about maintenance or service orders, you can use BAPI_ALM_ORDER_MAINTAIN. See function module documentation from SE37. The structure BAPI_ALM_ORDER_OPERATION contains PERS_NO field.
    -Paul
    Please use Enterprise Asset Management (EAM) forum for PM/CS specific topics
    Enterprise Asset Management (SAP EAM)

  • Retrieving latest changed date UDATE for Vendor.

    Hi All,
    I have a requirement to retrieve latest changed date UDATE field from CDHDR table based on company code wise??.
    As the vendor can be same for different company codes, I need to retrieve the company code wise latest changed date of vendor.
    Hope am clear.
    Currently am doing this 
    SELECT objectclas objectid tcode udate
        FROM cdhdr INTO  CORRESPONDING FIELDS OF TABLE it_cdhdr
        FOR ALL ENTRIES IN it_lfa2
        WHERE objectclas = 'KRED' AND
              objectid   = it_lfa2-objectid
        AND   change_ind = 'U'.
    SORT it_cdhdr BY objectid udate  DESCENDING.
    Its giving me the latest changed date. But I need latest changed date -company code wise?
    Any help is highly appreciated.
    Thanks & regards
    Himayat.

    Hi,
    Use function module CHANGEDOCUMENT_READ to get the details of CDHDR as well as CDPOS data. Records of table CDPOS where TABNAME = 'LFB1' will have the details related to changes in company-specific data.  Structure EDITPOS of above function module will give you detail information.
    Regards
    Vinod

  • Changing data in MATMAS.

    Hi,
    How can we Change data in MATMAS IDoc
    Thanks,
    Malini.

    Hi,
    Use the following BAdIs to change data in the MATMAS IDoc:
    BADI_MATMAS_ALE_CR   Change Data in MATMAS IDoc When Generating an IDoc
    BADI_MATMAS_ALE_IN   Change Data in MATMAS IDoc Before Posting
    Reward points if found helpfull...
    Cheers,
    siva.

Maybe you are looking for