Skip to Content

Sap Archiving u0096 STO error on version ECC 6.0

Hi experts. I take a long of time with this error and I hope that you can help me. Explain the program.

We have a archiving project of no standard objects. This objects run on Sap version 4.6C, but now, on version ECC 6.0, the Store program give a execution error. The log of the STO Job on Sara transaction is the follow:

Job started

Step 001 started (program RSARCH_STORE_FILE, variant , user ID ARUIZ)

Archive file 000241-001ZIECI_RF02 is being processed

Archive file 000241-001ZIECI_RF02 does not exist (Message no. BA111)

Error occured when checking the stored archive file 000241-001ZIECI_RF02 (Message no. BA194)

Job cancelled after system exception ERROR_MESSAGE (Message no. 00564)

The Write and Delete programs runs correctly.

A strandar Archiving Object like FI_TCJ_DOC runs Ok (WRI, DEL and STO programs). The customazing for both objects are nearly on OAC0, FILE transactions. The changes are on Sap Directories. Write for you the most important customazing actions:

Transaction: FILE

ZIECI_RF02 (No Standard)

Logical File Path --> ZZA_ARCHIVE_GLOBAL_PATH

Physical Path --> /usr/sap/CX6/ADK/files/ZA/<FILENAME>

Logical File Name Definition -->

ZZA_ARCHIVE_DATA_FILE_ZIECI_RF02

FI_TCJ_DOC (Standard)

Logical File Path --> ARCHIVE_GLOBAL_PATH

Physical Path --> <P=DIR_GLOBAL>/<FILENAME>

Logical File Name Definition --> ARCHIVE_DATA_FILE

Transaction: AOBJ

Customazing settings:

ZIECI_RF02

Logical File Name --> ZZA_ARCHIVE_DATA_FILE_ZIECI_RF02

FI_TCJ_DOC (Standard)

Logical File Name --> ARCHIVE_DATA_FILE

I prove to put in own archiving object (ZIECI_RF02) the logical file name -> ARCHIVE_DATA_FILE too and the error go on.

In the others parameters the values for both objects are:

Delete Jobs: Start Automatically

Content Repository: ZA (Start Automatically)

Sequence: Delete Before Storing

I see the point of the storing STO program (RSARCH_STORE_FILE) where own archiving failed. I made a program with the function and debbuging this can see the next:

REPORT zarm_06_prueba_http_archivado.

DATA: LENGTH TYPE I,

T_DATA TYPE table of TABL1024.

BREAK ARUIZ.

CALL FUNCTION 'SCMS_HTTP_GET'

EXPORTING

mandt = '100'

crep_id = 'ZA'

doc_id = '47AAF406C02F6C49E1000000805A00A9'

comp_id = 'data'

offset = 0

length = 4096

IMPORTING

length = length

TABLES

data = t_data

EXCEPTIONS

bad_request = 1

unauthorized = 2

not_found = 3

conflict = 4

internal_server_error = 5

error_http = 6

error_url = 7

error_signature = 8

OTHERS = 9.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

If execute the program, SAP returns the next error:

Error in HTTP Access: IF_HTTP_CLIENT -> RECEIVE 1

The sy-subrc variable value is 6 -> error_http

The call of the method is the follow:

call method http_client->receive

exceptions

http_communication_failure = 1

http_invalid_state = 2

others = 3

sy-subrc value is 1 -> http_communication_failure

The unusual of the case are that the Archiving Objects work on SAP 4.6C perfectly,

furthermore on version ECC 6.0 the standard and no standard objects uses Sap Content Server with the same connection (HTTP), IP, PORT and Repository.

I hope that anypeople can help me. A lot of thanks for your time.

Best Regards.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 11:30 PM

    Did you run write, delete jobs for ZIECI_RF02 after changing the logical file name to ARCHIVE_DATA_FILE or just the store job?

    Did you check if the file 000241-001ZIECI_RF02 is available at the location /usr/sap/CX6/ADK/files/ZA/ ?

    What is the path specified for ZA in TA: OAC0?

    Please get back with the answers to above questions and I will see if I can help you to solve the issue.

    -Samanjay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 10, 2008 at 11:14 AM

    Hi Samanjay.

    Answer your questions:

    1) I proved the archiving from Sara with the Object ZIECI_RF02 with both customazings. The Stored program fail with logical file name = ZZA_ARCHIVE_DATA_FILE_ZIECI_RF02 and logical file name = ARCHIVE_DATA_FILE (Example at answer 2).

    2) AL11 Transaction (Sap Directories):

    /usr/sap/CX6/ADK/files/ZA/

    cx6adm 09.04.2008 18:02:15 ZIECI_RF02_20080409.180215.ARUIZ

    This is the Fich from ZIECI_RF02 on AL11. I prove this yesterday. The variable name: 000241-001ZIECI_RF02 is the generate to save the fich on repository ZA. In this case the variable name is: 000342-001ZIECI_RF02. Can view this with the table ADMI_FILES on TA SE11.

    Entries on ADMI_FILES with create date = 09.04.2008

    DOCUMENT: 342

    ARCHIV KEY: 000342-001ZIECI_RF02

    CREAT DATE: 09.04.2008

    CREAT TIME : 18:18:28

    OBJ COUNT: 1

    FILENAME: ZIECI_RF02_20080409.18182

    STATUS OPT: Not Stored

    STATUS FIL: Archiving Completed

    PATHINTERN: ZZA_ARCHIVE_GLOBAL_PATH

    CREP:

    ARCH DOCID:

    Now, I put the same information from FI_TCJ_DOC (Standard Object):

    AL11 Transaction (Sap Directories):

    /usr/sap/CX6/SYS/global

    cx6adm 10.04.2008 11:24:15 FI_FI_TCJ_DOC_20080410_112409_0.ARCHIVE

    Entries on ADMI_FILES with create date = 10.04.2008

    DOCUMENT: 343

    ARCHIV KEY: 000343-001FI_TCJ_DOC

    CREAT DATE: 10.04.2008

    CREAT TIME: 11:24:09

    OBJ COUNT: 2

    FILENAME: FI_FI_TCJ_DOC_20080410_112409_0.ARCHI

    STATUS OPT: Stored

    STATUS FIL: Archiving Completed

    PATHINTERN: ARCHIVE_GLOBAL_PATH

    CREP: ZA

    ARCH DOCID: 47FD890364131EABE1000000805A00A9

    Finally, made the example with Archiving Object ZIECI_RF02, but assigning the standard logical file.

    AOBJ (Customazing settings):

    Object Name: ZIECI_RF02 Archivado de datos: Facturas de Baja

    Logical File Name: ARCHIVE_DATA_FILE

    Now, execute the archiving at SARA transaction.

    AL11 Transaction (Sap Directories):

    /usr/sap/CX6/SYS/global

    cx6adm 10.04.2008 12:33:25 FI_ZIECI_RF02_20080410_123324_0.ARCHIVE

    Entries on ADMI_FILES with create date = 10.04.2008

    DOCUMENT: 345

    ARCHIV KEY: 000345-001ZIECI_RF02

    CREAT DATE: 10.04.2008

    CREAT TIME: 12:33:24

    OBJ COUNT: 1

    FILENAME: FI_ZIECI_RF02_20080410_123324_0.ARCHIVE

    STATUS OPT: Not Stored

    STATUS FIL: Archiving Completed

    PATHINTERN: ARCHIVE_GLOBAL_PATH

    CREP:

    ARCH DOCID:

    It´s that the unusual. At first, I thought that´s the problem was the directory of SAP, but with this proof I looked a new error reason.

    3) The details of repository ZA are:

    Content Rep: ZA

    Description: Document Area

    Document Area: Data Archiving

    Storage type: HTTP Content Server

    Version no: 0046 Content Server version 4.6

    HTTP server: 128.90.21.59

    Port Number: 1090

    HTTP Script: ContentServer/ContentServer.dll

    Phys. Path: /usr/sap/CX6/SYS/global/

    Too much thanks for your answer and your time. If you have any doubt, question me.

    Best regards.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Did u try running the store job for the archive file FI_ZIECI_RF02_20080410_123324_0.ARCHIVE ? Did it succeed or fail? If it failed please provide the information from job log & spool.

      Have your basis team check the file permissions for /usr/sap/CX6/ADK/files/ZA/ ? Does it have same permissions as /usr/sap/CX6/SYS/global ?

      -Samanjay

  • Posted on Apr 10, 2008 at 04:05 PM

    Hi Samanjay.

    From the archive FI_ZIECI_RF02_20080410_123324_0.ARCHIVE the error is the same that always appairs for owner Objects:

    Sara Transaction (Log for STO Program)

    Job started

    Step 001 started (program RSARCH_STORE_FILE, variant , user ID ARUIZ)

    Archive file 000345-001ZIECI_RF02 is being processed (BA 165)

    Archive file 000345-001ZIECI_RF02 does not exist (BA 111)

    Error occured when checking the stored archive file 000345-001ZIECI_RF02 (BA 194)

    Job cancelled after system exception ERROR_MESSAGE (00 564)

    For this reason, it´s unusual, that the system return a error (Archive file 000345-001ZIECI_RF02 does not exist), because a fich of strandard Archiving Object is in the same directory and have the same nomenclature.

    The verification of the permissions was made a month ago, because I thought that it, was a possible cause of the error, but my user have permissions for the two directories, however if I not have permission on /usr/sap/CX6/SYS/global, I can´t archive the standard´s Object. I know that´s an unusual case, I was made a lot of proofs to solve the problemÂ…but at the moment, go on.

    Too much thanks another time Samanjay.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 15, 2008 at 03:25 PM

    Any idea for this problem??

    Too much thanks.

    Best Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 21, 2008 at 11:05 AM

    I read in another post a possible verification with the file to archive.

    In the Management option of SARA transaction. I can view the next info in one of my file´s not stored:

    Archive File 000340-001ZIECI_RF02

    Date 09.04.2008

    Time 17:50:00

    Number of Objects 1

    Size in MB 0,003

    Status Deletion Completed

    Storage System Not Stored

    Index Index created

    Notes

    File Name XF_ZIECI_RF02_20080409_175000_0.ARCHIVE

    Logical Path ARCHIVE_GLOBAL_PATH

    Physical File Name /usr/sap/CX6/SYS/global/XF_ZIECI_RF02_20080409_175000_0.ARCH

    Archive File Is Accessible

    The last text "Archive File is Accesible" appear with a green semaphore. How can appear this accesible text and made the store job the text "Archive file 000340-001ZIECI_RF02 does not exist"?

    Thanks any time for your time, i hope that made to me any idea for the problem because i make a pile of proves.

    Best Regards.

    Edited by: Leo Moreira on May 21, 2008 1:06 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2008 at 09:43 AM

    Solved.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2014 at 01:22 PM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2016 at 12:52 PM

    Hello,

    It is realy very sad that you don't share the solution.

    Best Regards,

    GP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.