7 Replies Latest reply on Feb 16, 2021 9:45 PM by Jharana Patra

    Unable to write IDOC to SAP System.

    Nishi Shah New Member

      I am not receiving any transaction Id from SAP while connecting from IICS

       

      Transaction ID for the current packet received from SAP is [].

       

      New transaction ID [] created for sending ALE IDoc packet with initial state [CREATED].

      Properties Set for Idoc Writing

        • 1. Re: Transaction ID for the current packet received from SAP is [].
          Akshaye Shreenithi Kirupa Guru

          Hi NIshi

           

          Can you please confirm which SAP type connection are you using? Please see if you can share the session log of the task to look into this further.

          • 2. Re: Transaction ID for the current packet received from SAP is [].
            Nishi Shah New Member

            Hi Akshaye,

             

            Its Idoc Writer Connection. Please find below logs

             

             

             

             

            Thanks,

            Nishi Shah

            • 3. Re: Transaction ID for the current packet received from SAP is [].
              Nishi Shah New Member

              HI,

               

               

              I have scenario wherein I have to read a file and send it to SAP as an IDOC.
                When sending to SAP as an IDOC, I am using SAP Connection Type as 'iDoc Writer'
                While executing task flow in data integration, my process keeps on running and below are the entries from logs, I dont see any IDOC in SAP.
                Can you please help, what am i missing.

               

               

              WRT_8036 Target: IDoc_Writer_Object::Group1: Partition 1 (Instance Name: [IDoc_Writer_Object])
                WRT_8038 Inserted rows - Requested: 4 Applied: 4 Rejected: 0 Affected: 4 

               

               

              WRT_8036 Target: _096_erroridoc_csv (Instance Name: [_096_erroridoc_csv])
                WRT_8044 No data loaded for this target

               

               


                WRITER_1_*_1> WRT_8168 [2021-02-04 16:57:11.717] End loading table [IDoc_Writer_Object::Group1: Partition 1] at: Thu Feb 04 16:57:11 2021
                WRITER_1_*_1> WRT_8168 [2021-02-04 16:57:11.717] End loading table [_096_erroridoc_csv] at: Thu Feb 04 16:57:11 2021
                WRITER_1_*_1> DBG_21318 [2021-02-04 16:57:11.717] Load Completed for Load Order Group [1]
                WRITER_1_*_1> CMN_65059 [2021-02-04 16:57:11.717] State file [/software/ICSA/apps/Data_Integration_Server/data/pmgmd_sessionstats_s_mtt_001Y8Y0Z0000000001J9_0_0_0_0_0_0_1_1.dat] opened for cache type [9].
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.717] Metadata file updated: File [Added].
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.718] Metadata file updated: File [Deleted].
                WRITER_1_*_1> CMN_65058 [2021-02-04 16:57:11.718] [Reader]:Latest checkpoint [1] dropped
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.718] Metadata file updated: File [Deleted].
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.718] Metadata file updated: File [Deleted].
                WRITER_1_*_1> CMN_65058 [2021-02-04 16:57:11.718] [Transformation]:Latest checkpoint [1] dropped
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.718] Metadata file updated: File [Deleted].
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.718] Metadata file updated: File [Deleted].
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.718] Metadata file updated: File [Deleted].
                WRITER_1_*_1> CMN_65061 [2021-02-04 16:57:11.718] Metadata file updated: File [Deleted].
                WRITER_1_*_1> CMN_65058 [2021-02-04 16:57:11.718] [Mapping Variable State]:Latest checkpoint [1] dropped
                WRITER_1_*_1> IDocWriter_17629 [2021-02-04 16:57:11.718] [INFO] No transaction ID available from previous transaction. A new transaction ID will be created and used for this transaction.

               

               

              WRITER_1_*_1> IDocWriter_17630 [2021-02-04 16:57:11.718] [INFO] Transaction ID for the current packet received from SAP is [].

               

               

              WRITER_1_*_1> IDocWriter_17631 [2021-02-04 16:57:11.718] [INFO] New transaction ID [] created for sending ALE IDoc packet with initial state [CREATED].

               

              Thanks,
              Nishi Shah
              • 4. Re: Transaction ID for the current packet received from SAP is [].
                Jharana Patra Guru

                Hi Nishi,

                 

                Please run the mapping task in verbose mode to check where the data is missing and till its getting processed.

                and share the whole session log .

                 

                You can refer the below guide on idoc connection:

                 

                https://docs.informatica.com/integration-cloud/cloud-platform/current-version/rest-api-reference/data-integration-rest-api/connection/sap-idoc-writer-connections.html

                 

                Creating an SAP IDoc Writer or SAP RFC/BAPI interface connection

                 

                The data can be missed at one of the transformation level which need to be checked.

                • 5. Re: Transaction ID for the current packet received from SAP is [].
                  Nishi Shah New Member

                  Hi Jharana,

                   

                  Please find the file attached.

                  • 6. Re: Unable to write IDOC to SAP System.
                    Rakshitha K. R. Guru

                    Hi Nishi,

                     

                     

                     

                    What is the source you are using?

                     

                    Are you able to see any IDOC coming as Inbound to SAP system ? Use transaction We02.

                     

                     

                     

                     

                     

                    Kind regards,

                     

                    Rakshitha

                    • 7. Re: Unable to write IDOC to SAP System.
                      Jharana Patra Guru

                      Hi Nishi,

                       

                      Upon going through the logs could see IDOC writer was processed:

                      Below is the sample log :

                       

                       

                      IDoc_Writer_Object:Exchange: Rowdata: ( RowType=0(insert) Src Rowid=2 Targ Rowid=2

                        IDocData (IDocData:UniChar.1100:): "E2LIPM0                          000000000000000100000100000002                                                                2100                                                                                                                            (DISPLAY TRUNCATED)"

                      )

                       

                       

                      IDoc_Writer_Object:Exchange: Rowdata: ( RowType=0(insert) Src Rowid=3 Targ Rowid=3

                        IDocData (IDocData:UniChar.1100:): "E2LIPV0                          000000000000000100000200000103777                                                                                                                                                                                             (DISPLAY TRUNCATED)"

                      )

                       

                      Please try as suggested by Rakshitha ,if still the issue persists ,please open a cloud support ticket to verify in-detail.