Identifying changes in the custom screen added to Delivery

Hello,
I have added a custom screen in delivery transaction(VL02n) at header level. I used BADI LE_SHP_TAB_CUST_HEAD to do that. Now if user comes and enters some data on the custom screen, then goes to menu option Subsequent processing-->Create Transfer Order, user is not prompted with a pop up screen to save changes.
It happens with SAP Standard screens for any data changes. How do we achieve the same functionality to prompt a popup message for any changes in the custom screen and save the data?
Thanks
Anil

Hi Appana,
Yes, we can identify any screen changes from sy-datar. It is set when I make any changes in the custom screen also. But I dont want to give a pop up every time I leave the custom screen. I want to give raise a pop up for saving the delivery document just like any other SAP screen (For eg. SAP Screens do not give a pop up when we move from one screen to another screen, but it gives a pop up if we try to do a subsequent functions like picking without saving the changes in delivery).
Thanks
Anil

Similar Messages

  • Changes in the Custom include do not reflect in testing client

    Hi All,
    I have added some custom fields in Infotype 21 in the dev environment. But, the changes are not reflecting in the testing environment. Can anyone share their thoughts.
    Thanks in advance,
    Guru.

    Hi Appana,
    Yes, we can identify any screen changes from sy-datar. It is set when I make any changes in the custom screen also. But I dont want to give a pop up every time I leave the custom screen. I want to give raise a pop up for saving the delivery document just like any other SAP screen (For eg. SAP Screens do not give a pop up when we move from one screen to another screen, but it gives a pop up if we try to do a subsequent functions like picking without saving the changes in delivery).
    Thanks
    Anil

  • Process chain status message in the custom screen.

    HI All,
    We have created a custom screen for hierarchy upload in BW once the file has been uploaded it will trigger an event which is triggering a process chain. The process happen like
    Upload the file from desktop it will go and sit in al11 folder
    Trigger an event which will trigger the process chain
    Infopackge routine has been written which will download the file for al11.Please find the attached screenshot is for your reference.
    Once the DTP has been completed we need to trigger a message which will tell us the status of the DTP like finished successfully or not. This message should have to show in the custom screen which we have provided to the customer.
    We are aware of mail recipient list option. Please suggest further options
    Many thank sin advance.
    Regards,
    Sakthivel S

    Hi Appana,
    Yes, we can identify any screen changes from sy-datar. It is set when I make any changes in the custom screen also. But I dont want to give a pop up every time I leave the custom screen. I want to give raise a pop up for saving the delivery document just like any other SAP screen (For eg. SAP Screens do not give a pop up when we move from one screen to another screen, but it gives a pop up if we try to do a subsequent functions like picking without saving the changes in delivery).
    Thanks
    Anil

  • Adding the customer screen to enhance the header for Enjoy PO

    Dear Expert's,
    My requirement is to add a new tab on Header for Enjoy PO by enhancing ME21N/ME22N and ME23N.
    I have already implemented the BADI's ME_GUI_PO_CUST and ME_PROCESS_PO_CUST.
    Actions Taken:
    I have created a custom Function group and subscreen '9000'.
    I have created a 'Z' structure as per the screen layout on the Header Tab
    I have appended the custom fields in EKKO custom include CI_EKKO.
    Reactions:
    1. I am able to successfully display the screen on additional tab at header level.
    2. The Display & Change is working perfectly for screen '9000' on ME21N/ME22N and ME23N header.
    Problem:
    I am unable to read the 'Z' fields from EKKO to populate the TAB Screen '9000' and neither able to save the 'Z' fields from '9000' TAb screen for header data.
    I am not using any EXIT for this and have to use only BADI for this solution. Please help me to implement this solution using BADI only.
    Also i have tried implementaing the transport Data object -> Model + Model -> Dynpro + Dynpro -> Model + Model -> Data object methods, but these methods are not getting triggered.
    Please let me know if i can use EVENT_PBO & EVENT_PAI if yes , than how to trigger these events and where..?

    Hi ,
    try to enhance PO header using SAP Note 407975
    Summary
    Symptom
    You are using SAP customer enhancement MM06E005. There is no sample source
    code for this enhancement.
    More Terms
    User exit, customer enhancement, MM06E005, example, sample
    Cause and Prerequisites
    You want to activate user exit MM06E005. Note that this is a consulting
    note and not a correction of the user exit.
    Solution
    You can use the sample source code attached here to recognize the basic
    functions of the exit. This example is, however, only one of many options
    that are offered by the customer enhancement.
    The sample source code includes the following functions:
    o Supply of an additional field on header level
    o Supply of an additional field on item level
    o Derivation of a field on item level from the copied reference
    document
    Now, in order to be able to use the sample source code, you must create
    field ZZFLAG on the header level of the document and field ZZFIELD on the
    item level.
    Double-click on Include table CI_EKKODB
    Enter the following values:
    - Name Component type DType Length DecPlace Short text
    - ZZFLAG CHAR1 CHAR 1 0 1-digit indicator
    Save and activate the include table.
    Double-click on Include table CI_EKPODB
    Enter the following values:
    - Name Component type DType Length DecPlace Short Text
    - ZZFIELD CHAR1 CHAR 1 0 1-digit indicator
    Save and activate the include table.
    In order to activate the sample source code, you additionally have to carry
    out the following changes on screens 0101 and 0111.
    1. Screen 0101: Create the following fields:
    2010.02.05 Page 2 of 3
    SAP Note 407975 - MM06E005: Collective note: Examples for
    implementation
    "Checkbox" Name: EKKO_CI-ZZFLAG
    2. Screen 0111: Create the following fields:
    "Input/output field" Name: EKPO_CI-ZZFIELD
    "Pushbutton" Name: BUTTON
    FctCode: ZZDETERMINE
    The following assignments apply to the sample source code:
    EXIT_SAPMM06E_006 --> LXM06F36
    EXIT_SAPMM06E_007 --> LXM06F38
    EXIT_SAPMM06E_008 --> LXM06F37
    EXIT_SAPMM06E_009 --> LXM06F39
    EXIT_SAPMM06E_016 --> LXM06F41
    EXIT_SAPMM06E_017 --> LXM06F42
    EXIT_SAPMM06E_018 --> LXM06F40
    Copy the source code from the attachment and insert it into the
    corresponding function modules. Save and activate the function modules.
    Create the following variables in the corresponding TOP include in order
    not to get any syntax errors:
    INCLUDE ZXM06TOP
    data: gl_aktyp type c,
    gl_no_screen type c,
    gl_rekko like ekko,
    gl_ekko_ci like ekko_ci,
    gl_ekpo_ci like ekpo_ci,
    gl_ekpo like ekpo,
    gl_ucomm like sy-ucomm.
    types: begin of ekpo_tab,
    ebeln like ekpo-ebeln,
    ebelp like ekpo-ebelp,
    ekpo like ekpo,
    end of ekpo_tab.
    data: gt_ref_ekpo_tab type table of ekpo_tab.
    Save and activate the TOP include.
    On header level, you can now store a character, X or space, via field
    ZZFLAG on the database with the document and read it also again.
    On item level, you can fill field ZZFIELD with a one-digit value and save
    it with the document. If you copy this document, the system displays an
    additional function button on tab page "Customer data". If you press this
    button, the value of the reference document is copied to field ZZFIELD.
    If you want to store the source code as sample source code in your system,
    start Transaction SMOD. Enter MM06E005 as an enhancement. Select
    "Components". Press "Change". Position the cursor on the corresponding
    module and choose "Sample code". Create the corresponding include and copy
    2010.02.05 Page 3 of 3
    SAP Note 407975 - MM06E005: Collective note: Examples for
    implementation
    the source code from the note. Save the include. Note that, of course,
    syntax errors may occur when you check components. This is because the
    includes of the sample code are not integrated into a program but rather
    are completely independent and, therefore, do not have any relationship to
    each other either. For this reason, only save the include and do not
    activate or check it. The sample code has to be copied into the
    corresponding function modules in order to become active.
    If you use the user exit in the new purchase order, it is not guaranteed
    that the customer screen is always processed. To make sure that possible
    required fields are checked, include a corresponding message into the
    EXIT_SAPMM06E_012. This screen is always processed.

  • How to display success message when data is changed in the custom tab in MM

    Hi,
    I have added a new custom data tab in the MM01/MM02/MM03 transactions. Whenever I do changes to fields in the custom tab in MM02 transaction, and no changes in the standard tabs, I will get a message stating "No Changes Made".
    But if I do changes in the standard tabs, it works as usual with display of message "Changes to particular material has been done.
    Please let me know, if anyone of you know, how to display the success message if the changes to the custom tab is done.
    Thanks in advance,
    sudhanva

    Hi Sudhanva,
    The exit EXIT_SAPLMGMU_0001 is a function exit that you can use for custom validation but not to add custom tab/screen.
    But the message issued by SAP is not related to this Function Exit.
    If you have used a Screen Exit, then there must be some Function Exits also in the same Enhancement using which you can assign the value of custom fields to/from the standard structure. Thus when the value of any custom field is changed the system can understand that the some changes have been changed and will  not issue the message.
    In case you have used a BADI, there can be other methods in the BADi using whcih you can assign the value of custom fields to/from the standard structure. This might also prevent the message from being displayed.
    I could try giving you further details if you can provide the name of the Enhancement/BADi that you used to add the additional tab.
    Hope this helps.
    Regards,
    Abhisek.

  • Populating the custom filed - added in BOM item.

    Hello Friends,
    I have a requirement like, for the custom field added in BOM item data, it should come filled while executing the CS02/CS03/CS12/CS73....transactions.
    I have added a field which is one of the field from MARA table. what I have to do is to pass the MARA record into the custom field added based on IDNRK.
    This should happen as soon as enter button is pressed after entering material, plant, bom usage value.
    Please let me know if any exit is there wherein I can put the code OR if any other way!
    Thanks.

    i have solved this issue by doing some R&D.

  • How to open a Excel file and display on the custom screen

    Guys, I am new to screen programming. In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen  (SCREEN #9001), displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3. I know how to load an Excel spreadsheet to R/3 without the custom screens. But my requirement now is to do from custom screens like I mentioned above. Any ideas how to do this? Thanks.
    Dan

    Hi Dan,
    In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen (SCREEN #9001)
    For  this create a MPP program and create a Push button. Write the code for this to open a file like use f4_filename.From here you are able to select a file.
    + displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3.+
    With the above you are able to open a file and now you have to load that data into internal table. Select the file from the desktop.
    Totally you have to create 1) Screen 2) Push button( Open File) 3) Load data ( From file) .
    [Create Push Buttons|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm]
    Check this if there is any please post.
    Regards,
    Madhu.

  • I installed snow leopard which I now realise that it was the wrong one because it came out before my laptop and now it won't changed from the grey screen with the apple on it how do I fix it ???

    I installed snow leopard which I now realise that it was the wrong one because it came out before my laptop and now it won't changed from the grey screen with the apple on it how do I fix it ???

    MacBook Pro
    Apple - Support - MacBook Pro
    Mac OS Version builds
    When did yours come out? what does the above show as model and minimum build?
    You should have yoru OEM OS X DVD, not one from another Mac, or retail, though the last retail OS X DVD was a year ago 10.6.3.
    If it installed, I don't see an issue unless the drive had corrupt directory etc.
    What you need to do is repair your boot drive or restore from backup.

  • Print the custom screen

    hi
      I need some clarifications in the module pool programming. I need to print the custom screen. Is there any standard function module or a standard program which prints the screen

    HI
    fcode for print is fcode = 'UTPR'.
    call function 'SET_EDITOR_HANDLE'
    call function 'SWITCH_FRAMEWORK
    call method get_cursor
    call method source_instance->get_state
    if me->editormode-casemode = '0' or
    me->editormode-casemode = 'L'.
    case_mode = 'LOWER'.
    elseif me->editormode-casemode = '1'.
    case_mode = 'UPPER'.
    elseif me->editormode-casemode = '2'.
    case_mode = 'HIKEY'.
    elseif me->editormode-casemode = '3'.
    case_mode = 'LOKEY'.
    endif.
    cursor-new_index = cursor-index.
    cursor-new_offset = cursor-offset.
    me->edit-buf_scline = content_display..
    me->edit-buf_culine = cursor-index.
    me->edit-buf_cuoffs = cursor-offset.
    if source_instance->l_control_instance_identical = space.
    source_instance->l_backend_actual =
    call method source_instance->get_source_tab
    call method source_instance->get_compressed_source
    describe table content lines content_fill.
    call method source_instance->set_lineindex.
    call method source_instance->get_lineindex
    importing
    lineindex = lineindex[].
    call method source_instance->get_linenumbers
    importing
    linenum = linenum[].
    call method source_instance->get_modification_inf
    call method source_instance->get_state
    call method source_instance->get_change_information
    call method me->get_editor_mode
    CALL FUNCTION 'SET_EDITOR_HANDLE'
    Hope this is useful.....
    Regards,
    Pavan

  • So, after my iPod touch died, i plugged it into the computer to try and charge it, and now it keeps changing between the charging screen, the apple logo, and a blank black screen, still hasn't charged, and its been plugged in for almost an hour now

    So, after my iPod touch died, i plugged it into the computer to try and charge it, and now it keeps changing between the charging screen, the apple logo, and a blank black screen, still hasn't charged, and its been plugged in for almost an hour now

    See the not-charging topic of:
    iPod touch: Hardware troubleshooting
    Have you tried another cable?
    Another charging source? Does iTunes see the iPod when you connect to your computer?
    Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, foreign material and cracked or broken plastic.
    - An appointment at the Genius Bar of an Apple store might be in order

  • The Customer has requested complete delivery

    Hello all,
    I am unable to create a delivery, and I am getting the following message log  in the delivery creation Log.
    The Customer has requested complete delivery
    But my problem is, I dont know which item this is related to?
    How can i find out which item it is?
    I have seen the delivery log, it gives details, but doesnt say which one has the error.
    I have seen the Long text details.
    Also, my other point is, is the complete delivery againbst a customer or is it against a material?
    Many thanks

    Hi saping SAP
    In VD02 go to sales area data -> shipping tab ->uncheck the  box for complete delivery.
    But make sure you have opted for partial deliveries in VD02
    Another option is in when you create a sales order VA01- go to header  data->shipping tab->uncheck the box complete delivery and then proceed by saving the order
    If you have the shortage of material and you have checked the complete delivery, then system will not allow you to save order
    Regards
    Srinath

  • Changing the customer screen tab name in transaction co02

    I have done a exit in transaction CO02.Added one tabstrip in the screen.Its named as customer screen there.How to change this name.please provide with steps.

    Hi
    I'm working on 46C and ECC 6.00: it works fine in the both realeses.
    So I suppose it'll have to work on 470
    I run SMOD trx (no CMOD)
    Insert PPCO0012 and press TEST icon
    Doubleclick on line Exit Menu
    A popup is shown and here I can change the description and the icon for function +COI
    That's all.
    If you're getting the error "Non-existent components: Menu option SAPLCOCU+COI", try to check the sap note 626530
    Max

  • Regarding the Custom screen

    hai friends,
                how to dispaly the ouput of ALV  in Custom screen.
    Regards,
    selvamuthukumar

    Hi,
    Following Sample Code will help you in this way, i am using SCREEN 1 and SCREEN 2
    Screen one there is a field where user enter the Number of Records he want to show from KNA1
    than on SCREEN 2 there is CONTAINER where Record show as ALV
    Flow Logic SCREEN 1
    process before output.
      module status_0001.
    process after input.
      module exit_command_0001 at exit-command.
      chain.
        field: tf_rec_no.
        module user_command_0001.
      endchain.
    Flow Logic SCREEN 2
    process before output.
      module status_0002.
      module display_alv.
    process after input.
      module exit_command_0002 at exit-command.
      module user_command_0002.
    report  zfsl_rget_from_kna1_scr_class.
    tables: kna1, zsdo.
    data: tf_rec_no(10).
    *PARAMETERS: ptablen(10).
    data: git_kna1 like standard table of kna1 with header line,
          wa_git_kna1 like kna1,
          go_grid type ref to cl_gui_alv_grid,
          go_custom_container type ref to cl_gui_custom_container.
    call screen 1.
    *&      Module  STATUS_0001  OUTPUT
    *       text
    module status_0001 output.
      set pf-status 'ZFSL_KNA1_SCR_CLASS'.
    *  SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_0001  OUTPUT
    *&      Module  USER_COMMAND_0001  INPUT
    *       text
    module user_command_0001 input.
      if tf_rec_no ca 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-'.
        message 'Please enter the Valid Number' type 'E'.
      elseif tf_rec_no = 0 and tf_rec_no <> space.
        message 'Please enter the Number other than 0 (ZERO)' type 'I'.
      elseif tf_rec_no <> space.
        clear: git_kna1[], git_kna1.
        select * from kna1 up to tf_rec_no rows
          into corresponding fields of table git_kna1.
        if sy-subrc = 0.
          modify screen .
          call screen 2.
        endif.
      endif.
    endmodule.                 " USER_COMMAND_0001  INPUT
    *&      Module  exit_command  INPUT
    *       text
    module exit_command_0001 input.
      data: ok_bt1 type sy-ucomm.
    *        ok_bt2 TYPE sy-ucomm.
      case ok_bt1.
        when 'BACK'.
          clear ok_bt1.
          leave to screen 0.
        when 'EXIT'.
          clear ok_bt1.
          leave program.
        when 'CANCEL'.
          clear ok_bt1.
          leave to transaction 'ZFSLSCB'.
      endcase.
    endmodule.                 " exit_command  INPUT
    *&      Module  STATUS_0002  OUTPUT
    *       text
    module status_0002 output.
      set pf-status 'ZFSL_KNA1_SCR_CLASS'.
    *  SET TITLEBAR 'xxx'.
    *clear: go_custom_container.
    *  CALL METHOD go_grid->refresh_table_display.
      if go_custom_container is initial.
        create object go_custom_container
          exporting
            container_name = 'ALV_CONTAINER'.
        create object go_grid
          exporting
            i_parent = go_custom_container.
      endif.
      perform load_data_into_grid.
    endmodule.                 " STATUS_0002  OUTPUT
    *  MODULE exit_command_0002 INPUT
    module exit_command_0002 input.
      data: ok_bt2 type sy-ucomm.
    *        ok_bt2 TYPE sy-ucomm.
      case ok_bt2.
        when 'BACK'.
          clear ok_bt1.
          leave to screen 0.
        when 'EXIT'.
          clear ok_bt2.
          leave program.
        when 'CANCEL'.
          clear ok_bt2.
          leave to transaction 'ZFSLSCB'.
      endcase.
    endmodule.                 " exit_command  INPUT
    *&      Module  USER_COMMAND_0002  INPUT
    *       text
    module user_command_0002 input.
    endmodule.                 " USER_COMMAND_0002  INPUT
    *&      Form  load_data_into_grid
    *       text
    form load_data_into_grid.
    *    SELECT * FROM kna1 UP TO tf_rec_no ROWS
    *      INTO CORRESPONDING FIELDS OF TABLE git_kna1.
      call method go_grid->set_table_for_first_display
        exporting
          i_structure_name = 'KNA1'
        changing
          it_outtab        = git_kna1[].
    endform.                    "load_data_into_grid
    Please Reply if any Issue.
    Kind Regards,
    Faisal
    Edited by: Faisal Altaf on Feb 17, 2009 7:28 PM

  • ALV using OOABAP  fieldnames changing in the selection screen

    Hi
    I am new to OOABAP.Here is the requirement.
    I need to create a ALV report, in the selection screen field label can change and it needs to display in ALV report. selection screen contains 4 checkboxes. based on selection hide the columns in ALV display.
    Can anyone help me in this?
    Thanks
    sapien

    u build field cat "at selection-screen event.
    LET S_A, S_B, S_C, S_D BE THE SELECTION SCREEN FIELD.
    AT SELECTION-SCREEN.
    PERFORM BUILD_FIELDCAT USING S_A S_B S_C S_D.
    form build_fieldcat using s_a type ... s_b type .... so on
    if s_a = 'X'.
    FIELDCAT-FIELDNAME = '......'.
    append fieldcat.
    if s_b = 'X'.
    FIELDCAT-FIELDNAME = '......'.
    append fieldcat.
    IF S_C = 'X'.
    FIELDCAT-FIELDNAME = '......'.
    append fieldcat.
    IF S_D = 'X'.
    FIELDCAT-FIELDNAME = '......'.
    append fieldcat.

  • Workflow  keying off changes in the customer master

    I have created a workflow that triggers  off of changes to a particular field in the customer master.
    Everything works great.. However, users are requesting to see the old value as well as the newly changed value.
    The event container doesn't seem to hold the previous changed value, only the new one.
    It does have have the object key and the event time and date.The only option I see is to have my custom method go back and read the change doc table (cdhdr & cdpos) in and around the event time for the object key ( kna1) to retrieve the old value.
    Any suggestions are appreciated.

    Hi,
    The address data is always saved with the dates (look in table adrc). SO maybe you can retrack the original address.
    Why do you print again an invoice. And if you do i think it is alright when it is sent to the current address and not to the old address.
    Gr., Frank

Maybe you are looking for