How to change field mapping in IDOC

Hi Experts,
My requirement is to create a purchase requisition automatically through an interface using the IDOC sent by a *source client*.
For this i have used PREQCR as the message type, PREQCR02 as basic type.
E1BPEBANC & E1BPEBANTX are the segment type i have to use.
I have created a Z process code in which the function module that i have used is IDOC_INPUT_PREQCR.
With the help of this i can map all the field values to PR.
Now there is a field in this idoc called vendor which comes from the source client.
Now the value that is maintained in this field(vendor) should go to the Text Id that is maintained at the header level. ( i.e. the header text. i.e. In transaction ME51N, the text IDs which we can see at header level, the vendor value should go in one of this text Id ).
Now how do i do this, because I am using standard funciton module IDOC_INPUT_PREQCR in which there is already field mapping that this vaue should go in this field and so on...
Do I have to use an exit for the same ?? If yes then which is the exit ??
Please suggest.
Regards,
Priti.

Hi,
I think there is no userexits available during the processing using function module "IDOC_INPUT_PREQCR".  You have to copy this function module to a Z function module.  Change as per your requirement and attach the new function module with the Z Process code created by you.
Regards
Vinod

Similar Messages

  • How to change field VBAK-CMNUP using VA02

    Hi EXPERTS,
    How to change field VBAK-CMNUP (Date of next credit check of document) using VA02?
    Seems it is hard to find it on the screen of VA02.
    Thanks in advance.

    Hi,
    Check these notes:
    Note 635727 - VBAK is filled with date only if block is set
    Note 588649 - Next date (CMNGV) - meaning and function
    Regards,
    Eduardo
    PD: I forgot the Note 588649 - Next date (CMNGV) - meaning and function.
    Edited by: Eduardo Hinojosa on Jun 11, 2009 11:39 AM

  • How to change the status of IDOCS from 29 status to 53

    Guys
    how to change the status of IDOCS from 29 status to 53
    Thanks in advance

    Hi Krishna
    IDOC_STATUS_CONVERT Use this FM and reward me

  • How to change keyboard map fmrweb.res for different forms

    I'm using Oracle Forms 10g with Oracle Forms and Reports Application server 10g.
    I know how to change fmrweb.res to change how keys function on web forms. The problem I'm having is I only know how to assign the fmrweb.res file when connecting to the application server, which means all forms running on that session have to use the same keyboard mapping.
    I know you can change the defualt fmrweb.res for all the forms executed on the application server
    and you can change the fmrweb.res file in the URL like
    server/forms/frmservlet?Form=login.fmx&config=dataentry
    (where dataentry is defined in the formsweb.cfg file)
    and in the config section I have
    [dataentry]
    term=fullpath/fmrweb_new.res
    My question is, is there a way to pick a different fmrweb.res file based on the form?
    Can you specify multiple forms in the basexxx.htm file(basejini.htm) in the PARAM section like
    <PARAM NAME="serverArgs"
    VALUE="module=form1.fmx term=fillpath/filename1.res"
    VALUE="module=form2.fmx term=fillpath/filename2.res"
    VALUE="module=form3.fmx term=fillpath/filename3.res"
    VALUE="module=form4.fmx term=fillpath/filename4.res">
    Is there a way to pass term=fullpath\filename.res to the Oracle Forms Web Runtime process for each form using call_form, open_form, or new_form?
    Edited by: user537213 on Sep 19, 2008 5:38 PM
    Edited by: user537213 on Sep 19, 2008 6:24 PM

    Posiible approach (i now it sounds strange):
    Configure your enter-key to fire the KEX-EXEQRY-Trigger.
    In the dataentry-form-module: Overwrite the KEY-EXEQRY-Trigger so thtat is just does a NEXT_ITEM; .
    I know there may be other implications depending of the compelixity of your dataentry-form, but maybe this helps.

  • How to Change RRI mapping

    Hi Experts,
                       I have to create RRI between two queries but I want to change the mapping between two queries
    Like first query A field will be mapped with second query Field B. Usually the mapping will be like
    first query A to second query A and so on...But I want to alter this mapping details...
    Thanks & regards,
    Bala Badrinath.

    Hi svu,
                      I tried with all I mean with offset in receiver and also with CMOD on receiver..But its not working..The problem is that I was not able to access the sender variable value to manuplate it. Please look at the cmod code which as follows
    where Z_ROY1 is receiver variable & Z_CFPVis the sender variable.can u try to find abt where i am going wrong....
      WHEN 'Z_ROY1'.
          LOOP AT i_t_var_range INTO loc_var_range
                  WHERE vnam = 'Z_CFPV'.
            CLEAR: zperiod3, zfiscyear, zfiscper.
            zfiscyear    = loc_var_range-low(4).                       (Eg 2008)
            zperiod3     = loc_var_range-low+4(3).                  (Eg 005)
            IF zperiod3 >= 3.
              zfiscper(4)   = zfiscyear.
              zfiscper+4(3) = zperiod3 - 2.
              zl_s_range-low = zfiscper.
              zl_s_range-high = loc_var_range-low.
            ELSEif zperiod3 = 2.
             zfiscper(4)   = zfiscyear - 1.
             zfiscper+4(3) = '012'.
             zl_s_range-low = zfiscper.
             zl_s_range-high = loc_var_range-low.
            ELSEif zperiod3 = 1.
             zfiscper(4)   = zfiscyear - 1.
             zfiscper+4(3) = '011'.
             zl_s_range-low = zfiscper.
             zl_s_range-high = loc_var_range-low.
            ENDIF.
            zl_s_range-sign   = 'I'.
            zl_s_range-opt    = 'BT'.
            APPEND zl_s_range TO e_t_range.
            EXIT.
          ENDLOOP.

  • How to change field text in standard trasaction

    Hi,
    In XD01 transaction i need to change the standard field label, How difficult/easy is it to change field label of a SAP standard field? Is there any other way to change the screen text. please let me know.
    regards
    Jaya

    Hi Jaya,
    You can change the label on the screen directly - BUT this would be a modification.
    There is a way to change field labels without a modification, but that has to be done on the data element level.
    For that just find out the data element that is referenced and create a Text Enhancement for that Data Element which is NOT a modification.
    - Goto transaction CMOD
    - Choose Menu 'Goto'
    - 'Text Enhancements'
    - 'Keywords'
    - 'Change'
    - Put in the data Element Name and confirm
    - You'll have the possibility to change the Label texts for
         Short, Medium and Long Field Label
         Heading
         Short Description
    - Make your Changes and save
    - Done
    Where ever that data element is referenced you'll see your own text.
    Hope that helps,
    Michael

  • In sets (t-code GS01-04): How to change Field name

    HI,
    I have created sets for rule in validation by t-code GS01. Where I have given Tbale name BSEG and Field name KOSTL(Cost Center No). Now, I want to change field name SAKNR (GL NO) instead of cost center. When I am trying to change field name t-code GS02, there is field name is in display mode and no way to change it.
    As I have lot of entries in each set, so that creation of new sets is very hard job again. Further when I trying to create new sets by reference it didnt change the table name and field name.
    Please provide me a solution.
    Khalid

    Hi,
    Hope it is not possible, logically total field is changing and the dependent entrie will not stay as it is. I don't think this is possible.
    Eventhough the values are same but the fields are different.
    VVR

  • How to change field values AFTER Inbound IDOC Posted successfully

    Hi SAP Experts,
    In my project I receive the inbound IDOC PORDCR05 from PI and posted as an Purchase Order in ECC.
    I create the Z process code and Z function module (which is a copy version of IDOC_INPUT_PORDCR) and complete all the necessary configuration steps. It works perfectly.
    My problem is: I have to  collect some inbound idocs (that satisfied some criteria) and change the value of field EKPO-TXJCD and EKKN-KOSTL of the PO AFTER  it posted successfully (means the purchase order is created and save in database).
    How can I do this? I've try to put the logic code in Z function module, but it does not work, since at that time, the Inbound IDOC is not updated to the database yet.
    Aprreciate your advise.
    Regards,
    Elaine.

    Hi Elaine ,
    as per your cretiria pick the idocs and take created PO# from status 53 & use the BAPI (BAPI_PO_CHANGE) to change the neccessary values in the PO. We can't reprocess those idocs again.
    Reddy

  • Change field content of IDOC automatically

    Dear all,
    we have a little problem and I think that can be solved by changes incoming IDOCs.
    But I'm not that familiar with IDOCs, so my question:
    We get HR-Data from another system.
    Message Type: HRMD_A
    Basic Type: HRMD_A07
    We want to change the payment method inside these IDOCs. The changes are not possible in sending system cause of organisational issues.
    Is it possible to change one field automatically?
    If yes, how can we do it or where can I find documentation about that?
    We'd like to find a simple solution.
    Thank you for your help.
    Kind Regards
    Philip

    hi,
    there are two ways to get this solved.
    1.) as Alexander mentioned. Look in the IDOC_INPUT_<IDOCtype> function and use an Exit or use an own function (with own processcode) to get the values changed.
    2.) make use of the ALE conversion rules.
    a) goto tcode bd62 or bd62old
    - create a name for the rule and assign the idoc segment (where the values have to be changed)
    b) go to tcode bd79
    - enter your rulename and edit the field like your need.
    you can set default values or rules or abap lines or map values , etc...
    c) go to tcode bd55 or bd55old
    - enter your messagetype (not idoctype)
    - assign your rule / segment to the specific partnercombination (look at we20, first).
    Regards,
    Gordon

  • 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

  • How to do message mapping in IDoc or RFC to file transfer ?

    Hello guys. I have a doubt. I know how to do an IDoc to file or RFC to file scenario. But how to do mapping in an Idoc to file or RFC to file scenario ? As I understand mapping is done in the sender. But IDoc or RFhas no interface as its used for SAP. So where do we need to perform mapping ?

    Hi,
    You dont need the Data type and message type for IDOC's, RFC's and for external definitions. so u just create one DT,MT for your File structure and you need 2 message interfaces, one for file and one for the Idoc/RFC. You can use them in your mapping program.
    Regards,
    Kumar.
    P.S: Reward Points if Helpful!!!!!!!!!

  • How to change field size using SQL against an oracle Database

    I am an admitted novice user, looking to become more proficient.
    I have a field in a table that I need to expand the field size. The table is called Inquiries. The data type is text. The current Field Size is 10. I want to increase it, to either the max, or somethign long enough to fit TECHNOLOGY LEADERSHIP PROGRAM.
    What is the SQL command to change the field size, and what is the max for a Text Field Size

    And/Or, an even better question might be,
    Do I need to use SQL*PLUS to do this, or are there better tools. I.e, I like how in Access, you can open up a database in Design view and just change the amount for the field size. Is there a similar "easy" method to do something like that with an Oracle database.
    My current version of the server/database is:
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning option
    JServer Release 9.2.0.6.0 - Production
    I was thinking I had to do SQL commands to perform the action, but there may be another way that I am not thinking about with all of the tools at my disposal. When I installed Oracle on my desktop, I installed most of the management tools and networking services, if that helps

  • How to change field in runtime at update query

    hi buddys
    i have to change the particular field during runtime how is it possible
    sample :
              UPDATE zmpq_qcchk_hdr
               SET (field) = i_hdr-ind1 WHERE
               zcust = i_hdr-zcust AND zns = i_hdr-zns AND
               zpgma = i_hdr-zpgma AND zdpn = i_hdr-zdpn AND
               zdu = i_hdr-zdu AND  zpart = i_hdr-zpart AND
               zsale = i_hdr-zsaleorder AND zitem = i_hdr-zitem.
    The (field) should be changed at runtime
    with luv
    pauldharma

    YOu can concatenate the field name with the whole string like this
    concatenate v_fieldname
    ' = i_hdr-ind1 WHERE
    zcust = i_hdr-zcust AND zns = i_hdr-zns AND
    zpgma = i_hdr-zpgma AND zdpn = i_hdr-zdpn AND
    zdu = i_hdr-zdu AND zpart = i_hdr-zpart AND
    zsale = i_hdr-zsaleorder AND zitem = i_hdr-zitem.'
    into v_string.
    UPDATE zmpq_qcchk_hdr
    SET (v_string).
    Regards,
    Ravi Kanth Talagana

  • How to change Field SEGMENT in Profit Centre Master

    Dear Experts,
    We have wrongly created a profit centre with wrong segment in the master and we have done some transactions with the same profit centre. Now we want to correct the SEGMENT field . But the field is greyed out when using KSE2 t code.
    Please advise how can we change the segment field.
    Regards,
    Alok

    Hi
    Please go through the below mentioned links
    Modify segment in Profit Center
    Segment in document posting
    Hope it may help you to solve your problem
    Regards
    Praveen P C

  • How to Change Field Status Group pertaining Value in SPRO

    Dear Sir,
    We are required to change the value for "Cost Center" as sppressed against a GL in the Field Status Group .
    We followd following path :
    Run Tcode FS00 , giving GL as 351200 , and on "Create/Bank/Interest" Tab double clicked the "Field Status Group" > Double click on "Additional Account Assignment"> Here against the Cost Center it is marked as Suppressed , but we want it to be marked as "Req Entry" .
    Kindly guide me , how can this value be changed please .
    Regards
    B V Mittal

    hii
    u can do it through obc4.
    go to obc4 select the varient. and than go to G004 cost center field statu varient..
    go to additional account assignments and than change status to the required field.
    Than assign that G004 to GL account.
    Thanks
    sejal

Maybe you are looking for

  • Display a column with a list of values from DUAL;

    Hello, how can I display something like: COL1 A B C D E F

  • Performance degradation of Weblogic 5.1 sp 6 bundled with Peoplesoft 8.1.2:

    Recenly we have upgraded from Peoplesoft 7 to Peoplesoft 8.1.2 Peoplesoft 8.1.2 bundled with Peopletools(Web based front end ) for the first time and Weblogic 5.1 sp6. There is performance degradation of the weblogic 5.1 sp 6 (on Windows 2000 ) when

  • Access Control up grade from 5.2 to 5.3

    Hi, One of my client have 1. Earlier Access control 5.2 was installed but only FF are configured and is in use. 2. After some time Access Control GRC 5.2 server (front end) have some problem so they have installed 5.3 to front end level   --no back e

  • Safari 4.0.3 and 4.0.4 Upgrade

    Hi I'm having issues upgrading to Safari 4.0.3 and 4.0.4. Software Update finds no new updates are available and when I run either installer pkg I get the same error "This volume does not meet the requirements for this update." I located a previous t

  • Sample code to read a text file from UNIX directory.

    I am using 9i Developer Suite, application server is 9.0.4. I want some help on how to read a flat file from UNIX environment. A sample code could be very helpful. In windows, i use this kind of code:- I declare an object & then write to a file using