Need to change the Sort field(kna1-sortl) value

Hi All,
We have the requirement to fill the Search Term   (kna1-sortl) based the accounting group and 'kunnr' value.
I.e as per the legacy system number range in brazil we need fill the sortl field based on accoung goup by concating the kunnr value to it.
for Ex: 2GXXXXX0 this number need to filled in sortl field.
where 'X' is repplaced by kunnr value.'2' and '0' are the constant values.Based on accounting group after value '2' we need to add either 'g' or  'S'.
We find one user exit 'EXIT_SAPMF02D_001' but which does not contain the kna1 as the change perameter.
kindly help me on it .if there is any other badi

Hi,
There is no std user-exit for this (at least we haven't found it as well).
We have created implicit enhancement point implementation athe the end of form AUFRUF_USER_EXIT in include MF02DFEX.
The code should be similiar to following:
ENHANCEMENT 1  YEDSD_EO_ADD_DOC_PREFIX.    "active version
    DATA:
      ltp_doc_prefix TYPE y_dt_docpref.
*--only in creation and change mode
    IF T020-AKTYP = 'H' OR
       T020-AKTYP = 'V'.
      CONCATENATE kna1-ktgrd kna1-kunnr INTO ltp_doc_prefix.
      kna1-yydocpre = ltp_doc_prefix.
    ENDIF.
ENDENHANCEMENT.
Regards,
Marcin

Similar Messages

  • Need to change the LOV field based on checked box selection in OAF page

    Dear ALL,
    I have a requirement as below:
    I have a custom OAF page having a lov  field which is mandatory, a check box and a two text fields.
    So based on LOV value selection i am defaulting two text field value automatically.
    So my requirement is when user selects the check box automatically the LOV field should be non mandatory and user can insert in values to the lov field and text field and submit it.
    SO basically based on check box field selection i need to make the lov field in such a way it should accept all the values what user enters instead of check the query added in VO behind the LOV.
    Please suggest me some pointers to achieve this requirement.
    Thanks
    Deb

    hi,
    in PFR use:
    if ("checkevent".equals(pageContext.getParameter(EVENT_PARAM))) 
                     HashMap hashMap = new HashMap();
                     String checkboxval=pageContext.getParameter("item2");
                  hashMap.put("checkboxval",checkboxval);
                    pageContext.setForwardURLToCurrentPage(hashMap ,
                    true, // retain the AM
                    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
                    OAWebBeanConstants.IGNORE_MESSAGES);
    and in PR use:
    if((pageContext.getParameter("checkboxval'))!=null)
    OAMessageLovInputBean lovInputBean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("item3");
          lovInputBean.setRequired("false");
    try it
    Regards
    Mahesh

  • Need to change the sortable header's prompt value in the Run Time

    All
    I have an advancedTableBean with 11 columns. Out of these 11 for around 3 columns i have to change the column header's(sortableHeader) Prompt at run time. I would like to know how can i get an handle to the column header. I tried 'getColumnHeaderFormat' and 'getColumnHeaderData' but was not sure how to proceed further.
    Kindly suggest me the solution.
    Thanks,
    Praveen

    Hi,
    There is no std user-exit for this (at least we haven't found it as well).
    We have created implicit enhancement point implementation athe the end of form AUFRUF_USER_EXIT in include MF02DFEX.
    The code should be similiar to following:
    ENHANCEMENT 1  YEDSD_EO_ADD_DOC_PREFIX.    "active version
        DATA:
          ltp_doc_prefix TYPE y_dt_docpref.
    *--only in creation and change mode
        IF T020-AKTYP = 'H' OR
           T020-AKTYP = 'V'.
          CONCATENATE kna1-ktgrd kna1-kunnr INTO ltp_doc_prefix.
          kna1-yydocpre = ltp_doc_prefix.
        ENDIF.
    ENDENHANCEMENT.
    Regards,
    Marcin

  • T.code FS00: changing the SORT KEY in the 'Control data'

    Hi All,
    I need to change the SORT KEY in the 'Control data' of a G/L master data.
    Is there a SAP standard program by which the field 'Assignment' is updated.
    Thanks
    Gandalf

    Sorry,
    i did't mean updating a field ...
    I meant:
    is there a program which changes the content of the field 'Assignment' according to the new content of the field 'Sort key'?
    Thanks

  • How to change the grayed field font  in apex

    Hi,
    I need to change the grayed field item font ...
    ie i need to make disabled item value to be bright to achieve this what i have to do ...
    Regards,
    pavan

    ok make it html code in Java scrip as bold  and item level read only option with Read Only Element Table Cell(s) Attributes .
    i did your requirement in same my link.
    how it use? follow this thread.
    https://forums.oracle.com/thread/2555786

  • I've created a fillable PDF document in XI Pro. I need to change the body of the document and create a new fillable PDF document. When I do that it won't let me create a new PDF. It keeps saying "no new  fields recognized. What can I do to redo my documen

    I've created a fillable PDF document in XI Pro. I need to change the body of the document and create a new fillable PDF document. When I do that it won't let me create a new PDF. It keeps saying "no new  fields recognized. What can I do to redo my document with the changes in the text, but no changes in the fillable fields?

    You start with a source / authoring file for the "static" content (e.g., Name, Last:). Say this is an MS Word file.
    You master the "static" content..
    You keep this authoring file and have a backup of this file.
    You output a PDF and use Acrobat to build and fine tune the "form" (form = the form fields, not the "static" content).
    The authoring file  and output PDF (with form fields) gives you "rev 00".
    Now, you must change something in the "static" content.
    Open the authoring file and save as to a new version (e.g., "wordfile_v00"  becomes "wordfile_v01).
    Output this to "pdffile_v01".
    Use Acrobat to open the PDF form file "pdffile_v00". Save As to a new file name ("pdffile_v00update").
    Using Acrobat XI Pro the click-path Tools - Pages - Replace lets you replace a page or pages of "pdffile_v00update" with a page or pages from "pdffile_v01".
    This replaces the "static" PDF page content and does not affect the form fields on the page.
    (you may have to adjust position of form fields)
    Save "pdffile_v00update" to "pdffile_v01" to reflect the revised status of the PDF form file.
    Be well...

  • Change the sort order (ascending/descending) based on parameter field

    I have created a formula on a subreport to change sorting based on variables.
    select {?Pm-@Sorting}
    case "property_type_desc ASC" :
    {owned_property.property_type_desc}
    case "property_type_desc DESC" :
    {owned_property.property_type_desc}
    default:
    ({owned_property.property_type_cd}; )
    how can I change the sort order ascending and descending using the formula??
    Thanks, Jessica

    Try this
    1. Create a parameter with 2 default values in the picklist: Descending and Ascending.
    NOTE:
    In Crystal Reports version 5 or 6, it is not possible to have a pick a parameter value from a list. The user must enter a specific value, guided by the prompting text. For example : To Sort in Ascending order type A, to sort in Descending order type D.
    u2022 On the 'Insert' menu, click 'Parameter', then click 'New'.
    u2022 Type the name and prompting text for the parameter in the corresponding boxes.
    u2022 In the 'Type' box, click 'String'.
    u2022 Click 'Set Default'.
    u2022 In the 'Value to add' box, type 'Descending' then click '>' to move it to the 'Default Values' list.
    u2022 Repeat the above step for 'Ascending'.
    u2022 Click 'OK', then click 'OK' again to return to the report.
    2. Create 2 formulas based on the field you want to change the sort direction on:
    u2022 On the 'Insert' menu, click 'Formula', then click 'New'.
    u2022 Create this formula:
    @Asc
    If {?Parameter} = "Ascending" then
    u2022 Save this formula and close the Formula Editor. This brings you back to the Formula tab of the Insert Fields dialog box.
    u2022 Click 'New' and create this formula:
    @Des
    If {?Parameter} = "Descending" then
    u2022 Save this formula and close the Formula Editor.
    u2022 Click 'Close' to return to the report.
    4. Sort the report based on these two formulas.
    u2022 On the 'Report' menu, click 'Sort Records'.
    u2022 In the 'Report Fields' list, click {@Asc} and move it to the 'Sort Fields' list.
    u2022 Under 'Sort Direction', click 'Ascending'.
    u2022 In the 'Report Fields' list, click {@Des} and move it to the 'Sort Fields' list.
    u2022 Under 'Sort Direction', click 'Descending'.
    u2022 Click 'OK' to return to the report.
    Once you preview the report you will be prompted to select a parameter value, which will determine how the report is sorted.
    Regards,
    Raghavendra

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • What events change the Created field in, finder, get info

    On my laptop, in finder, in the get info screen there are 2 fields the Created Date and Modified Date fields.
    I was looking at these fields for an app that I use on my iPhone, it was listed in finder, so I clicked the get info option.
    The created date and modified date were 10/16 both the same.
    I have not used this app in a long time, my question is this.
    What event changes the created field?  If the app was downloaded on the Iphone will the created field get updated in finder?
    or if it was an update on itunes, would that change the created date in finder?
    Does the created date mean that the app was downloaded and installed on that date?

    Thank you so much.  That works just fine.  However, I also just discovered something.  Evidently, at least some of the fields in list view are editable.  By adding Grouping to the columns shown and clicking on the empty field, I was actually able to type whatever I needed into the field.
    I have not yet tried it with other fields, but will do so to see if it works for all fields in the list view.
    Laura

  • I need to change the height of a Captivate playbar using Flash Pro

    I need to change the height of a playbar in Adobe Captivate.  I have Flash Pro. I am very new to Flash Pro. I read.. "To change the height of the playbar, adjust the height of pbcBk_mc movie clip inside cpPlaybar symbol in Library".  The problem is I CAN'T FIND pbcBk_mc anywhere.  I see the cpPlaybar attrbute.  When I click on it and look at the timeline I am not seeing an attribute for pbcBk_mc or height.  Where in the world is it??

    You start with a source / authoring file for the "static" content (e.g., Name, Last:). Say this is an MS Word file.
    You master the "static" content..
    You keep this authoring file and have a backup of this file.
    You output a PDF and use Acrobat to build and fine tune the "form" (form = the form fields, not the "static" content).
    The authoring file  and output PDF (with form fields) gives you "rev 00".
    Now, you must change something in the "static" content.
    Open the authoring file and save as to a new version (e.g., "wordfile_v00"  becomes "wordfile_v01).
    Output this to "pdffile_v01".
    Use Acrobat to open the PDF form file "pdffile_v00". Save As to a new file name ("pdffile_v00update").
    Using Acrobat XI Pro the click-path Tools - Pages - Replace lets you replace a page or pages of "pdffile_v00update" with a page or pages from "pdffile_v01".
    This replaces the "static" PDF page content and does not affect the form fields on the page.
    (you may have to adjust position of form fields)
    Save "pdffile_v00update" to "pdffile_v01" to reflect the revised status of the PDF form file.
    Be well...

  • I need to change the decimal sign from a ,  to a . in a worksheet - please help!!

    Im fresh from a Windows background and struggling to get started on the NUMBERS program - I need to change the ,  to a . for decimal numbers (the NUMBERS program does not seem to recognise the . but when I change the separator to a ,  it works - problem is that I have many exsiting Excel worksheets in which I used the .   There is no way that I want to redo all these worksheets so I need to change NUMBERS so that it recognises a . as the decimal separator and not the ,     Please help!!

    I don't know the iOS behavior so I will answer for OSX.
    At this time, on your machine, Numbers use the decimal comma.
    This means that your system is set to behave this way.
    Enter the System's Preference Pane entitled "Language and Text" and customize the number's format.
    In this screenshot you may see the default French settings.
    Replace the comma by the period in both "Decimale" fields then restart the machine.
    The system will use the decimal period and Numbers will do too.
    Assuming that one day you want to revert to decimal comma, no problem, revert the system's setting.
    Numbers will be fair enough to adapt itself to the new state.
    In fact, it store decimal numbers in the English format : decimal period and adjust on the fly according to system settings.
    Yvan KOENIG (VALLAURIS, France)  mardi 22 janvier 2011 18:03:45
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Apex 4.0: Change the Search Field to a Multi Value Check Box IR

    I am new here, but hoping to be active :)
    Well, now I am focusing on Apex 4 and I find really new things here. And even new order to develope needs time to get used.
    Still, I am trying to change the Search Field to a Multi Value Check Box in IR. I have found how to make it in Apex version 3, but not at 4 any more.
    Tutorials for apex v.3 write:
    1.Click Edit Page 1 on the Developer toolbar.
    The Page Definition for page 1 appears.
    2. Under Items, click P1_REPORT_SEARCH.
    3. From Display As, select Checkbox ans so on...
    But I do not find any word "Items" in IR and especially P1_REPORT_SEARCH (I assume this should be by default). Under "Report Atributes" I find "Search bar" region, just there is no option for that. Is here any way to make search with checkboxes in v4?

    Hi,
    Tutorial you have check for APEX 3.x probably works still in APEX 4.x if you use classic report.
    As I understand you have now create interactive report that provide out of box search features.
    There is no option to change IR search text field to multi select item.
    What you can do with IR, is hide/disable search field.
    Then you create multi select item and use it in report query where clause.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to change the input field's color in SE51

    Hi:
    I need to change the color of input fields in module pool.
    I tried to modify its screen-color but it did not work.
    Need your suggestion.
    Regards
    Shashi

    hi,
    Check this similar thread
    Regarding the input field color
    thanks

  • I am new to this I am trying to do something very simple.  I need to change the background color to

    I need to change the background color of a photo to white and then shrink the head of a photo for a passport and make the picture output a 2x2.
    Can someone help.  Thx

    Here are the requirements for US passport. Scroll down for the passport tool to make the picture utilizing one on your disk.
    http://travel.state.gov/passport/pptphotoreq/pptphotoreq_5333.html
    If you decide to make it in Elements and print it, you should have a resolution of 240-300 px/in for a good output.  I suggest that you print the 2 photos on good quality paper, probably both on 4x6 stock, and trim with scissors to specification.
    Open your picture and go to Image>resize>picture size, and check the resolution. If it is less than 240 px/in, enter 240 in the field and see if the dimensions remain adequate. If not, you may have to resize.
    Use one of the selection tool, e.g. lasso tool, or selection brush tool, to select head and shoulders
    Go to Edit>copy to put the selection on the clipboard
    Open a new, blank file (File>new>blank file) 2.25 x2.25", resolution the same value as your picture, background white
    Go to Edit>paste. The picture will be on its own layer
    Access the move tool to position it, and to resize with the corner handles of the bounding box, if necessary
    Please report back with your progress.

  • I have the jetpack wifi and someone told me I need to change the name to FBI Surveillance Van so others would think twice before using it how do i do it?

    I have the jetpack wifi and someone told me I need to change the name of it to "FBI Surveillance Van so that people would not try to tap onto it. How do I accomplish this?

    Changing the SSID is a good idea, but I do not suggest changing it to something so troll enticing as "FBI Surveillance Van".  A SSID like that is only going to draw attention to you and your network and challenge malicious users to target you.  I advise not putting a target on your back and stick to a custom but not well known SSID.
    I normally suggest broadcasting an SSID of something a little less confrontational.  Something like combining your favorite color with your favorite sports team.
    All jetpacks are a little different but they should all have a way to sign in and complete configuration changes.  If you connect to your Jetpack and look up the IP Address of your Default Gateway you will know the IP of the Jetpack.  Plug in the IP Address of the Jetpack into a web browser and sign in with the admin password.  Review the security options that are available until you find a SSID or broadcast name or network name field.
    While you are at it you should also make sure you have a custom WiFi password configured with WPA2 security.  Custom WiFI passwords are going to be much more helpful than a creative SSID at keeping malicious users off your network.  Rule of thumb for WiFi passwords is the longer the better.
    A good tool to evaluate your WiFi password is here (shoot for at least a few years):
    www.howsecureismypassword.net
    Let us know if you want any other security best practices or tips.

Maybe you are looking for

  • Capturing an image to use for PXE boot

    I'm using Windows Deployment Services in conjunction with Windows Deployment Terminal (Windows Server 2008) to capture an image from one of our workstations to use as a PXE boot image for future computers. I've created the capture image and PXE boote

  • Process chain failure at save hiearchy step

    Hi Experts,    I am facing one issue with the process chain, it has failed at Saved Hiearchy step, i have tried repeating the step twice but still it didnt work out, since i am new to BW  please suggest me pointers regarding the solution as i am  una

  • How to be sure TM has backed up all important settings?

    Well, I have partitioned my new external hard drive so that I can just use some as storage for my loads of pictures and documents that I don't need to access all of the time. I have also ran a Time Machine Backup so that I have everything backed up f

  • When i compile my program I get multiple class files

    When I compile my program why when I have only written 1 Main.class do I get other ones with dooler signs in them. For example Main.class (This is the only on I have actually coded) Main$1.class Main$2.class

  • FLAC vs Apple Lossless file sizes

    I've been looking into moving up to lossless audio files. From what I've been able to discover, FLAC and Apple Lossless should be roughly the same file size, but I downloaded a 24-bit/44.1kHz FLAC from the Bowers & Wilkins site (about half-way down t