Skip to Content
author's profile photo Former Member
Former Member

FB MSS_GET_BACKUP_HIST

Hi, i got a basic ABAP Problem here,


types backset      TYPE MSQBACKSET.
data backset_wa TYPE TABLE OF MSQBACKSET.


CALL FUNCTION 'MSS_GET_BACKUP_HIST'
EXPORTING
DCODE = 1
BKPERIOD = 14
CON_NAME = WA_MANDANTEN-mandant
* SCHEMA = ''
TABLES
BACKUP_HIST = backset_wa
* EXCEPTIONS
* DB_ERROR = 1
* INTERNAL_ERROR = 2
* CONNECT_ERROR = 3
* NOT_RUNNING_ON_MSSQL = 4
* OTHERS = 5
.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

My Problem here ist that the Export of the Struckture BACKUP_HIST is not Possible in backset_wa, because of a type conflikt.

BACKUP_HIST is LIKE MSQBACKSET

and MSQBACKSET is a Strukture.

how do i define backset_wa right? so that i dont get a typeconflikt dump here.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2014 at 01:05 PM

    Hi Tobias,

    Your BACKUP_HIST declaration is correct. It should not give Type Conflict. I tried your code in my server also and it is not giving any dump for Type Conflict.

    Are you sure, you are getting dump because of Type Conflict and for BACKUP_HIST only?

    Have you checked CON_NAME declaration. If WA_MANDANTEN-mandant is of correct type.

    Regards,

    Jyoti Singh

    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.