Adding extra field in extractor and changing Logic for FM for extraction

Hi,
We have an extractor that is extracting R/3 data using Function Module.
Now that i had appended one field in the extractor , i want to change the FM logic for filling up the new field added.
Is there any sample code for filling up of newly appended field?
Regards,
Karan

Hi Raj,
From your description, it is clear that you are talking about a FM extractor. If if it a standard FM data source, you are not adviced to change the standard function module. The way to enhance the data source is to append the ES to add the field and write your logic in the User exit (RSAP0001) to populate the added field. Hope this helps.
Thanks and Regards
Subray Hegde

Similar Messages

  • Form Validation using Javascript error when adding extra fields

    Hi,
    I have a form (with a few fields which require validation) which works just fine.  I have added extra fields to the form and require them to validate too.  My problem is that they are not showing via the behaviours/validation box and I can't figure out how to sort it!  They are contained within the form element.  I have tried to delate the original validation and start again but to no avail.
    Please can someone help me?
    Code below.
    Many thanks
    function MM_validateForm() { //v4.0
      var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
      for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
        if (val) { nm=val.name; if ((val=val.value)!="") {
          if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
            if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
          } else if (test!='R') { num = parseFloat(val);
            if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
            if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
              min=test.substring(8,p); max=test.substring(p+1);
              if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
        } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
      } if (errors) alert('The following error(s) occurred:\n'+errors);
      document.MM_returnValue = (errors == '');
    //-->
    <form action="contact_us.asp" method="post" name="contact" target="_parent" class="contentText" id="contact">
          <table width="100%" border="0" cellspacing="5" cellpadding="0">
            <tr>
              <td width="54%" class="subHeader">Full Name* </td>
              <td width="46%" class="subHeader"><input name="FullName" type="text" id="FullName" /></td>
            </tr>
            <tr>
              <td class="subHeader">Company Name </td>
              <td class="subHeader"><input name="CompanyName" type="text" id="CompanyName" /></td>
            </tr>
            <tr>
              <td class="subHeader">Address</td>
              <td class="subHeader"><input name="Address1" type="text" id="Address1" /></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Address2" type="text" id="Address2" /></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Address3" type="text" id="Address3" /></td>
            </tr>
            <tr>
              <td class="subHeader">Postcode</td>
              <td class="subHeader"><input name="Postcode" type="text" id="Postcode" /></td>
            </tr>
            <tr>
              <td class="subHeader">Telephone Number* </td>
              <td class="subHeader"><input name="Telephone" type="text" id="Telephone" /></td>
            </tr>
            <tr>
              <td class="subHeader">Mobile Number </td>
              <td class="subHeader"><input name="Mobile" type="text" id="Mobile" /></td>
            </tr>
            <tr>
              <td height="25" class="subHeader">Email Address* </td>
              <td class="subHeader"><input name="Email" type="text" id="Email" /></td>
            </tr>
            <tr>
              <td height="30" class="subHeader">Status*</td>
              <td class="subHeader"><select name="StatusClass" id="StatusClass">
                <option selected="selected">Please Choose</option>
                <option>Architect</option>
                <option>Interior Designer</option>
                <option>Private Client</option>
                <option>Student</option>
                <option>Trade Enquiry</option>
              </select>          </td>
            </tr>
            <tr>
              <td height="23" class="subHeader">Project*</td>
              <td class="subHeader"><select name="Project" size="1" id="Project">
                <option selected="selected">Please Choose</option>
                <option>Planning Stages</option>
                <option>New Build</option>
                <option>Refurbishment</option>
                <option>Barn Conversion</option>
                <option>No project - information only</option>
              </select>          </td>
            </tr>
            <tr>
              <td height="37" class="subHeader">How did you hear about us?*</td>
              <td class="subHeader"><select name="CameFrom" size="1" id="CameFrom">
                <option selected="selected">Please Choose</option>
                <option>Web Search</option>
                <option>Grand Designs</option>
                <option>Living Etc</option>
                <option>Home Building &amp; Renovation</option>
                <option>Architect</option>
                <option>Friend/Family</option>
                <option>Magazine/Editorial</option>
                <option>Newspaper Article</option>
                <option>Trade Show/Exhibition</option>
                <option>Other</option>
              </select></td>
            </tr>
            <tr>
              <td height="24" class="subHeader">Brochure Request </td>
              <td class="subHeader"><input name="Brochure" type="checkbox" id="Brochure" value="checkbox" /></td>
            </tr>
            <tr>
              <td class="subHeader">Message</td>
              <td class="subHeader"><span class="style4">
                <textarea name="Message" id="Message"></textarea>
              </span></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Submit" type="submit" value="Submit" /></td>
            </tr>
            <tr>
              <td colspan="2" class="subHeader"><em>* Required fields</em></td>
            </tr>
          </table>
          </form>

    whoops..... forgot to post this line of code which was a bit further down the page...
    "MM_validateForm('name','','R','number','','RisNum');return document.MM_returnValue">

  • I recently changed my iCloud account because someone stole my last phone and changed all my passwords for both my iCloud and emails account. So when I changed my account I accedently erased all my contacts is there anything I can do? (It wasn't backup)

    I recently changed my iCloud account because someone stole my last phone and changed all my passwords for both my iCloud and emails account. So when I changed my account I accedently erased all my contacts is there anything I can do? (It wasn't backup)

    I'd say your best bet is to try to regain access to your old account. Call 1-800-MY-APPLE, and ask to talk to the account security team. Hopefully they can verify you are the account owner, and then reset the password for you.

  • IE issues and change browser on BB for safety

    Basic user with little knowledge, but with 9800 do I need to be concered with IE issues and change browser on BB for safety?
    Solved!
    Go to Solution.

    Hello,
    BB's do not run IE, so there is no need to be concerned in that regard. Some BB Browser versions can be configured to run in an IT Compatible mode, but they are technically not IE.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Adding Extra Field in INFOSET

    Hi,
    I am working on infoset which is reteriving the data through Logical Database and trying to add the field for the field description.
    It has to display the data through data element but it is not doing so .
    Actually, i had created a query which shows the data about the changes made in the Material.I am able to display all the data but not the text that shows the description of what has been made .
    Here's the code:-
    TABLES: CDPOS.
    DATA: E_DD04V LIKE DD04V OCCURS 0 WITH HEADER LINE.
    DATA: E_DD03L LIKE DD03L OCCURS 0 WITH HEADER LINE.
    DATA: P_DDTEXT LIKE DD04V-DDTEXT.
    IF CDPOS-FNAME <> 'KEY'.
        CALL FUNCTION 'GET_FIELDNAME_TEXT_1'
          EXPORTING
           I_AS4LOCAL                = 'A'
           I_AS4VERS                 = '0000'
           I_FIELDNAME               = CDPOS-FNAME
           I_TABNAME                 = CDPOS-TABNAME
          TABLES
           E_DD03L                   = E_DD03L
           E_DD04V                   = E_DD04V
         EXCEPTIONS
         ERROR_IN_PARAMETERS       = 1
         NOT_FOUND                 = 2
         OTHERS                    = 3
      ENDIF.
      IF SY-SUBRC <> 0.
         CLEAR E_DD04V-DDTEXT.
    *      ELSE.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      IF CDPOS-FNAME = 'KEY'.
        P_DDTEXT = 'New Entry Made'.
      ELSE.
        P_DDTEXT = E_DD04V-DDTEXT.
      ENDIF.
    Please provide me guidelines to solve this problem.
    Edited by: ricx .s on Jul 15, 2009 11:37 AM

    Hi,
    Currently i am doing the following:-
    I had created a Logical Data Base where i had made the logic for the Changes Made To Material. I am fetching the data from the following tables:-
    MARA,MAKT,CDHDR AND CDPOS.
    As i am checking the LDB it is working fine as i had verified the data and i follow the whole procdeure to make Query and then generated it,it is working fine. But when i try to add the extra field (which shows the description what change has been made,it give errors for it).
    Please provide me guidelines to solve this problem.

  • Adding Extra field in KSB1

    Hi all,
            I need to add one extra field in output of  the Report, Please tell me the procedure to add extra
    field in the ALV output.
    Regards
    Suprith

    Hi,
    Create the structure CI_RKPOS and include the field you want to display in this structure .....
    use the userexit COOMEP01 CO-OM: Information system -> line item reports
    EXIT_SAPLKAEP_001 in this function module ......write the logic to fill that field value....
    and pass the value to  CS_RECORD structure ....
    your added field will be visible in the structure  CS_RECORD....
    Thanks,
    Shailaja Ainala.

  • Adding custom field in ME2B and business function activation

    Hi Experts,
    I have one requirement for adding one custom field in ME2B for ALV output. From some old thread i come to know we have to implement BADI "ME_CHANGE_OUTTAB_CUS". But when i search for this BADI its not available.
    For this BADI suppose we have to activate one business function MM, Integration of Materials Management and Financial Accounting (LOG_MMFI_P2P).
    I want to know if we activate this business function then what are the changes will happen in our system(In standard transaction).
    Please revert.
    New fields addition in ME2L Report
    BADI ME_CHANGE_OUTTAB_CUS
    Thanks,
    Venkadesh

    Hi Team,
    I resolved this issue using enhancement without using BADI. My team not ready to activate the Business so i moved to implicit enhancement.
    Inside method " if_reader_mm~read_table." in include "LMEREPI02", we are getting the Fieldcatlog and dynamic table for output. Here i have added my custom field and changed the dynamic structure with reference " ex_table_ref ".
    I know this is not a proper way to do, but it is not affecting the standard process.
    Thanks,
    Venkadesh

  • Problem with adding new field to the mass change screen in FBL5N

    Hi,
    We have a problem with adding the field XREF3 to the mass change screen. We followed steps described in the SAP Note 640908, but the result is that when we try to mass change some documents in FBL5N and enter some values in the mass change screen, a message appears: "Please enter at least one new value" and nothing is changed.
    If you have faced with such a problem, we would be grateful if you give us some tips.
    Regards,
    Miłosz Włodarczyk

    The problem has been resolved: we didn't activate a code in SE80.

  • Adding new field in va01 and va02 t-code.

    hello all,
    here in sales order creation t-code and change order t-code's header information in shipping tab all fields coming regarding total waight and total volume and net waight but there is no field of total quantity and intersting thing is this its not coming in whole t-code anywhere.
    so friends i want to add this field.
    so which method should be followed for doing this.
    thanks and regards amit.

    Hi,
          Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4998349&messageID=3132651
    Please check this
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    The SAPMV45A , 8309 screen is the Additional Data B tab to add your custom fields . To capture the data from this custon field you can use
    the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT depening on your functionality
    Regards

  • Adding extra Field to a Infoset Query

    Hi Experts,
      I need to add an extra field to a SAP Query(infoset). SInce the code uses a dynamic program call, how do I add my code . Can I have some example code used to add extra field to a SAP Query

    Hi Mithun and gurus,
    My code is working now for these 3 new additional fields. The thing is it works if these fields were selected solo. but if all of these 3 or 2 of it simultaneously, an error occurs.
    Error when generating the report (see long text)
    Message no. AQ_AD_HOC221
    Diagnosis
    The report cannot be generated because the internal description is invalid or incomplete, or because the selection screen is too large.
    Regenerate the assigned InfoSet, and read the log. If the InfoSet is OK, make sure that at least one field is given as output.
    If you used the 'Refresh' icon to start the query, use the 'Output' menu option to execute the query. This gives you a full screen display of the data.
    If an output was generated, the query cannot work with actual data in the construction view. In this case, always use the 'Output' function to execute the query.
    Procedure
    If the selection screen is too large, you need to reduce the number of your selections.
    Make sure that the assigned InfoSet is correct. The name of the assigned InfoSet is stored in the menu option 'Extras -> Template Information'.
    Output at least one field. Otherwise you will not be able to save or generate reports.
    If you do not have this problem, execute the query using the 'Output' function.
    Otherwise, there is an error in the InfoSet Query.
    >>>I checked and the code seems fine at least. I think there must be something I need to configure. I tried the SEQUENCE for Codes but nothing happens..
    I hope you could helop me with these..Thanks a lot!!!

  • Adding Custom Fields to BSEG and BKPF Tables

    Hi All,
    My customer would like to add around 5 fields to BKPF table and 6-7 fields to BSEG table. Can you all suggest me whether it would be a good idea to add any custom field to these tables ? I would like to mention that standard fields available in these tables will not be used for the requirements of the customer and he is insisting on adding custom fields. I need your expert advice on this matter.
    Regards,
    Rohit

    Hi Friend,
    Please do not add any custom fields in those tables.
    These two tables are pillar of accounting entries in SAP, if you want to push them then it is OK, otherwise find some other way.
    Regards
    Krishnendu

  • Can we add extra field in  drag and drop reports

    Can we add some extra field in sales A/R drag and drop report

    Hi
    My understanding about the drag and
    related function is:
    Since Drag and Relate is a query based system, you can
    recreate the Drag and Relate query/result in the Query generator. From
    here you can save the query and access it through the Tools -> User
    Queries. You can also create your own reports through Tools -> User
    Reports.
    If you get a 'no matching records found' error whene using D&R,
    it means the user has created a wrong relation.
    i.e. use the BP code instead of the BP description etc.
    Note! Users with a full authorization to the Drag & Relate function
    can view any data in the system, similarly to a case where a full
    authorization is given to regular queries. Therefore, it is recommended
    not to assign regular users with a full authorization to the Drag &
    Relate function.
    Please have a careful read of the documentation to apply the
    functionality to your needs.
    Furthermore, we could do the following testing:
    e.g. create a UDF on sales order
    and create two sales orders with the
    same UDF value, e.g. ABC
    then we drag the UDF ABC to the sales order , we could get the list of
    these two sales orders.
    Could you also let me know your detailed requirement for this functionality?
    Best Regards
    Helen Sun

  • Adding new field in PO and PR screen

    Dear Friends,
    Kindly sugest the solution to add new custom field to PR and PO screen at item level in SOURCE OF SUPPLY TAB.
    regards
    Vishal

    Hi,
    Check the exit MEREQ001 for PR & MM06E005 for PO.
    Hope the above helps.
    Regards,
    Vivek

  • Adding extra fields to the SOA composite from OIM

    Hi All
    I want to to add extra fields to the input XML file to custom SOA approval composite.
    Where I suppose to control the parameter going from the OIM request to the SOA composite ?
    Thanks
    Edited by: 599647 on Jan 27, 2012 9:28 AM

    http://bbagaria.blogspot.com/2011/08/how-to-extend-payload-from-oim-to-soa.html
    -Bikash

  • Unplanned adjustment for closed FY and changing of depr key for new FY

    Hi Everyone,
    i understand that this is a common problem and some folk have already post similar post, however i find that confusing or maybe i have not search enough.
    here is my problem:
    we have gone live for 2 year, since 2009. we have posted depreciation based on the old depre key for the last 2 years. in the current FY, the auditor have found a mistake and wanted to change the depreciation key and post the unplanned depreciation for the overcharge. may i know the correct steps to execute this change? and is there any important area that i have to pay attention to?
    please take note that the current FY is already coming to an end.
    example of steps:
    1. post the overcharge amount through unplanned depreciation AFAA
    2. change the depreciation key and change the start of depreciation date, expired useful life
    3. run depreciation posting for planned and unplanned
    Regards,
    John

    1. post the overcharge amount through unplanned depreciation AFAA
    2. change the depreciation key and change the start of depreciation date, expired useful life
    3. run depreciation posting for planned and unplanned
    1. You create a separate transaction type for this purpose of else use 640 or 641. Posting them by using AB01 or ABSO. At this point this will be at FI-AA only, when you run depreciation to AFAB, then the GL entries will be posted.
    2. You need to execute LSMW in order to change the Dep. Key, Depreciation Start Date and Expired Useful.
    3. You run the repeat run in AFAB, if you have already posted the depreciation, otherwise, usually select "planned posting run".
    Edited by: Ravi Sankar Venna on Dec 9, 2011 1:49 PM

Maybe you are looking for

  • What is the procedure when upgrading to Creative Suite 5 Production Premium?

    Hello! In 2006 I bought the Adobe Creative Suite Production Studio Premium. The procedure when activating the installation I don't remember exactly. The computer on which the Suite was installed doesn't have an internet connection (I thought that was

  • I can't publish my quick time!

    I have tried weveral times to publish my quick time movie and it keeps telling me there is an error and not explaining the problem. The movie's only 5.8 mb so I don't know what theproblem is! Someone please help me!

  • In Windows Live Hotmail, the tabs/elements constantly reload. Can you fix this?

    In Windows Live Hotmail, The buttons/elements on the side of the inbox page constantly reload, while I'm reading a message and when I try to go back to inbox, it automatically switches back to the message I was reading before. Please fix this!

  • Scheduling a report to run in background

    Hi, I have few queries and is it possible to execute them with the help of a background job that would fecilitate in executing the query automatically??? Thanks & Regards.

  • Crystal Reports and Oracle Dates

    Post Author: Robert CA Forum: General Hey Guys, I am experiencing some issues with Crystal Reports Developer XI (SP4) and Oracle Dates. Situation:I have a view setup in oracle database, i use this view to base my reports. Within the view there is a l