Error When Opening the Transactions/Transactions Window

Hi All,
in Oracle E-Business Suite R12 Version
Error When Opening the Transactions/Transactions Window
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "APPS.AR_MO_GLOBAL_CACHE", line 55
ORA-06512: at "APPS.ARP_STANDARD", line 2912
ORA-06512: at "APPS.ARP_GLOBAL", line 282
FRM-40735: PRE-FORM trigger raised unhandled exception ORA-06502
Can any body help about the error
Thanks in advance.

Did you go through the below notes:
Note:125204.1, Note:153207.1 and Note:191306.1.

Similar Messages

  • Error When Opening the Setup/Transactions/ Sources Window

    Hi All,
    in Oracle E-Business Suite R12 Version
    Error When Opening the Setup/Transactions/ Sources Window
    APP-FND-01388: Cannot read value for profile option FND_DEVELOPER_MODE in routine &ROUTINE.
    ORA-01403: no data found
    FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502.

    Amr,
    Please see the suggested solutions in these docs.
    App-Fnd-01388: Cannot Read Value For Profile Option Fnd_developer_mode In Routine [ID 563884.1]
    R12: How To Avoid The Error Message APP-FND-01388 On Drilldown [ID 556668.1]
    R12 APXINWKB Error APP-FND-01388 When Trying To Query Invoice [ID 864195.1]
    APP-FND-01388 Cannot Read Profile Option FND_DEVELOPER_MODE In Benefits Service Center Form [ID 422182.1]
    Thanks,
    Hussein

  • FM GUI_UPLOAD gives PC036 "Error when opening the download file".

    Dear all
    I'm having a problem with a particular PC.
    A program which calls FM GUI_UPLOAD gives the error PC036 "Error when opening the download file".
    The file we are trying to upload is a text file, with tab delimiter.
    If the same user executes the same program from another PCs, it works fine.
    If another user executes the program in the "problematic" PC, it gives the error.
    So, the problem is PC-related.
    I checked SAP GUI Codepage, and was the same as other PCs.
    I cheched regional configuration, and was also the same as other PCs.
    The operating  system is Windows XP, and the SAP GUI version is 7.10,  File version 7100.2.7.3077, Build 967944 , Patch level 7.
    SAP version is ECC6.
    I searched across forums, SAP note, and the web, but I couldn't find anything.
    I would be grateful if someone could give me ideas.
    Thanks in advance
    Jordi

    Hello. The user accounts are have same privilegies (like both are "Power users")? Also the file system are the same in both PC NTFS or FAT32 (today i'm find FAT32 in enterprise ) If NTFS may be some Domain politics are not allow to save file correctly, or space are not enough....Try check this first...Regards.

  • I am getting an error when opening the organizer saying online services could not be initialized?

    I just installed photoshop elements 11 on my Mac and am receiving an error when opening the organizer.  It is stating that online services could not be initialized and that I need to reinstall.  I tried that and it is still coming up.  What do I do?

    How did you uninstall it?

  • ITunes 11.1.2 error when opening iTunes Store on windows 8.1 64b

    After updating iTunes to version 11.1.2 is giving error when accessing the iTunes Store and the program and ended.

    Same issue.   Win 8.1 64-bit.   iTunes 11.1.2.31     Everything else seems to work fine, but when attempting to open the iTunes Store, error message "iTunes has stopped working".    It happens whether or not I'm signed in to my AppleID account.    My computer is 'authorized'.
    This just fixed my issue:
      Level 1 (5 points)
    Mark Justison
    Currently Being Moderated  Re: Itunes crashes under windows 8.1
    Oct 18, 2013 9:53 PM (in response to Mark Justison)
    Found the problem. I considered the fact (not having actually tried Itunes in windows8) that it could be a windows 8 problem exclusively.
    I found this...
    thurdy
    Re: iTunes has stopped working. Why? 
    Sep 11, 2013 6:07 AM (in response to thurdy)
    Resolved!
    After contacting Apple, I received a reply from their engineers:
    Copy QTMovieWin.dll from:  C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    to: C:\Program Files (x86)\iTunes
    And that did the trick.
    Message was edited by: Stryder777

  • Error When Finish the Install on Windows 2003

    When finish the install on Windows 2003 Server the last check list Oracle Audit Vault Asistant send error:
    avca.bat initialize_av -crtscma N -avsysdba ${s_avsysdba} -avadm ${s_avadm} ${s_avauditor} -dvowner ${s_dvownerarg} ${s_dvacctmgr} -jdbc_str jdbc:oracle:oci:@av -dbalias av -sid av -avconsoleport 5700
    dont run command.
    which i can do. thanks for the help

    Hi, Pankaj,
    i encountered same problem as you did.
    please could you elaborate how you resolve the problem "by passing oracle_sid at cmmond prompt and then starting the database, before that check listner is running or not , if not start listner"
    many thanks,
    lee

  • Error:Cannot open the file c:\windows\sapmmc.msc

    Hi Folks,
    I have been using SAP IDES ECC 6.2 for a while and now all of a sudden encountered a problem CANNOT OPEN THE FILE C:\WINDOWS\SAPMMC.MSC.
    I am a technical consultant and i know nothing about basis and sap installations.
    Is this error so fatal? How can i fix the problem..
    Thanks in advance.
    Ranjith kumar.

    Hi
    Ranjith
    Hi,
    Looks like your mmc dll is corrupted, with your install and uninstall of software.
    Two Options:
    1. Upgrade the Kernel with latest Patch level, which comes with new SAPMMC.dll file
    OR
    2. Just download the SAPMMC*.sar file from service market place and extract in exe directory, since it is windows re-booting the server doesn't hurt.
    Regards
    Bhaskar

  • There is an error when opening the safari page.

    There is an error when opening webpages which contain web videos. How to fix it? Thank you

    I just updated the system and reinstalled safari. The error has gone away. Thank you

  • Getting error when copy the SWRB Transaction.

    Hi experts,
    This is very urgent requirement.
    There is a one transaction in CRM  5.0 that is SWRB(Web Request w/o Item) in service process. This transaction doesn't have any item details,but when I copy that transaction it is showing item details also.
    I don't know how this is possible. I should get the copyed transaction also without item level details.
    Please clarify if any one knows.
    Actually I am using this is SWRB transaction for creating service request.
    If any body knows any transaction in crm without item details please let me know.
    Thanks and regards
    Koti
    My mail id is : [email protected]

    Hi Koti,
    When you create new transaction type by copying the transaction type "SWRB", the new transaction type will have the following transaction categories under "Assignment of Business Transaction Categories" in Customization of Transaction Type.
    1.Sales
    2.Service Process
    3.Business Activity
    Since "Sales" is the transaction category used in any business transaction to sell any kind of items. This is the reason why you are getting item details in your newly created transaction type.
    So Goto the customization of new transaction type that you have created and remove "Sales" transaction category under "Assignment of Business Transaction Categories", then try to create business transaction with that transaction type, you will not get any item details.
    <b>Reward points if it helps</b>
    Murali

  • Error when opening the file

    Hi all,
    we are sending the purchase orders from SAP to Third party system as file using IDOC to File scenario.
    In XI side successfully gone through in MDT also i didnt see any errors.
    But when we open the file in third party system its giving errors.
    Can anybody face this problem before please tell what cause the problem.
    the file is PurchaseOrder_20071730-121942-758.txt
    This is the time stamp in the file what time must be in MDT for this message because i didnt see any 12-19-42 time in MDT is there any time difference in the file and MDT if it is what time must i see it in MDT for identifying the message.
    Answer will be rewarded.
    Prasad.

    Hello Prasad,
    You can see the filename in MDT.
    In your reciever file adapter you will see theres a link below message id. click on that.
    new window will open . Click on the page down button you will see something like this..
    <i>2007-08-02 11:43:48 Success Write to file "
    10.1.1.35\xi_public\inbound\in20070802-114348-390.xml" as binary, size 460 bytes</i>
    Regards,
    Sumit

  • Error when opening the template in WAD

    Hi,
    When I am trying to open any of the existing templatein WAD it is giving me the error
    <b>Internal error:No tempalte property standard form
    Run time error '91'
    Object variable or with block variable not set</b>
    Thnaks
    Priya

    Hi,
    You can use the below given solution to avoid this problem:
    - After log-in to the Web Application Designer, choose the option "New" instead of "Open" option.
    - After the above step, choose the "Open" option to open the required web template
    Hope the above solution helps.
    Cheers
    Bala Koppuravuri

  • Error when opening the Add-Remove Descriptors dialog

    I've got the error message below when I am trying to open the Add-Remove Descriptors dialog. The problem appears suddenly from one day to another and I don't find the reason. It works in new projects, but does not work on my main project. Where should I find the reason?
    java.lang.NullPointerException
         at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseFileProvider.java:966)
         at oracle.jdeveloper.java.JavaManager.getSourceClass(JavaManager.java:705)
         at oracle.toplink.addin.utils.MWJDevUtils.isOnProjectSourcePath(MWJDevUtils.java:341)
         at oracle.toplink.addin.model.MWDescriptorChooserMetaClassRepository.buildListOfJavaClassNamesInJProject(MWDescriptorChooserMetaClassRepository.java:83)
         at oracle.toplink.addin.model.MWDescriptorChooserMetaClassRepository.refreshOn(MWDescriptorChooserMetaClassRepository.java:63)
         at oracle.toplink.addin.model.MWDescriptorChooserMetaClassRepository.<init>(MWDescriptorChooserMetaClassRepository.java:47)
         at oracle.toplink.addin.ui.action.project.AddRemoveTypeAction$1.<init>(AddRemoveTypeAction.java)
         at oracle.toplink.addin.ui.action.project.AddRemoveTypeAction.buildAvailableTypes(AddRemoveTypeAction.java:70)
         at oracle.toplink.addin.ui.action.project.AddRemoveTypeAction.execute(AddRemoveTypeAction.java:230)
         at oracle.toplink.tsceditor.ui.action.AbstractAction.executeImp(AbstractAction.java:129)
         at oracle.toplink.tsceditor.ui.action.AbstractAction.mav$executeImp(AbstractAction.java)
         at oracle.toplink.tsceditor.ui.action.AbstractAction$1.run(AbstractAction.java:112)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    I get the same error also, even when I create a new project. I found I can edit the files manually and use that as a work around, but it is incredible time consuming.

  • Error when opening the database with resetlogs

    ORA-00603: ORACLE SERVER SESSION TERMINATED BY FATAL ERROR
    WHEN I open the database with RESETLOGS

    Well you definitely need to post more information here.
    Looking at what you have posted, all that I can reply is
    ORA-00603: ORACLE server session terminated by fatal error
    Cause: An ORACLE server session is in an unrecoverable state.
    Action: Login to ORACLE again so a new server session will be created

  • Error when opening the PDF attachment

    Hi,
    We are able to successfully send the PDF attachment to external email id  from SAP SCRIPT:
    but when we are opening the PDF attachment we are getting the following error:
    "Adobe Reader could not open because it is not either a supported file type or the file has been damaged ..etc.."
    Is any logic need to write for the above or any parameters are missing .
    Can any one help...
    Thanks in advance.

    Hi Ramana,
                Just try below given example code.....In which I have just different function Module to convert from OFT to PDF....
       AT END OF VSTEL.
          IF R_EMAIL = 'X'.
    *--Opening Layout set for Printing
            PERFORM CLOSE_FORM.
           SELECT SINGLE SMTP_ADDR INTO V_EMAIL
           FROM ADR6
           WHERE ADDRNUMBER = T_ADRC-ADDRNUMBER.
            CLEAR T_LIPS.
            READ TABLE T_LIPS WITH KEY VBELN = T_LIKP-VBELN.
            CLEAR T_VBAK.
            READ TABLE T_VBAK WITH KEY VBELN = T_LIPS-VGBEL.
            CLEAR V_ADRNR.
            SELECT SINGLE ADRNR
            INTO V_ADRNR
            FROM T001
            WHERE  BUKRS = T_VBAK-BUKRS_VF.
            REFRESH T_CC_EMAIL.
            CLEAR T_CC_EMAIL.
            SELECT  SMTP_ADDR INTO TABLE T_CC_EMAIL
            FROM ADR6
            WHERE ADDRNUMBER = V_ADRNR.
         SELECT SINGLE smtp_addr
         INTO cc_email
         FROM adr6
         WHERE addrnumber = v_adrnr.
            IF T_TO_EMAIL[] IS INITIAL.
              CLEAR T_CC_EMAIL.
              REFRESH T_CC_EMAIL.
            ENDIF.
            PERFORM BUILD_PDF_DATA_TABLE.
    Populate message body text
            PERFORM POPULATE_EMAIL_MESSAGE_BODY.
            CONCATENATE  T_LIKP-VSTEL '-' 'Warehouse Release' INTO V_SUBJECT SEPARATED BY SPACE.
    Send file by email as .xls speadsheet
            PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
                                         TABLES IT_MESSAGE
                                                PT_CONTENTS_BIN       "LINES    "it_attach
                                          USING V_EMAIL
                                                V_SUBJECT
                                                'PDF'
                                                'Delivery'
                                                'Deliveries'
                                       CHANGING GD_ERROR
                                                GD_RECIEVER.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
            PERFORM INITIATE_MAIL_EXECUTE_PROGRAM.
          ENDIF.
        ENDAT.
    ***---/End by sagun
      ENDLOOP. "loop at t_likp.
    ***---/added by sagun 25.05.2007
      IF R_EMAIL = 'X'.
        WRITE /01 SY-ULINE(180).
        WRITE :/55 'End of Report'.
      ENDIF.
    ***---/end by sagun
    ENDFORM.                    " PRINT_DELIVERY
    *&      Form  close_form
          text
    -->  p1        text
    <--  p2        text
    FORM CLOSE_FORM .
      IF R_PRINT = 'X'.                   " added by sagun 24.05.2007
        CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
         EXCEPTIONS
           UNOPENED                       = 1
           BAD_PAGEFORMAT_FOR_PRINT       = 2
           SEND_ERROR                     = 3
           SPOOL_ERROR                    = 4
           CODEPAGE                       = 5
           OTHERS                         = 6
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.                             " added by sagun 24.05.2007
      IF R_EMAIL = 'X'.
    *otf_table  like itcoo occurs 0 with header line
        CALL FUNCTION 'CLOSE_FORM'
         IMPORTING
           RESULT   = .
             TABLES
               OTFDATA  = HOTFDATA
             EXCEPTIONS
               UNOPENED = 3.
      ENDIF.
    ENDFORM.                    " close_form
    *&      Form  BUILD_PDF_DATA_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_PDF_DATA_TABLE .
      DATA :  LC_FORMAT(3) TYPE C VALUE 'PDF'.
    DATA: lt_tline TYPE tp_tline_standard_table,
      DATA :  L_BIN_FILESIZE TYPE I,
              PC_CONTENTS_BIN_LINES TYPE I.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = LC_FORMAT
        IMPORTING
          BIN_FILESIZE          = L_BIN_FILESIZE
        TABLES
          OTF                   = HOTFDATA
          LINES                 = LINES
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'QCE1_CONVERT'
          TABLES
            T_SOURCE_TAB         = LINES
            T_TARGET_TAB         = PT_CONTENTS_BIN
          EXCEPTIONS
            CONVERT_NOT_POSSIBLE = 1
            OTHERS               = 2.
        IF SY-SUBRC = 0.
          DESCRIBE TABLE PT_CONTENTS_BIN LINES PC_CONTENTS_BIN_LINES.
        ELSE.
    ... -->
        ENDIF.
      ELSE.
    An OTF conversion error occured
    -->
      ENDIF.
    ENDFORM.                    " BUILD_PDF_DATA_TABLE
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
          text
    -->  p1        text
    <--  p2        text
    FORM POPULATE_EMAIL_MESSAGE_BODY .
      REFRESH IT_MESSAGE.
      IT_MESSAGE = 'Please find enclosed here with our Warehouse Release Document(s)'.
      APPEND IT_MESSAGE.
      CLEAR IT_MESSAGE.
      APPEND IT_MESSAGE.
      APPEND IT_MESSAGE.
      APPEND IT_MESSAGE.
      APPEND IT_MESSAGE.
      IT_MESSAGE = 'For United Phosphorous Inc.'.
      APPEND IT_MESSAGE.
      CLEAR IT_MESSAGE.
    APPEND it_message.
    APPEND it_message.
    APPEND it_message.
      IT_MESSAGE = 'TEST EMAIL from 520 clinet please ignore it'.
      APPEND IT_MESSAGE.
    ENDFORM.                    " POPULATE_EMAIL_MESSAGE_BODY
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          text
         -->PIT_MESSAGE  text
         -->PIT_ATTACH  text
         -->P_EMAIL  text
         -->P_MTITLE  text
         -->P_FORMAT   text
         -->P_FILENAME   text
         -->P_ATTDESCRIPTION   text
         -->P_SENDER_ADDRESS   text
         -->P_SENDER_ADDRES_TYPE   text
         <--P_ERROR  text
         <--P_RECIEVER  text
    FORM SEND_FILE_AS_EMAIL_ATTACHMENT  TABLES    PIT_MESSAGE
                                                  PIT_ATTACH
                                            USING P_EMAIL
                                                  P_MTITLE
                                                  P_FORMAT
                                                  P_FILENAME
                                                  P_ATTDESCRIPTION
                                                  P_SENDER_ADDRESS
                                                  P_SENDER_ADDRES_TYPE
                                         CHANGING P_ERROR
                                                  P_RECIEVER.
      DATA: LD_ERROR    TYPE SY-SUBRC,
           ld_reciever TYPE sy-subrc,...
             LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
             LD_EMAIL LIKE  SOMLRECI1-RECEIVER,
             LD_FORMAT TYPE  SO_OBJ_TP ,
             LD_ATTDESCRIPTION TYPE  SO_OBJ_NAM ,
             LD_ATTFILENAME TYPE  SO_OBJ_DES ,
             LD_SENDER_ADDRESS LIKE  SOEXTRECI1-RECEIVER,
             LD_SENDER_ADDRESS_TYPE LIKE  SOEXTRECI1-ADR_TYP,
             LD_RECEIVER LIKE  SY-SUBRC.
    p_filename  = 'INVOICE'.
      LD_EMAIL   = P_EMAIL.
      LD_MTITLE = P_MTITLE.
      LD_FORMAT              = P_FORMAT.
      LD_ATTDESCRIPTION      = P_ATTDESCRIPTION.
      LD_ATTFILENAME         = P_FILENAME.
      LD_SENDER_ADDRESS      = P_SENDER_ADDRESS.
      LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
    Fill the document data.
      W_DOC_DATA-DOC_SIZE = 1.
    Populate the subject/generic message attributes
      W_DOC_DATA-OBJ_LANGU = SY-LANGU.
      W_DOC_DATA-OBJ_NAME  = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
      W_DOC_DATA-SENSITIVTY = 'F'.
    Fill the document data and get size of attachment
      CLEAR W_DOC_DATA.
      READ TABLE PIT_ATTACH INDEX W_CNT.
      W_DOC_DATA-DOC_SIZE =
         ( W_CNT - 1 ) * 255 + STRLEN( PIT_ATTACH ).
      W_DOC_DATA-OBJ_LANGU  = SY-LANGU.
      W_DOC_DATA-OBJ_NAME   = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR  = LD_MTITLE.
      W_DOC_DATA-SENSITIVTY = 'F'.
      CLEAR T_ATTACHMENT.
      REFRESH T_ATTACHMENT.
      T_ATTACHMENT[] = PIT_ATTACH[].
    Describe the body of the message
      CLEAR T_PACKING_LIST.
      REFRESH T_PACKING_LIST.
      T_PACKING_LIST-TRANSF_BIN = SPACE.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM = 0.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE = 'RAW'.
      APPEND T_PACKING_LIST.
    Create attachment notification
      T_PACKING_LIST-TRANSF_BIN = 'X'.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM   = 1.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE   =  LD_FORMAT.
      T_PACKING_LIST-OBJ_DESCR  =  LD_ATTDESCRIPTION.
      T_PACKING_LIST-OBJ_NAME   =  LD_ATTFILENAME.
      T_PACKING_LIST-DOC_SIZE   =  T_PACKING_LIST-BODY_NUM * 255.
      APPEND T_PACKING_LIST.
    Add the recipients email address
      CLEAR T_RECEIVERS.
      REFRESH T_RECEIVERS.
      LOOP AT T_TO_EMAIL WHERE EMAIL <> SPACE.
        CLEAR T_RECEIVERS.
        T_RECEIVERS-RECEIVER = T_TO_EMAIL-EMAIL.
        T_RECEIVERS-REC_TYPE = 'U'.
        T_RECEIVERS-COM_TYPE = 'INT'.
        T_RECEIVERS-NOTIF_DEL = 'X'.
        T_RECEIVERS-NOTIF_NDEL = 'X'.
        APPEND T_RECEIVERS.
        CLEAR T_RECEIVERS.
      ENDLOOP.
    copy email address
      CLEAR T_RECEIVERS.
      IF NOT T_RECEIVERS[] IS INITIAL.
        LOOP AT T_CC_EMAIL.
          T_RECEIVERS-RECEIVER = T_CC_EMAIL-EMAIL.
          T_RECEIVERS-REC_TYPE = 'U'.
          T_RECEIVERS-COM_TYPE = 'INT'.
    t_receivers-notif_del = 'X'.
    t_receivers-notif_ndel = 'X'.
          T_RECEIVERS-COPY       = 'X'.
          APPEND T_RECEIVERS.
          CLEAR T_RECEIVERS.
        ENDLOOP.
      ENDIF.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = W_DOC_DATA
          PUT_IN_OUTBOX              = 'X'
          SENDER_ADDRESS             = LD_SENDER_ADDRESS
          SENDER_ADDRESS_TYPE        = LD_SENDER_ADDRESS_TYPE
          COMMIT_WORK                = 'X'
        IMPORTING
          SENT_TO_ALL                = W_SENT_ALL
        TABLES
          PACKING_LIST               = T_PACKING_LIST
          CONTENTS_BIN               = T_ATTACHMENT
          CONTENTS_TXT               = IT_MESSAGE
          RECEIVERS                  = T_RECEIVERS
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
    Populate zerror return code
      LD_ERROR = SY-SUBRC.
    Populate zreceiver return code
    LOOP AT t_receivers.
       ld_receiver = t_receivers-retrn_code.
    ENDLOOP.
      IF SY-SUBRC = 0.
        FORMAT COLOR COL_NORMAL ON.
        LOOP AT T_LOG.
          WRITE :/03 T_LOG-VBELN,
                  19 SY-VLINE,
                  20 T_LOG-KUNNR,
                  34 SY-VLINE,
                  35 T_LOG-NAME1,
                  76 SY-VLINE,
                  77 T_LOG-EMAIL,
                  110 SY-VLINE,
                  111 'Email Sent Successfuly',
                  180 SY-VLINE.
        ENDLOOP . "t_log
        FORMAT COLOR COL_NORMAL OFF.
        CLEAR T_LOG.
        REFRESH T_LOG.
      ENDIF.
      IF SY-SUBRC NE 0.
        CASE LD_ERROR.
          WHEN   1.
            V_ERROR =  'too_many_receivers' .
          WHEN   2.
            V_ERROR =  'Email address not found in Customer Master' .
          WHEN   3.
            V_ERROR =  'document_type_not_exist'.
          WHEN   4.
            V_ERROR =  'operation_no_authorization'.
          WHEN   5.
            V_ERROR =  'Email address not found in Customer Master'.
          WHEN   6.
            V_ERROR =   'x_error'.
          WHEN   7.
            V_ERROR =   'enqueue_error'.
          WHEN   8.
            V_ERROR =   'Error in sending email' .
        ENDCASE.
        FORMAT COLOR COL_NEGATIVE ON.
        LOOP AT T_LOG.
          WRITE :/03 T_LOG-VBELN,
             19 SY-VLINE,
             20 T_LOG-KUNNR,
             34 SY-VLINE,
             35 T_LOG-NAME1,
             76 SY-VLINE,
             77 T_LOG-EMAIL,
             110 SY-VLINE,
             111 V_ERROR,
             180 SY-VLINE.
        ENDLOOP . "t_log
        FORMAT COLOR COL_NEGATIVE OFF.
        CLEAR T_LOG.
        REFRESH T_LOG.
      ENDIF.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          text
    -->  p1        text
    <--  p2        text
    FORM INITIATE_MAIL_EXECUTE_PROGRAM .
      WAIT UP TO 2 SECONDS.
      SUBMIT RSCONN01 WITH MODE = 'INT'
                    WITH OUTPUT = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    Reward Point If it usefull....
    Cheers,
    Sagun Desai....

  • MDG-F: Error when opening the Change Request

    Hi MDG Experts
    In MDG-Finance, when i'm opening the Change Request (CR Type: 0G_S002), to "finalize processing", i get this error message: "Object ID 060822EA65231EE3A7DB2A05A0AB8E61 is not valid". As a result the single processing option does not pull the master record that was added in the Create Change Request option for submitting for approval.
    I'm not sure what this error is and how to resolve it.
    Seeking your help.
    Thanks in advance.
    Regards
    Neelesh

    Hi Kiran
    Thanks for your prompt response. The entity search option that you mentions works successfully.
    However, in case of manual replication, i'm still facing a challenge.
    After executing the Manual replication option, the data isn't getting replicated to back-end ECC. Infact, in DRFLOG, the log is all green for "Process Outbound implementation GL Master Idoc (1012)".
    Am i missing something here ?
    Regards
    Neelesh

Maybe you are looking for