How to set PF status title in module pool.If we are executing it in VA01

Hi all!
I a executing my screen in module pool.I set the title for my screen.While i a executing i am getting title in the screen like pf status title only. But if i am executing that screen through VA01.I am not getting title and at the same time it is capturing the VA01 title.But i want the title as the se51 pf status screen title.Plz give me the solution

Hi,
I think you should assign your program at the
'Output types' using tcode: NACE.
thanks|
Mahesh

Similar Messages

  • In Standard Report Of ALV How Can Set PF Status.

    In Standard Report Of ALV How Can Set PF Status.
    Thanking in anticipation.

    in the call function module, you pass the PF status parameter.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = pgm
       <i> <u>  i_callback_pf_status_set = 'SET_PF_STATUS'</u></i>
          it_fieldcat              = fieldcat
          is_variant               = disvariant
          is_layout                = layout
          is_print                 = print
          i_save                   = 'A'
          it_events                = eventcat
          it_sort                  = sortcat
          i_callback_user_command  = 'USER_COMMAND'
        TABLES
          t_outtab                 = a_output
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    ENDFORM.                    "LIST_DISPLAY
    FORM SET_PF_STATUS *
    FORM set_pf_status USING extab TYPE slis_t_extab.
      SET PF-STATUS 'ZZSTD'.
    ENDFORM.                    "set_pf_status
    Here double Click on ZZSTD. IT will take you to a different screen and you have to set it.
    Ster.

  • How to set the status for a customer plan to RELEASED.

    Hello all,
    I created a program for mass creation of customer plans. But after the creation of a plan, the status should be set to released, so that the user can go about creating the trade promotions for the customer plan. Can anybody tell me how to set the status of a customer plan to RELEASED.
    Thanks,
    Disha.

    Hi Clemens,
    I am not talking about doing it in the CRM_UI transaction..I created a program..which would create the customer plans based on the planning account data provided. I was succesfull in creating the plans, but I am not knowing how to release it, if only anybody can tell me about a Function module or method, which can help me do this, that would be great
    Thanks,
    Disha.

  • How to set 'error' status with DB poll Adapter in OSB

    1. Configured DB Adapter to poll rows with status 'notprocessed' and set the status to 'processed'
    2. Configured FTP Adapter to write fetched rows from DB into a CSV file
    Now my requirement is if any error like FTP server is not available, how to set the status in DB table to 'error'

    Yes Vlad you are right, this will avoid another DB connection created in Error Handler.
    I hope this will provide some lights on the usefulness of "Transaction"
    http://www.nysolutionsltd.com/transaction-handling-in-oracle-service-bus/
    http://kd-blog-tech.blogspot.com.au/2010/12/transaction-management-for-osb-service.html
    Regards
    RK
    Edited by: RK.. on 27/03/2013 17:10

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • How to set custmer master block for posting & how to set the status .....

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. Use an appropriate subject in your message thread. >
    Hi ...
    How to set custmer master blocked for posting & how to set the status has deleted. please provide the steps for the above two actions.
    thanks

    Hi,
    U can use T-code FD05 for Blocking the customer and
    T-code FD06 in order to set for deletion,
    Assign Points if useful,
    Regards,

  • How to set the Status

    Hi
    How to set the status of  user defined form as "closed" . I have one form, i want that form should not be editable after one condition is true. Can anyone tell one solution
    Advance Thanks
    jintu

    Hiii,
    Use this
    Sub FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean)
            Try
                Select Case BusinessObjectInfo.EventType
                    Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD, SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE
                        If BusinessObjectInfo.BeforeAction = True Then
                            objForm = objMain.objApplication.Forms.Item(BusinessObjectInfo.FormUID)
                        ElseIf BusinessObjectInfo.ActionSuccess = True Then
                            If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE Then
                            End If
                        End If
                    Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD
                        If BusinessObjectInfo.ActionSuccess = True Then
                            objForm = objMain.objApplication.Forms.Item(BusinessObjectInfo.FormUID)
                            objForm.Freeze(True)
                            If (objForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE) Then
                               if objForm.Item.Items("Status").Value.equals("Closed")= True
                             objForm.Mode = SAPbouiCOM.BoFormMode.fm_VIEW_MODE
                             End If
                              end if              
                        End If
                End Select
            Catch ex As Exception
                objMain.objApplication.StatusBar.SetText(ex.Message)
            End Try
        End Sub

  • How to set a Caption/title in ALv

    Hi frnds,
    Can you tell me how to set a caption/title to a ALV grid.
    Regards
    Anuj

    hi
    try like this
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED',
          i_title_vbak TYPE lvc_title VALUE 'SECOND LIST DISPLAYED'.
    populate additional paramete as follows.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       i_callback_pf_status_set          = 'PF_STATUS_SET'
         i_callback_user_command           = 'USER_COMMAND'
       i_callback_top_of_page            = 'TOP-OF-PAGE'
         i_grid_title                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    or if you want top of page
    populate the events table and use alv_commentary_write
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
      REFRESH it_listheader.
    try the below code u will get a clear picture
    report zalv no standard page heading.
    TYPE-POOLS : slis.
    TABLES: kna1.
    TYPES : BEGIN OF ty_kna1 ,
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            land1 LIKE kna1-land1,
            END OF ty_kna1.
    DATA: it_kna1 TYPE TABLE OF ty_kna1.
    DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat TYPE slis_fieldcat_alv.
    DATA : wa_layout TYPE slis_layout_alv .
    DATA : it_events TYPE  slis_t_event ,
           wa_events TYPE slis_alv_event.
    DATA : it_listheader TYPE slis_t_listheader,
           wa_listheader TYPE slis_listheader,
           it1_listheader TYPE slis_t_listheader,
           wa1_listheader TYPE slis_listheader.
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED'.
    INITIALIZATION.
      PERFORM getevents using it_events.
      PERFORM desinlayout.
    START-OF-SELECTION.
      PERFORM desinfieldcat.
      PERFORM datafetching.
      PERFORM display.
    *&      Form  desinfieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM desinfieldcat .
    wa_fieldcat-row_pos = 1.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-fieldname = 'KUNNR'.
      wa_fieldcat-seltext_l = 'Cust Num'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      wa_fieldcat-key = 'X'.
    wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 2.
      wa_fieldcat-col_pos = 2.
      wa_fieldcat-fieldname = 'NAME1'.
      wa_fieldcat-seltext_l = 'Name'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 35.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 3.
      wa_fieldcat-col_pos = 3.
      wa_fieldcat-fieldname = 'LAND1'.
      wa_fieldcat-seltext_l = 'Country'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " desinfieldcat
    *&      Form  datafetching
          text
    -->  p1        text
    <--  p2        text
    FORM datafetching .
      SELECT kunnr name1 land1
             FROM kna1
             INTO TABLE it_kna1
             UP TO 30 ROWS.
    ENDFORM.                    " datafetching
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       I_GRID_TITLE                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    ENDFORM.                    " display
    *&      Form  desinlayout
          text
    -->  p1        text
    <--  p2        text
    FORM desinlayout .
      wa_layout-zebra = 'X'.
      wa_layout-colwidth_optimize = 'X'.
    *wa_layout-edit = 'X'.
    ENDFORM.                    " desinlayout
    *&      Form  getevents
          text
    -->  p1        text
    <--  p2        text
    FORM getevents using p_it_events type slis_t_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
      IMPORTING
         et_events             = p_it_events
       EXCEPTIONS
         list_type_wrong       = 1
         OTHERS                = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    READ TABLE p_it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " getevents
    *&      Form  populatevents
          text
    -->  p1        text
    <--  p2        text
    FORM populatevents .
      READ TABLE it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " populatevents
    *&      Form  top-of-page
          text
    FORM TOP_OF_PAGE.
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      REFRESH it_listheader.
    ENDFORM.                    "top-of-page
    REWARD IF HELPFUL
    PRASANTH

  • How to get the Grand Total in Module pool Screen

    Hi Frds.
         How to get the Grand Total in Module pool Screen
    Example i have 10 different materials
    for each matarial has different moving . But in my case matarials is doesnt matter here
    10 material Moving Average price to do Frand total and display in one column...
    Please Help me out Frds.
    Regards,
    Kabil

    Hi
    You need to calculate the total in a module of PAI (or PBO) event:
    PROCESS PAI.
       LOOP.....
       ENDLOOP.
      MODULE CALCULATE_TOTAL.
      MODULE CALCULATE_TOTAL.
        GRAND_TOTAL = 0.
         LOOP AT ITAB,
            GRAND_TOTAL = GRAND_TOTAL + ITAB-PWB.
        ENDLOOP.
    ENDMODULE.
    In this way the grand total will be calculated as soon as the user presses enter or another command.
    You can't insert the calculation in the loop of table control, because this loop runs the visible lines only, so it's better to calculate the total out of those loop,

  • How can i decleare select-options in module pool table control?

    Hi everybody!!
    Can anyone tell me how can I decleare select-options in module pool table control screen?. I have declared it in a screen with a table control but a dump is triggered due to an error when generating the selection screen.
    Regards...

    My suggestion will be try to use fm
        call function 'FREE_SELECTIONS_DIALOG'
    Please search this forum you can find lot of threads related to this.

  • How to draw table in layout in module pool

    how to draw table in layout in module pool with wizard or table control

    Hi
    Goto Screen Painter .
    here we can create table in 2 ways,
    with wizard and without wizard.
    with wizard it will step by step...
    for without wizard (its quite easy)
    Click Table control and Drag into ur screen.
    then --> click input box and place into to that table control
    for two column do this two times.
    then for header click the text icon in left side and drag into
    correspoding places .. then ur table is ready..
    then give names using double clicking the elements
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    Reward if useful.

  • How to save Custom control records through module pool program ?

    Hi guru ,
    1. How to save Custom control records through module pool program ?
    I wrote multiple lines of record in custom control
    Who to save that records ?
    thanking you.
    Regards,
    Subash.

    Hi,
    can refer following code -
    IN PAI , CODE is as follows-
    *&      Form  editor_output
    FORM editor_output .
    NARRATION1 is name of custom controller
      IF v_editor IS INITIAL.
      Create obejct for custom container
        CREATE OBJECT v_custom_container
          EXPORTING
            container_name              = 'NARRATION1'
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            OTHERS                      = 6.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      Create obejct for the TextEditor control
        CREATE OBJECT v_editor
          EXPORTING
            wordwrap_mode              = cl_gui_textedit=>wordwrap_at_fixed_position
            wordwrap_position          = line_length
            wordwrap_to_linebreak_mode = cl_gui_textedit=>true
            parent                     = v_custom_container
          EXCEPTIONS
            error_cntl_create          = 1
            error_cntl_init            = 2
            error_cntl_link            = 3
            error_dp_create            = 4
            gui_type_not_supported     = 5
            OTHERS                     = 6.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    " editor_output
    getting textdata in internal table as follows
    *&      Form  create_text
    FORM create_text .
      REFRESH : it_texttable,
                it_text.
      IF v_doc_number IS NOT INITIAL.
        IF v_editor IS NOT INITIAL.
          CALL METHOD v_editor->get_text_as_r3table
            IMPORTING
              table                  = it_texttable
            EXCEPTIONS
              error_dp               = 1
              error_cntl_call_method = 2
              error_dp_create        = 3
              potential_data_loss    = 4
              OTHERS                 = 5.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Now, our final text data is in internal table it_texttable.
    pls, Reward if found helpful.

  • How to set quality status of a request in an infocube  by a function module

    Hi folks,
    in the maintenance of an infocube you have the possibility to go to a dialog called "maintenance of the automatism". That dialog allows you to set a flag therewith the quality status of a processed request is  set automatically to green.
    Does anybody know how to do that with a function modul or which tables have to be updated in order to do that by a litte ABAP?
    Thanks+Cheers, Thomas

    Hi Bhanu,
    thanks for that one, pretty helpful.
    Think of the following scenario:
    1. untick the automatic setting of the quality status
    2. load 4 requests into the infocube
    3. once last request has been loaded tick the automatic setting of quality status
    would that mean that once the status flag is ticked all 4 requests become available  for reporting?
    Cheers, Thomas

  • How to set window.status when returning to a page with back button/list?

    It is easy enough to set window.status to application-oriented information when loading a page: do it in a function which is the onload handler for the page's body element. But, when returning to this window from another window with the second window's back button, or selecting the first window from the second window's back list, window.status gets set to browser-oriented information, usually the string "Done". Is there any means by which I can set window.status to application-oriented information when returning to the window via another window's back button/list? What would be really great is if there is an event handler like this:
    window.onreturnviaback = onreturn_via_backhandler;
    Any ideas?

    How about:
    - (void)viewWillAppear:(BOOL)animated
    I use that a lot.

  • How to set the status when Idoc fails

    Hai ,
    I created Idoc extension & created a segment under that(Delivery related).
    My requirement is,
    if certain data not found,
    Idoc should fail with text"Shipemnt for delivery <del. No> not found.
    Could you please help me how to do this?
    I checked the table EDIDC table but the above mentioned status is  not there.
    Thanks & Best Regards,
    Bhaskar.

    you need to set the status using IDOC_STATUS
    where ever error occurs populate the status table.
    IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
       IDOC_STATUS-STATUS = '51' ." if it is inbound
       IDOC_STATUS-MSGTY  = Message-type.
       IDOC_STATUS-MSGID  = message-id.
       IDOC_STATUS-MSGNO  = message-MSGNR.
       IDOC_STATUS-MSGV1  = message-MSGV1.
       IDOC_STATUS-MSGV2  = message-MSGV2.
       IDOC_STATUS-MSGV3  = message-MSGV3.
       IDOC_STATUS-MSGV4  = message-MSGV4.
    *  IDOC_STATUS-SEGNUM = ?????????????????
    *  IDOC_STATUS-SEGFLD = ?????????????????
    *  IDOC_STATUS-UNAME  = ?????????????????
       IDOC_STATUS-REPID  = SY-REPID
    *  IDOC_STATUS-ROUTID = ?????????????????
       APPEND IDOC_STATUS.

Maybe you are looking for

  • Transfer vision from DVC PRO 50 to XDCAM for Final Cut Express

    Hi there friends.... I would like to transfer vision from DVC PRO 50 to XDCAM 700. Can you please advise the best/quickest method. Regards

  • In the name of all that's holy

    I have a 12" PowerBook G4. It had been behaving erratically, starting with not being able to start it up (hangs at apple both with and without the spinner). So, I tried to back-up my data using target disk mode, but it repeatedly locked up when tryin

  • What is 'acceptable' disk space

    Hello - I have already posted on FCP and DVDSP boards, because I am having a problem with programs running to a certain point, and it was suggested to me that my available disk space might be an issue. I have an iMac G5, Mac OS X (10.4.10), that came

  • Downloaded H&R block tax software on windows machine, how can I transfer it

    I bought the tax software on Dell's software sight, I made sure that the software was Mac compatible. When I went to download the software, I found out that it could not downloaded on a mac:( Others had success downloading it to a windows machine and

  • How do i remove FBDownloader

    I recently noticed that google looked a little odd. after that i realized that ti wasn;t google at oall byut some thing called FBDownloader. After looking into it i find that it is a virus that hacks my browser and overrides my choice of default brow