Fill the Screen Fields XD01 Automatically ffrom Program call

Hello,
I have a requirment where i have to pass the screen values for the genral view of the tcode XD01/XD02,
For example : In my report program i get the  Name, City, Country, PIN  etc.. now my requirement is that the First Screen(Genral view) of the XD01 is pre filled with all the values that are passed from the Program and the user can continue after that. 
Please suggest a way to achieve the mentioned functionality .
Regards,
Abhinav

I would suggest you post this someplace else, as this not related to CRM 2007.
Thank you,
Stephen

Similar Messages

  • F4 help for the screen fields in module pool program

    Hi All,
      I have a requirement that, i want to provide F4 help for the 2 fields in module pool program. the fields are document number and fiscal year from rbkp table.
    i could provide search help for two fields.
    but how to select matching fiscal year for that document number.
    problem: i am getting fiscal year as first four digits of document number.
    please help me to solve this problem.
    Thanks & Regards,
    Namratha.V

    Hi,
       If your requirement is after selecting the document no from f4 help then the corresponding year should be updated in the document year field then use FM --> DYNP_VALUES_UPDATE
    In  this function module pass the screen no program & field for which u want to update value

  • How to Pre fill the screen XD01/XD02, from the report program

    Hello,
    I have a requirment where i have to pass the screen values for the genral view of the tcode XD01/XD02,
    For example : In my report program i get the Name, City, Country, PIN etc.. now my requirement is that the First Screen(Genral view) of the XD01 is pre filled with all the values that are passed from the Program and the user can continue after that.
    Please suggest a way to achieve the mentioned functionality .
    Regards,
    Abhinav

    Thanks
    But the screen fields that i have to fill don't have parameter id's ..and i dont want to open the object by access key.
    also my requirement is to leave to the transaction with the filled  screen field .from the report prog...so when i use BDC i get the OK code , that i want to avoid.

  • How to deactivate the screen fields dynamically in Module Pool Program?

    Hi guys,
         How to <b>activate & deactivate the screen fields</b> of a <b>module pool program</b>
    <b>dynamically</b> through program. Like Change mode and display mode in a single
    screen.

    Hi,
    Make use of a Variable,say gv_flag, for both Activate and Deactivate functionalities. As many times you hit the same button, change this variable value. For example, let us say first time you hit this button, assign value 'X' to this variable. Second time you hit this button, assign value ' ' to this variable. In PBO based the variable value  you have to Activate and Deactivate.
    PBO.
      if gv_flag = 'X'.  " Activate
        loop at screen.
          if screen-fname = 'ITAB1-MATNR'.
             screen-input = '1'.
             modify screen.
          endif.
        endloop.
      elseif gv_flag = ' '.   " Deactivate
          if screen-fname = 'ITAB1-MATNR'.
             screen-input = '0'.
             modify screen.
          endif.
        endloop.
      endif.
    PAI.
      case sy-ucomm.
         when 'ACDC'.   " Activate/Deactivate
             if gv_flag = 'X'.
               gv_flag = ' '.
             else.
               gv_flag = 'X'.
             endif.
      endcase.
    thanks,
    sksingh

  • Validations on the screen fields in a module pool program

    Hi all
    i am creating a sales order against a purchase order ,i am selecting a PO click on a button to call another screen which has all the mandatory fields of the SO i want validations on the screen fields or the input fields as when i enter the header data and the items data and the partner data from the input serach help that is already enabled on the screen fields ,if there is any mismatch among the fileds and an error message is displayed for example:-" material no 100-100 does not exist for  sales area" then only that field where this message is present should be field enabled and the rest of the fields should be field disabled.
    also the error message i m displaying is in short text form and not in long text i clicked on it (long text) however how to use it was not known to me .
    thanks
    varun
    Moderator message: please do more research before asking, try solving problems yourself first, look for previous discussions of similar issues, post texts in more readable format, you have been warned several times before.
    Edited by: Thomas Zloch on Feb 7, 2012

    i want to have input search help as if i select sales document type then corresponding sales organizations should appear
    This would be quite opposite of what h_vakz does. h_vakz gives Sales document based on Sales org..and you want vice versa. Create a simple SH with
    selection method : TVAKZ
    AUART as importing only
    VKORG as exporting only. So when you enter an AUART you get all VKORG it is defined in. I'm not aware of a standard search help which matches the requirement. If anybody does please help me.
    i have header data (only mandatory fields),items data,partner data(all mandatory fields)
    and when i select all the header data the search help that is on the material number and partners role and number should appear corresponding to that header data
    You will have to be more specific sir..
    not able to apply please guide someone
    As for that just mention them in SCREEN->ELEMENT LIST->REFERENCES

  • How to maintain default values to the screen fields.

    hi,
    i m creating screen in se51.
    when i press New button the screen is filled with default values
    nrart = 'h' and proz1 = '100' .
    how can i set default values.
    plz give me a response

    HI,
              You can set default values on to screen fields using SET and GET PARAMETER command, You need to assign a PARAMETER ID for that screen field and then use SET PARAMETER before the screen is called or in the PBO of the screen, you can set default values direcly in PBO of the screen but then you have hard code those value or read the data from database.
    You need to have a TABLES statement to create a strucutre that you used to create your screen fields, then when you set value to these strucutre fields these values will get tranported to the screen fields automatically.
    Regards,
    Sesh

  • Value of the input field changing automatically on click of enter

    I  was trying to write a simple report that has a single input field with a f4 help for a directory browser attached. the input field  can only be filled using the f4 help ( achieved through function module DYNP_VALUES_UPDATE) . The problem is after the input field is populatd if i click on enter or press f8 the text in the input field changes automatically. Please can anyone find the reason for this behaviour and provide a solution .Thanks in advance.report code attached.
    Regards,
    Kiran A.
    REPORT  zpgm_md61_error1.
    PARAMETERS: p_file TYPE string MODIF ID abc LOWER CASE .
    DATA: dyname TYPE programm,
          dynumb TYPE sy-dynnr.
    DATA: dynpfields TYPE TABLE OF dynpread WITH HEADER LINE.
    DATA: lv_folder TYPE string,
          sel_folder TYPE string.
    AT SELECTION-SCREEN OUTPUT.
      PERFORM disable.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>directory_browse
        EXPORTING
          initial_folder       = lv_folder
        CHANGING
          selected_folder      = sel_folder
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      dynpfields-fieldname = 'P_FILE'.
      MOVE sel_folder TO dynpfields-fieldvalue.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = dyname
          dynumb     = dynumb
        TABLES
          dynpfields = dynpfields.
    FORM disable.
      LOOP AT SCREEN.
        IF screen-group1 = 'ABC'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "dISABLE

    Hello Kiran,
    This is because you've defined the field as TYPE STRING.
    Change the declaration & the problem should be solved:
    PARAMETERS: p_file TYPE dynfieldvalue MODIF ID abc LOWER CASE .
    BR,
    Suhas

  • Populating the screen field when the cursor moves to that field

    hi every one,
    I want to populate the screen field(MODULE POOL) When the cursor moves to that field.
    So can any one help me out with this.
    EXAMPLE..
    I want to populate 'S10_TOT_PRICE' (Total Price). When the fields like 'S10_PIECES' (Number of Pieces) will be entered. I want to populate 'S10_TOT_PRICE'  without pressing any button on the screen nor when enter is hit. When the field 'S10_PIECES''  will be entered with some value and the cursor moves to 'S10_TOT_PRICE' . The Total Price field should be populated. Please help me out with this.
    THANKS & REGARDS.
    Mahanta.
    POINTS WILL BE REWARDED.

    Sorry but look at this SAP documentation <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/54/0608162d0711d295520000e8353423/frameset.htm">User Actions on Screens</a>
    Extract :
    <i>User Actions on Screens
    There are various ways in which users can interact with screens.
    Filling Input Fields
    Users can enter values in any input field on the screen, or change the value using the mouse, in the case of radio buttons and checkboxes. The contents are placed in the corresponding screen field. Filling an input field does not normally trigger the PAI event. Exceptions to this are Checkboxes and Radio Buttons with Function Codes and input fields with Drop Down Boxes.</i>
    So, i fear that you cannot "take hand" when user fill a numerical field to perform calculations and update the screen.
    Regards

  • How to Read the Screen Fields after a Transaction ?

    Hi all,
    I am working on the Transaction 'O4K_LICENSE'. After the transaction is run, it generates an Internal License number which is displayed on the screen. I tried using 'GET PARAMETER', but as the CALL TRANSACTION is called within a loop, the SAP Global memory is not getting refreshed and iam getting the same value for every loop for the Internal License Number.
    Is there any function Module other than DYNP_VALUES_READ to get the screen field values? I tried using the above function module, but in vain and it is not getting any values.
    Warm Regards,
    Vijay.

    Well .... let me explain this very clearly.
    The table OIHL has a composite primary key which is the combination of "External License Number" and "Internal License Number". The latter is generated after running the O4K_LICENSE transaction.
    Moreover, iam attaching every record with a record generated in the program. Now, the same User(ERNAM) can create records having the same External License Number.
    For example:
    If i created a record yesterday with an external License Number 123, then say an internal lic no of 3 is assigned to it.
    If i Create another record today with the same external lic no of 123, and an internal no of say 20 is attached to it, then i donot have any criterion to select the one which i have created today, as it fetches both the records.
    To add to the worst, there is no timestamp field also.
    Message was edited by: Vijay Sai

  • Suppressing decimal places in the screen fields

    Hello All,
    I need to display a quantity fields which is referring to the domain MENGE(10+3)
    While displaying, it appears as 1234567890.000
    here how to suppresss the zero's.
    Screen field is got from program(not dictionary)
    can you help me out.
    Regrds,
    Subramanian.

    Hi,
    Try the following..
    in the attributes for the menge field give the Reference field (down below the attributes screen)...
    Also Check the check box Right justified..
    Thanks,
    Naren

  • My Ipad icloud account has been locked an now i want to delete it but i can't please help me because when u try to delete it it says "Turn Off Find My iPad?" when i press delete acoount and turn off it wants to fill the passwor field but it

    My Ipad icloud account has been locked an now i want to delete it but i can't please help me because when u try to delete it it says "Turn Off Find My iPad?" when i press delete acoount and turn off it wants to fill the passwor field but it says that you account has been locked for some security reasons and please help me to delete it.

    Go to Settings>icloud, scroll to bottom of screen and tap Delete Account.  Then log in using a different ID.

  • Safari window not filling the screen when launched

    I posted this question in the Safari forum and after a week of waiting and numerous bumps, it went unanswered and completely ignored so I thought I'd post it here. Basically what I am trying to do is have the Safari windows automatically fill the screen so that the scroll bar is at the *extreme* right side of the screen, but it always comes just short of that. The reason why this is important is I want to be able to make one quick swipe of my mouse to the right side of the screen and have the cursor end up over the Safari window's scroll bar. But the windows never open up like that, they open up just short of filling the screen so when I move my mouse to the side, it overshoots the scroll bar which is annoying because I have to drag it there manually every time. How do I fix this?

    Here is how I want it. Notice the scroll bar with no space to its right.
    But here is what it ends up doing. Notice there is now a tiny bit of space to the right of the scroll bar. This tiny space forces me to be careful with the mouse cursor and will not allow me to freely swipe the mouse cursor to the right or it will overshoot the scroll bar. Of course, I can drag the window back to the spot every time I open a new window, but that gets very annoying.

  • Prob to fill 2 screen fields thru F4 help on one screen field

    Hi,
    I have 2 fields on selection screen - MATNR and MTART. I want to have F4 help on MATNR only and based on the value selected I need to fill the MTART field also. I am using FM : F4IF_INT_TABLE_VALUE_REQUEST.
    I found on net that it can be done using either DYNPFLD_MAPPING or CALLBACK_FORM. I used both one by one but did not get the required result. Only the P_MATNR is getting populated after F4 and not P_MTART.
    My code is as below:
    TYPES: BEGIN OF ty_mara,
            matnr TYPE matnr,
            mtart TYPE mtart,
           END OF ty_mara.
    DATA: i_tab TYPE STANDARD TABLE OF ty_mara,
          i_return TYPE STANDARD TABLE OF ddshretval,
          record_tab  TYPE STANDARD TABLE OF seahlpres,
          i_map TYPE STANDARD TABLE OF dselc,
          wa_map TYPE dselc.
    SELECTION-SCREEN BEGIN OF BLOCK a.
    PARAMETERS: p_matnr TYPE matnr,
                p_mtart TYPE mtart.
    SELECTION-SCREEN END OF BLOCK a.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      SELECT matnr
             mtart
        FROM mara
        INTO TABLE i_tab
        WHERE mtart = 'FERT'.
      wa_map-fldname = 'MTART'.
      wa_map-dyfldname = 'P_MTART'.
      APPEND wa_map TO i_map.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          retfield               = 'MATNR'
        PVALKEY                = ' '
         dynpprog               = sy-repid
         dynpnr                 = sy-dynnr
         dynprofield            = 'P_MATNR'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         value_org              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
         callback_program       = sy-repid
         CALLBACK_FORM          = 'F4CALLBACK'
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          value_tab              = i_tab
        FIELD_TAB              =
         return_tab             = i_return
         dynpfld_mapping        = i_map
       EXCEPTIONS
         parameter_error        = 1
         no_values_found        = 2
         OTHERS                 = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
      ENDIF.
      FORM F4CALLBACK
         TABLES   RECORD_TAB  STRUCTURE SEAHLPRES
         CHANGING SHLP TYPE SHLP_DESCR
                  CALLCONTROL LIKE DDSHF4CTRL.
      DATA: INTERFACE LIKE LINE OF SHLP-INTERFACE.
    INTERFACE-VALTABNAME = 'DYNP'.
      INTERFACE-VALFIELD = 'P_MTART'.
      MODIFY SHLP-INTERFACE FROM INTERFACE
             TRANSPORTING
            VALTABNAME
             VALFIELD
             WHERE SHLPFIELD = 'MTART'.
    ENDFORM.
    I may be missing something... Please help me.

    Hi ,
    Please go though this thread.
    [Re: F4_int_table_value_request]
    This will solve your issue.
    Regards
    DKS

  • Exported video never fills the screen

    I am creating a video from still photos, youtube and iPhone videos all mixed together.
    When I export the video, the output never fills the screen.
    I have specidfied H.264, and HD1080i for the output.
    Did I mention that I am a newbee, and just started using Premeire Pro CC two weeks ago?
    Thanks for any help you may provide.
    Larry...

    Hi Larry,
    Since you're mixing 3 different sizes of video, the desired output DOES play an important role from the start and will help determine what Sequence Setting you want to start with.
    You have 720p HD videos, SD videos, and "less than SD" video. I would recommend against exporting as 1080 HD unless absolutely necessary for some reason, since you would be "blowing up" ALL of the formats, and that loses quality. The 720p would look ok, but not the other ones!
    So at most, I would edit in a 720p30 sequence for 720p delivery. In the Premiere Preferences, there is a checkbox for "Scale to Frame Size" - check that and then any clips that you import will automatically fill the frame you're working in. For clips imported prior to that change, right-click the clip in the sequence and check "Scale to Frame" manually per clip.
    Another example, if you wanted to export to DVD which is 720x480, then you would edit as 720x480 so that the SD clip would be edited natively and the smaller clip would upsized a minimum amount. The HD clips will downscale fine. That would yield best results for SD delivery, rather than taking all clips UP to 720p or 1080p, then back down to SD again. Following the workflow?
    Thank you
    Jeff Pulera
    Safe Harbor Computers

  • Unable to get HD Wide Screen 16:9 to fill the screen on TV.

    12/20/08
    Problem: I am not able to get HD Wide Screen 16:9 to fill the screen on TV. Leaves dark bands on the top and bottom of picture.
    What I'm working with: Mac Pro Quad-Core Intel Xeon Processors with 2GB Memory soon to be 6GB & 30 inch screen. QuickTime Pro 7.5.5, Final Cut Express 4.0.1, and iDVD, 7.0.2.
    New JVC, GZ-HD3U camcorder with QuickTime conversion software, recently updated, provided by JVC with the camera to change native TOD. files created in the camcorder to native MPEG2 files in Quicktime at a size of 1920 x 1080.
    Two TV's, one Wide Screen HD and the other standard screen. I have changed the TV aspect rations back and forth from 4:3 to 16:9 and the only thing that changes is the size of the black bands on the top and bottom of the screen. The black spaces are larger in 16:9, making the picture appear squeezed.
    I am using RW DVD discs so I can continue to try different setups without wasting discs and so far I have tried about 12 different arrangements. Two methods work but they are export conversions to a 4:3 aspect ratio and 720X480DV/DVCPRO-NTSC. Certainly this is a work around, but doing this looses the Wide Screen HD effects provided by the original JVC movies.
    When I import the clips, and I've tried a number of different imports from QuickTime to Final Cut Express, I make sure that the Sequence set up matches or comes as close as possible to the imported clips. I've tried exporting them from FCE without changes and I have exported them using QuickTime to change them to different formats using nearly everything available trying to get the clips or sequences ready to import to iDVD.
    In iDVD I have set up using both aspect ratios and it appears as thought setting up in 16:9 makes the spaces above and below even larger on TV. In fact it creates these spaces above and below even on the 720X480DV/DVCPRO-NTSC clips that work just fine on the 4:3 aspect ratio settings on the same TV.
    If anyone has overcome this problem, I would greatly appreciate your guidance. So far, I've spent over a 100 hours on it to no avail.
    Larry

    Tom, I don't know where to go in FCE to create a AVCHD AIC Sequence. I can find the
    1920X1080i60 in the Sequence format without any problem. And in QT don't know where to select AIC but I select Apple Intermediate Codec, and under compressor I select HDV 1080i interlaced frame rate 29.97. Under Export Size Settings I don't know rather to select 1920 x 1080 HD or HD 1920 x 1080 16:9 and what about preserve aspect ratio using and Deinterlace Source Video?
    Part two: When I create a Sequence in FCE with the 1920X1080i60 designation, and then import a QT HD 1920X1080 16:9 Intermediate Codec clip into a bin and then open the clip in that sequence I'm asked if I want to match the clip to the sequence and if I don't I have rendering. If I match them the rendering, as you said, goes away. However, I notice that when I check out the Item Properties on them after the above process, the Aspect ratio in the clip and Sequence, suddenly becomes HD 1440x1080. Is this normal?
    Larry

Maybe you are looking for