Reg application in NACE

Hi
What is the application used in NACE for ' creation/cancellation of order'.
Thanks

Hi,
V1 - Sales order application
EF - PO .
With Rgds,
S.Barani

Similar Messages

  • Reg. application server contro

    Hi,
    I tried to secure (SSL) my application server control.
    I did the following procedure for that
    $emctl stop ias-console
    $ emctl secure em
    $emctl start ias-console.
    I did that activity successfully but i need to revert the changes from https to http again.
    Because m getting some errors regarding certificate.
    Please help me , to revert https to http.
    Thanks in advance ....
    Waiting for you reply ...
    Regards,
    Ajinkya

    Ajinkya wrote:
    I did that activity successfully but i need to revert the changes from https to http again.
    Because m getting some errors regarding certificate.
    Please help me , to revert https to http.
    Thanks in advance ....
    Waiting for you reply ...Ajinkya,
    Please follow this Metalink note. (Doc ID: 280034.1)
    HTH,
    AMN

  • Reg: Application Server startup objects

    Hello...
    I am using weblogic server v9. I want to hit the database and populate a couple of objects during startup of my app server and store them in application scope.
    I have no idea on how to proceed. Any hints on the same will be appreciated.
    ~SirG

    Hello SirGeneral,
    You need to implement the ServletContextListener in your application. To do this add following in you web.xml
    <listener-class>
         AppStartListener
    </listener-class>
    Where AppStartListener implements ServletContextListener. Implement the contextInitialized and contextDestroyed methods of the interface. Use the ServletContextEvent argument passed to these methods to lookup your servelt context as event.getServletContext(), which is your application scope. Now do what ever you wish with it.
    Also see my response to thread �Disabling Multiple login of a user�.
    Again, , not sure why you posted in EJB forum, your issue is jsp/servlet related. You would get best responses there.
    Good Luck
    Regards,
    NAG
    Message was edited by:
    nag1610

  • Reg application - guidance

    well hye!-iam riaz from india.iam sun certified java programmer.
    iam enjoying my job hunt in banglore.i have started from the scratch.i need the details below.kindly reply asap. thank u :
    1.link where i can find basic code examples in java ,chapterwise(innerclass...etc). not the one in sun sample code(coz it has1.0 version with diff API) & allmanec.com.
    2.the book which can expertise me in jsp,servlets,ejb with project based approach (deployment in tomact or use of ecclipse IDE). it should contain an real time project with everything required to complete it sucessfully.see to it its avlbl in indian market.
    i am B.E (EEE)grd 2004 batch.iam stuffed person in java& j2ee.iam updating myself with practical knowlg.if anyone can provide me an oppurtunity to explore my talents in ur concern there in banglore or chennai, plz do respond . thank u.

    Hi,
    V1 - Sales order application
    EF - PO .
    With Rgds,
    S.Barani

  • NACE configration  FOR  Internal Order ( KP01 )

    Hi Everyone ,
    For KP01,KP02 & KP03 (Internal Order ) .
    What is the application in NACE transaction & What is the output type in this ?
    For configuring the smart form or sap script.
    You are help is really appropriated.
    Regards
    Sandeep

    Not sure what KP01 is, but if you mean the [http://www.sap-topjobs.com/IOrder1.pdf|internal order from Controlling], then most likely there won't be anything in NACE. FI and CO-PA modules have their own output functionality. You might want to ask in another forum, this has nothing to do with ABAP.

  • NACE configration  FOR  KP01

    Hi Everyone ,
    For KP01,KP02  & KP03 (Internal Order ) .
    What is the application in NACE transaction  &  What is the output type  in this ?
    For configuring the smart form or sap script.
    You are help is really appropriated.
    Regard
    Sandeep

    Not sure what KP01 is, but if you mean the [http://www.sap-topjobs.com/IOrder1.pdf|internal order from Controlling], then most likely there won't be anything in NACE. FI and CO-PA modules have their own output functionality. You might want to ask in another forum, this has nothing to do with ABAP.

  • ITunes won't start up, no error message, appears in task manager

    Hi,
    I have been running this system since quite a while and haven't had problems with iTunes for a while. I updated to the recent version not to long ago and it worked then once or twice, I even bought a game for the iPod (Tetris)...
    Now iTunes doesn't start up anymore. I haven't installed anything new and I am virus free.
    I try to launch iTunes and but the UI will not appear. I can see that it's loaded (or stuck somewhere) as the application is in the processes tab in the task manager and doesn't disappear.
    Obviously I did the usual: curse a lot, removing everything incl. any traces of quicktime and itunes in the reg, 'application data' folders, the mysterious 'My Music' directory in my docs, reinstalling different versions of iTunes and quicktime, running hijack-this to see what processes I can't recognise, curse even more (**** MS monopoly) and reading a lot on the net and on this particular website.
    There are holes in my firewall to accomodate iTunes. I use Sophos anti-virus software (not becasue I chose too).
    Is there anything you could recommend?
    Reinstalling windows is really not an option here, as I use this computer for work too.
    I also use Linux on a seperate partition (Fedora 7), but I know that there were issues with iPod support on Linux and it once broke the whole **** database. Maybe Apple can one day release some software for Linux users? Afterall OS X is just a unix based OS anyways...
    Please help, I wasted so much time on this already

    Hi, dengar.
    Let's try to get an idea of what might be going on by running through b noir's "smack" for iTunes launch failures.
    Based on your original post, I'm going to bypass some of the preliminary questions and make the following assumptions - if any of these assumptions are wrong, post back and we'll follow a different path.
    Assumptions -
    1) There is no error message associated with your iTunes launch failure.
    2) QuickTime itself launches on your computer without any problems.
    3) When you reboot your computer and attempt to launch iTunes, iTunes.exe appears and remains in the Processes list.
    If those assumptions are all true, I'd refer you to this article in the Apple Knowledge Base.
    Message was edited by: The Mimico Kid

  • Dunning letter

    hi experts,
    iam asked to modify one standard sapscript and respective print program of dunning letter , for fi module. for tcode f150. original object is displaying dunning letter output for each customer. when i copied the same object and tried to execute, output is nil. i activated each and every include program etc, but in vain. according to FI consultant they dont maintain application in NACE. so i dnt know how to interlink print program and sapscript, in the original print program form name is not mentioned, i dnt know how the output is displayed in the form of sapscript.
    my requirement is as follows
    The customer is sent the gentle reminder letter for the out standing balances to be received by them. When ever the dunning program is run based on the dunning procedure assigned in the customer master and the level in the customer master, F150 program should be able to print the dunning letter for the customer correspondence.
    MY STANDARD PROGRAM IS FOLLOWS
    REPORT RFMAHN20 MESSAGE-ID FM NO STANDARD PAGE HEADING.
    declaration for dunning lists
    INCLUDE RFMAHNXXTOP.
    tables declaration
    TABLES: T001.
    declaration for independend forms
    INCLUDE RFMAHNXXFORM.
    declaration
    DATA: BEGIN OF MHNK_ACC,
            KOART       LIKE MHNK-KOART,
            BUKRS       LIKE MHNK-BUKRS,
            KUNNR       LIKE MHNK-KUNNR,
            LIFNR       LIKE MHNK-LIFNR,
            KONTO       LIKE MHNK-KUNNR,
            SELKEY      LIKE SY-TABIX,
            L_INCL      LIKE F150V-L_INCL,
            HSORT1(16)  TYPE C,
            HSORT2(16)  TYPE C,
            HSORT3(16)  TYPE C,
            HSORT4(16)  TYPE C,
            HSORT5(16)  TYPE C,
          END OF MHNK_ACC.
    declaration
    DATA:   T_MHNK     LIKE MHNK     OCCURS 10 WITH HEADER LINE.
    DATA    T_MHNK_ACC LIKE standard table of MHNK_ACC
              with key koart bukrs konto  WITH HEADER LINE.
    parameters & select options
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: P_KOART FOR MHNK-KOART,
                    P_BUKRS FOR MHNK-BUKRS,
                    P_KUNNR FOR MHNK-KUNNR,
                    P_LIFNR FOR MHNK-LIFNR.
    SELECTION-SCREEN END OF BLOCK 1.
    INITIALIZATION.
      H_REPID               = SY-REPID.
      H_ACTVT               = '13'.        "display dunning history
      H_TABNAME_HEADER      = 'MHNK_ACC'.
      H_TABNAME_ITEM        = 'MHNK_EXT'.
      H_SET_PF_STATUS       = 'SET_PF_STATUS'.
      H_USER_COMMAND        = 'USER_COMMAND_0001'.
      H_VARIANT-REPORT      = H_REPID.
      H_VARIANT-LOG_GROUP   = '0001'.
      H_VARIANT-HANDLE      = '0001'.
      H_LAYOUT-DETAIL_POPUP = 'X'.
    START-OF-SELECTION.
      select the information from MHNK
      SELECT * FROM MHNK INTO  TABLE T_MHNK
                         WHERE KOART IN P_KOART AND
                               BUKRS IN P_BUKRS AND
                               KUNNR IN P_KUNNR AND
                               LIFNR IN P_LIFNR.
      build the tables for the listviewer
      PERFORM CREATE_TABLES    TABLES   T_MHNK T_MHNK_ACC T_MHNK_EXT.
    END-OF-SELECTION.
      fill the fieldcatalog
      PERFORM FILL_FIELDCAT TABLES   T_FIELDCAT
                            USING    H_TABNAME_HEADER H_TABNAME_ITEM.
      determine the keyinfo
      PERFORM FILL_KEYINFO  CHANGING H_KEYINFO.
      register the list events
      PERFORM REGISTER_EVENTS TABLES T_EVENTS.
    Check if default-variant is existing (default or user-default )
    h_variant-variant has to be empty for this check, otherwise it is
    checked whether this variant is existing.
      H_VARIANT-VARIANT = SPACE.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                I_SAVE        = 'A'
           CHANGING
                CS_VARIANT    = H_VARIANT
           EXCEPTIONS
                WRONG_INPUT   = 1
                NOT_FOUND     = 2
                PROGRAM_ERROR = 3
                OTHERS        = 4.
      IF SY-SUBRC = 2.
      default-variant not existing, therefor get variant 0
        H_VARIANT-VARIANT = '0'.
      ELSEIF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      display the list
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
           EXPORTING
                I_INTERFACE_CHECK        = ' '
                I_CALLBACK_PROGRAM       = H_REPID
                I_CALLBACK_PF_STATUS_SET = H_SET_PF_STATUS
                I_CALLBACK_USER_COMMAND  = H_USER_COMMAND
                IS_LAYOUT                = H_LAYOUT
                IT_FIELDCAT              = T_FIELDCAT[]
                IT_EXCLUDING             =
                IT_SPECIAL_GROUPS        =
                it_sort                  = t_sort[]
                IT_FILTER                =
                IS_SEL_HIDE              =
    *--              i_screen_start_column    = 5
    *--              i_screen_start_line      = 5
    *--              i_screen_end_column      = 80
    *--              i_screen_end_line        = 25
                I_DEFAULT                = 'X'
                I_SAVE                   = 'A'
                IS_VARIANT               = H_VARIANT
                  IT_EVENTS                = T_EVENTS[]
                IT_EVENT_EXIT            =
                I_TABNAME_HEADER         = H_TABNAME_HEADER
                I_TABNAME_ITEM           = H_TABNAME_ITEM
                I_STRUCTURE_NAME_HEADER  =
                I_STRUCTURE_NAME_ITEM    =
                IS_KEYINFO               = H_KEYINFO
                IS_PRINT                 =
           IMPORTING
                E_EXIT_CAUSED_BY_CALLER  =
                ES_EXIT_CAUSED_BY_USER   =
           TABLES
                T_OUTTAB_HEADER          = T_MHNK_ACC
                T_OUTTAB_ITEM            = T_MHNK_EXT
           EXCEPTIONS
                PROGRAM_ERROR            = 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.
    *&      Form  FILL_FIELDCAT
          text
         -->P_T_FIELDCAT  text                                           *
         -->P_H_TABNAME_HEADER  text                                     *
         -->P_H_TABNAME_ITEM  text                                       *
    FORM FILL_FIELDCAT TABLES TI_FIELDCAT STRUCTURE T_FIELDCAT
                       USING  I_HEADER TYPE SLIS_TABNAME
                              I_ITEM   TYPE SLIS_TABNAME.
    create the header fieldcat
      PERFORM APPEND_SEL_FIELDS  TABLES TI_FIELDCAT
                                 USING  I_HEADER.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'KOART'.
      TI_FIELDCAT-SELTEXT_L     = TEXT-052.
      TI_FIELDCAT-SELTEXT_M     = TEXT-052.
      TI_FIELDCAT-SELTEXT_S     = TEXT-052.
      TI_FIELDCAT-REPTEXT_DDIC  = TEXT-052.
      TI_FIELDCAT-REF_FIELDNAME = 'KOART'.
      TI_FIELDCAT-REF_TABNAME   = 'MHNK'.
      APPEND TI_FIELDCAT.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'BUKRS'.
      TI_FIELDCAT-SELTEXT_L     = TEXT-051.
      TI_FIELDCAT-SELTEXT_M     = TEXT-051.
      TI_FIELDCAT-SELTEXT_S     = TEXT-051.
      TI_FIELDCAT-REPTEXT_DDIC  = TEXT-051.
      TI_FIELDCAT-REF_FIELDNAME = 'BUKRS'.
      TI_FIELDCAT-REF_TABNAME   = 'MHNK'.
      APPEND TI_FIELDCAT.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'KONTO'.
      TI_FIELDCAT-SELTEXT_L     = TEXT-050.
      TI_FIELDCAT-SELTEXT_M     = TEXT-050.
      TI_FIELDCAT-SELTEXT_S     = TEXT-050.
      TI_FIELDCAT-REPTEXT_DDIC  = TEXT-050.
      TI_FIELDCAT-REF_FIELDNAME = 'KONTO'.
      TI_FIELDCAT-REF_TABNAME   = 'F150V'.
      APPEND TI_FIELDCAT.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_HEADER.
      TI_FIELDCAT-FIELDNAME     = 'L_INCL'.
      TI_FIELDCAT-SELTEXT_L     =  TEXT-041.  " Kennz: Mahn. gedruckt
      TI_FIELDCAT-REPTEXT_DDIC  = 'L_INCL'.
      TI_FIELDCAT-REF_FIELDNAME = 'L_INCL'.
      TI_FIELDCAT-REF_TABNAME   = 'F150V'.
      APPEND TI_FIELDCAT.
      clear ti_fieldcat.
      ti_fieldcat-tabname       = 'MHNK_EXT'.
      ti_fieldcat-fieldname     = 'COMP_CURR'.
      ti_fieldcat-seltext_l     = text-053.
      ti_fieldcat-seltext_m     = text-053.
      ti_fieldcat-seltext_s     = text-053.
      ti_fieldcat-ref_fieldname = 'WAERS'.
      ti_fieldcat-ref_tabname   = 'MHNK'.
      append ti_fieldcat.
    perform append_sort_fields tables ti_fieldcat
                                using  i_header h_sort_info 'H'.
    create the item fieldcat
      PERFORM APPEND_SEL_FIELDS  TABLES TI_FIELDCAT
                                 USING  I_ITEM.
    generate fieldcat
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME         = H_REPID
                I_INTERNAL_TABNAME     = I_ITEM
                I_STRUCTURE_NAME       = 'MHNK'
                I_CLIENT_NEVER_DISPLAY = 'X'
               i_inclname             = 'RFMAHNXXTOP'
           CHANGING
                CT_FIELDCAT            = TI_FIELDCAT[]
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
    for amounts in company currency establish link to MHNK_EXT-COMP_CURR
    so that summation in ALV is possible
      loop at ti_fieldcat.
        if ti_fieldcat-fieldname = 'SALHW' or
           ti_fieldcat-fieldname = 'FAEHW' or
           ti_fieldcat-fieldname = 'ZINHW' or
           ti_fieldcat-fieldname = 'FAMSH' or
           ti_fieldcat-fieldname = 'MHNGH'.
              ti_fieldcat-cfieldname = 'COMP_CURR'.
              ti_fieldcat-ctabname = 'MHNK_EXT'.
              modify ti_fieldcat.
        endif.
      endloop.
      CLEAR TI_FIELDCAT.
      TI_FIELDCAT-TABNAME       = I_ITEM.
      TI_FIELDCAT-SELTEXT_L     = TEXT-042. " 'Nur gedruckte Posten'.
    ti_fieldcat-seltext_m     = text-'Nur gedr. Posten'.
    ti_fieldcat-seltext_s     = 'Nur gedr. Post.'.
      TI_FIELDCAT-FIELDNAME     = 'L_INCL'.
      TI_FIELDCAT-REPTEXT_DDIC  = 'L_INCL'.
      TI_FIELDCAT-REF_FIELDNAME = 'L_INCL'.
      TI_FIELDCAT-REF_TABNAME   = 'F150V'.
      APPEND TI_FIELDCAT.
    perform append_sort_fields tables ti_fieldcat
                                using  i_item h_sort_info 'H'.
    select the fields to be shown
      PERFORM HIDE_ALL_FIELDS TABLES TI_FIELDCAT USING I_HEADER.
    select the fields to be shown
      PERFORM HIDE_ALL_FIELDS TABLES TI_FIELDCAT USING I_ITEM.
    ENDFORM.                               " FILL_FIELDCAT
    *&      Form  CREATE_TABLES
          text
    -->  p1        text
    <--  p2        text
    FORM CREATE_TABLES TABLES TI_MHNK     STRUCTURE MHNK
                              TI_MHNK_ACC STRUCTURE MHNK_ACC
                              TI_MHNK_EXT STRUCTURE MHNK_EXT.
      data : begin of comp_curr,
             bukrs like mhnk-bukrs,
             waers like mhnk-waers,
           end of comp_curr.
      data bukrs_tab like comp_curr occurs 0 with header line.
    sort the table
      SORT TI_MHNK BY KOART BUKRS KUNNR LIFNR ASCENDING.
    build t_mhnk_ext
      LOOP AT TI_MHNK.
      check authority
        PERFORM CHECK_AUTHORITY USING    '13' TI_MHNK-KOART TI_MHNK-BUKRS
                                CHANGING H_AUTHORITY_OK.
        IF H_AUTHORITY_OK = SPACE.
          CONTINUE.
        ENDIF.
      save wa
        MHNK = TI_MHNK.
      create item entry
        MOVE-CORRESPONDING MHNK TO TI_MHNK_EXT.
        IF TI_MHNK_EXT-KOART = 'D'.
          TI_MHNK_EXT-KONTO = TI_MHNK_EXT-KUNNR.
        ELSE.
          TI_MHNK_EXT-KONTO = TI_MHNK_EXT-LIFNR.
        ENDIF.
        TI_MHNK_EXT-HSORT1 = <F1>.
        TI_MHNK_EXT-HSORT1 = <F2>.
        TI_MHNK_EXT-HSORT1 = <F3>.
        TI_MHNK_EXT-HSORT1 = <F4>.
        TI_MHNK_EXT-HSORT1 = <F5>.
      check if item has been printed already
        IF NOT TI_MHNK_EXT-PRNDT IS INITIAL.
          TI_MHNK_EXT-L_INCL = 'X'.
        ELSE.
          TI_MHNK_EXT-L_INCL = SPACE.
        endif.
        read table bukrs_tab with key bukrs = ti_mhnk_ext-bukrs.
        if sy-subrc <> 0.
          select single * from t001 where bukrs = ti_mhnk_ext-bukrs.
          if sy-subrc = 0.
            bukrs_tab-waers = t001-waers.
            bukrs_tab-bukrs = ti_mhnk_ext-bukrs.
            append bukrs_tab.
          endif.
        endif.
        ti_mhnk_ext-comp_curr = bukrs_tab-waers.
        APPEND TI_MHNK_EXT.
      create header entry
        MOVE-CORRESPONDING MHNK TO TI_MHNK_ACC.
        IF TI_MHNK_ACC-KOART = 'D'.
          TI_MHNK_ACC-KONTO = TI_MHNK_ACC-KUNNR.
        ELSE.
          TI_MHNK_ACC-KONTO = TI_MHNK_ACC-LIFNR.
        ENDIF.
        COLLECT TI_MHNK_ACC.
      ENDLOOP.
    determine if account has at least one printed dunning
      LOOP AT TI_MHNK_ACC.
        READ TABLE TI_MHNK_EXT WITH KEY  KOART  = TI_MHNK_ACC-KOART
                                         BUKRS  = TI_MHNK_ACC-BUKRS
                                         KUNNR  = TI_MHNK_ACC-KUNNR
                                         LIFNR  = TI_MHNK_ACC-LIFNR
                                         KONTO  = TI_MHNK_ACC-KONTO
                                         L_INCL = 'X'.
        IF SY-SUBRC = 0.
          TI_MHNK_ACC-L_INCL = 'X'.
          MODIFY TI_MHNK_ACC.
        ENDIF.
      ENDLOOP.
    ENDFORM.                               " CREATE_TABLES
    *&      Form  FILL_KEYINFO
          text
         <--P_H_KEYINFO  text                                            *
    FORM FILL_KEYINFO CHANGING E_KEYINFO TYPE SLIS_KEYINFO_ALV.
      MOVE 'KOART' TO : E_KEYINFO-HEADER01,E_KEYINFO-ITEM01.
      MOVE 'BUKRS' TO : E_KEYINFO-HEADER02,E_KEYINFO-ITEM02.
      MOVE 'KONTO' TO : E_KEYINFO-HEADER03,E_KEYINFO-ITEM03.
    ENDFORM.                               " FILL_KEYINFO
    *&      Form  SET_PF_STATUS
          text
         -->P_RT_EXTAB  text                                             *
         -->P_TYPE  text                                                 *
         -->P_SLIS_T_EXTAB  text                                         *
    FORM SET_PF_STATUS USING I_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'HIST_MAX' EXCLUDING I_EXTAB.
    ENDFORM.                               " SET_PF_STATUS
    *&      Form  USER_COMMAND_0001
          text
    -->  p1        text
    <--  p2        text
    FORM USER_COMMAND_0001 USING I_UCOMM     LIKE SY-UCOMM
                                 I_SELFIELD  TYPE SLIS_SELFIELD.
      CASE I_UCOMM.
        WHEN 'DISP'.
          PERFORM COMMAND_DISP USING I_SELFIELD.
      ENDCASE.
    ENDFORM.
    *&      Form  COMMAND_DISP
          text
    -->  p1        text
    <--  p2        text
    FORM COMMAND_DISP CHANGING E_SELFIELD TYPE SLIS_SELFIELD.
    declaration
      DATA: TH_MHND     LIKE MHND OCCURS 10 WITH HEADER LINE,
            TH_MHNK     LIKE MHNK OCCURS 1 WITH HEADER LINE.
    determine the current line
      IF E_SELFIELD-TABNAME = H_TABNAME_ITEM.
        READ TABLE T_MHNK_EXT INDEX E_SELFIELD-TABINDEX.
        MOVE-CORRESPONDING T_MHNK_EXT TO TH_MHNK.
        APPEND TH_MHNK.
      ELSE.
        MESSAGE E481.
        EXIT.
      ENDIF.
    determine the mhnd entries for the actual mhnk
      SELECT * FROM  MHND INTO TABLE TH_MHND
             WHERE  LAUFD       = TH_MHNK-LAUFD
             AND    LAUFI       = TH_MHNK-LAUFI
             AND    KOART       = TH_MHNK-KOART
             AND    BUKRS       = TH_MHNK-BUKRS
             AND    KUNNR       = TH_MHNK-KUNNR
             AND    LIFNR       = TH_MHNK-LIFNR
             AND    CPDKY       = TH_MHNK-CPDKY
             AND    SKNRZE      = TH_MHNK-SKNRZE
             AND    SMABER      = TH_MHNK-SMABER
             AND    SMAHSK      = TH_MHNK-SMAHSK.
    change the dunning data
      CALL FUNCTION 'EDIT_DUNNING_DATA'
           EXPORTING
                I_MHNK     = TH_MHNK
                I_XDISPLAY = 'X'
           TABLES
                T_MHND     = TH_MHND
                T_MHNK     = TH_MHNK
           EXCEPTIONS
                OTHERS     = 1.
    ENDFORM.                               " COMMAND_DISP
    *&      Form  REGISTER_EVENTS
          text
         -->P_T_EVENT  text                                              *
    FORM REGISTER_EVENTS TABLES T_EVENT TYPE SLIS_T_EVENT.
    determine the events
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                I_LIST_TYPE     = 1
           IMPORTING
                ET_EVENTS       = T_EVENT[]
           EXCEPTIONS
                LIST_TYPE_WRONG = 1
                OTHERS          = 2.
    set top of page form
      READ TABLE T_EVENT WITH KEY NAME = SLIS_EV_TOP_OF_PAGE.
      IF SY-SUBRC EQ 0.
        T_EVENT-FORM = 'TOP_OF_PAGE'. MODIFY T_EVENT INDEX SY-TABIX.
      ENDIF.
    set top of list form
      READ TABLE T_EVENT WITH KEY NAME = SLIS_EV_TOP_OF_LIST.
      IF SY-SUBRC EQ 0.
        T_EVENT-FORM = 'TOP_OF_LIST'. MODIFY T_EVENT INDEX SY-TABIX.
      ENDIF.
    set end of list
      READ TABLE T_EVENT WITH KEY NAME = SLIS_EV_END_OF_LIST.
      IF SY-SUBRC EQ 0.
        T_EVENT-FORM = 'END_OF_LIST'. MODIFY T_EVENT INDEX SY-TABIX.
      ENDIF.
    ENDFORM.                               " REGISTER_EVENTS
          FORM TOP_OF_PAGE                                              *
    FORM TOP_OF_PAGE.
      PERFORM BATCH-HEADING(RSBTCHH0).
    ENDFORM.                               " TOP_OF_PAGE
          FORM TOP_OF_LIST                                              *
    FORM TOP_OF_LIST.
    *- Standardseitenkopf fuellen -
      MOVE '0'      TO BHDGD-INIFL.
      MOVE SY-LINSZ TO BHDGD-LINES.
      MOVE SY-UNAME TO BHDGD-UNAME.
      MOVE SY-REPID TO BHDGD-REPID.
      CLEAR: LINE.
      WRITE TEXT-040 TO BHDGD-LINE2.
    ENDFORM.
          FORM END_OF_LIST                                              *
    FORM END_OF_LIST.
      WRITE: / TEXT-039.
    ENDFORM
    regards
    maaya

    Hi,
    I copied your program and executed it. First of all, I dont think its a print program for any script. Its a plain ALV report program. I think you mis-understood the requirement or I totally lost the question.
    Make sure you are changing the correct program.
    Regards
    Aneesh.

  • Propose Custom Idoc, output type issue

    Dear Experts,
    I want to populate a custom idoc(Idoc already existing) by proposing the output type in the purchase order for which I created a output type and made an entry in Application 'EF' (NACE),
    Also created a process code thru we41 and assigned both of these in the outbound parameters of the partner profile.
    But for some reason I'm getting an error while propsing and saving the purchase order, Is there a way that I can identify why the error occurred.
    Or can some one shed some light if I need to do any extra configuration if I'm playing with a custom Idoc.
    Thanks for all
    -Amit

    >
    Vinod Kumar wrote:
    > Have you done the partner profile configuration in WE20.  Have you mentioned message control? What is the exact error which is appearing while saving PO?
    >
    > Regards
    > Vinod
    Vinod,
       I did all the partner profile configurationand maintanied message control too, While saving I'm not getting any error, but after saving, if I go back to the output type and see the output is in Red coulor (Indicating failure), I'm not sure how to check where the error occured.
    Thanks
    -Amit.

  • Email Created Purchase Order to approver

    Dear All,
    Good Day!
    is it possible to be automatic send email to approver the created purchase order
    How can i config/setup  purchase order to be email to different  approver
    this is the first time we will do the created purchase order to be send automatic through email to approvers
    Thanks in advance
    Ermin D. Concepcion

    Hi,
    Same question you are asking again & again!
    Re: Send PO to vendor through e-mail
    OK.
    In Standard PO to send by E-mail to vendor is possible only after PO final release,if you set Dispatch time as 4 {Send immediately (when saving the application)} in NACE t.code in application EF & in condition record t.code:MN04 for PO message type.
    Purchase order to be email to different approve for approving , then go for Workflow.
    http://wiki.sdn.sap.com/wiki/display/ABAP/SendanExternalmailthroughSAPBusinessWorkflowandRecieversaddressin+CC
    Regards,
    Biju K

  • Auto mail of purchase order to vendor after final approval(release)

    hello all,
    my requirement is that.after creation of purchse order and final release,my client want to send the puchase crder automatically to vendor via mail.
    pls explain me settings for same.
    i have already search the sdn threads,but not got the exact settings for this scenario.
    thanx in advance for your valuable reply.
    regards
    simran

    Hi,
    You could have searched in SDN for query sending PO by e-mail to vendor. There are a lot answers. OK.
    As required by you purchase order automatically will send to vendor via e-mail after final release, then set Dispatch time as 4 {Send immediately (when saving the application)} in NACE t.code in application EF for your PO output type and save. Also maintain condition record for PO output type in t.code: MN04 and keep Dispatch time as 4 {Send immediately (when saving the application)} with other parameters (document type, purchase organization etcu2026.)
    For more check links for details setting e-mail setting for PO
    http://www.architectsap.com/blog/sap/sap-mm-purchasing-send-purchase-order-by-mail-to-vendor-in-sap/
    http://www.sap-img.com/materials/external-send-sending-po-by-email.htm
    Regards,
    Biju K

  • Purchase Order printed only once

    Hello.
    I need to print the PO automatically when I create it.
    But if the PO is changed or release it sholdn't printed again automatically.
    How can I configure the message for this purpose?
    Is it possible print only once?
    Thank you in advance.
    Regards.

    Hi,
    In Standard only PO Printing  is possible after PO release.But if business needed, you can develop a DRAFT COPY OF PO PRINT OUT with help of ABAPer before PO release.
    After release if you needed automatic PO print then need to set Dispatch time as 4 {Send immediately (when saving the application)} in NACE t.code in application EF & in condition record t.code:MN04 for PO message type.
    As you needed ,only once print and no further PO print , then do not select" Multiple Issuing" check box in General data TAB for your required PO output type in NACE t.code in application EF .
    Regards,
    Biju K

  • Print Form using Output Type

    Hey Guys,
           Can any one tell me how can i Print a SMARTFORM using its Output Type. Should i hav eto do anything with Print Program stuff.
           Helpful answers will be rewarded.
    Thanks,
    Prashanth

    You will have to call the SMART Form from your print program. The print program will be called by the standard SAP code, using the configuration that you will have to do in the NACE transaction.
    Choose the specific application in NACE transaction, click on the output types. now, choose the output type, and clock the Mail and processing routintes and you can configure your print program and form here.
    In side the program you will call the form.
    Regards,
    Ravi

  • Output to be triggered at mass update

    Hi,
    I am using /n/afs/mdc to reject partially open line items of a sales order.
    Once the sales order is updated through this, it is required for an output to get generated. (so that the sales order status
    can be sent out via iDoc)
    Is this possible through standard configurations?
    Thanks in advance.

    Hello,
    Nothing specific in the AFS mass document change in regards to output determination. Also, I think there is no need of creating workflow there. Make sure you have an output type maintained for the application (see NACE transaction and assign program RSNASTED, routine EDI processing) and the related condition records. Once you're done with this, define an entry for the customer/partner in WE20 and assign idoc type ORDRSP with the right process code (as of AFS 6.0 use standard process code, before that release it was AFS specific J3*).
    Regards,
    Mehdi

  • Transaction to execute an invoice verification

    Hi all,
    can any one please say me Which is the proper transaction  to execute an invoice verification ( Evaluated receipt settlement or ERS) and how is that executed through that particular transaction.
                    Regards,
          Cheenangshuk das
    Edited by: Alvaro Tejada Galindo on Feb 27, 2008 4:10 PM

    Hi,
    If you got the Output type, driver program and name of the the form, then you can go to T-Code NACE to attach the driver pgm/form routine and form name against a Output type.
    You should also know the application in NACE. I think it should be MR.
    Hope this helps.
    Regards,
    JLN

Maybe you are looking for

  • 1571 charges that shouldn't be

    Has anyone had the experience of being charged for 1571 usage when because of disability they were supposed to be free same with 1471. I have just been racked up with about £27 worth in three weeks........They have to be joking surely- anyone else ha

  • How to include log4j in servlet

    hai i want to know what are the steps neccessary for including log4j .How to do with xml. Please give me some useful sites about log4j. which will guide me to work in webapplication

  • Cardinality

    Dear all , I have a question here about the joins cardinality in OBIEE. There is join in the fact and dimension table as 1;N .If I have changed this as N;1 will it give nay change in the results . What is the pupose of the cardinality in OBIEE ,how t

  • How to read and write in a binary file?

    Hi all, how can i search in a binary file for string and replace this string with another bin file ...test.bin search String "DE AD FA 01" regards gebi

  • Audio output using HDMI in 2010 mac mini cuts out. Anyone know of fixes?

    I have a 2010 mac mini that I hook up with my Samsung C6300 LED tv using an HDMI monster cable. I have never had any issues withn this setup prior to the new Lion software installed and ever since then the audio will cut out for a split second every