Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Query: Error when generating transport dataset

Former Member
0 Likes
1,777

Hi All,

We have some queries in system 4.6 we need them in ECC6.0.

We are using program RSAQR3TR to download and upload the queries (Client specific requirement).

I am able to download Usergroup, Infoset & Queries.

When I was uploading into ECC6.0 I was able to import the User Group.

But couldnu2019t import the InfoSet it is showing that u201CError when generating transport datasetu201D.

While downloading the user Group, Infoset & Query, I have an used all the options REPLACE, MERGE, GROUP=ug & UNASSIGN. But couldnu2019t help me out.

Please suggest me how to import the infoset and query.

Thanks,

M Hemanth Kumar.

6 REPLIES 6
Read only

Former Member
0 Likes
981

Is this so complicated ?

Read only

Former Member
0 Likes
981

I have checked in SDN and debugged standard program RSAQR3TR. But couldnu2019t help me out. So, please help me.

Read only

0 Likes
981

I gave a reply to the same question here . Not sure if you are related to that OP. Anyways did you try what i suggested?

Vikranth

Read only

Former Member
0 Likes
981

Hi Vikranth,

Yes, i gone through your answer. that is the reason I have debugged the program RSAQR3TR.

But I couldn't noticed any sy-subrc fail (one sy-subrc is failed, as it was related to whether the infoset is exist or not).

There is a IF condition after the function module TRINT_GET_NAMESPACE.

The condition is IF EV_NAMESPACE CA '*'.

Here ev_namespace having the value is /0SAP/.

so it is going to the below perfom.

PERFORM GET_ROLE_OF_NAMESPACE USING EV_NAMESPACE

CHANGING EV_ROLE.

GET_ROLE_OF_NAMESPACE in this form. there is a function module "TRINT_READ_NAMESPACE".

the above function module is returning the ls_namespace_info.

the value role assigning to PV_Role.

pv_role = ls_namespace_info-role.

after that it is showing that "F Error when generating transport dataset".

Thanks,

M Hemanth Kumar

Read only

0 Likes
981

Ok fine. I debugged the program RSAQR3TR again for you.


  when 'UPLO'.
    perform in_qu.
    if rcode = ret_file.
      exit.
    endif.

In the above code snippet put a break point on perform in_qu and let me know if the program control goes into the perform in_qu and check the conditions in it.

Vikranth

Read only

Former Member
0 Likes
981

Hi Vikranth,

Thanks a lot for the debugging.

But, the control didn't reach the place which you have mentioned.

I tried downloading an existing infoset and uploaded the same.

The only place where the difference is FM: "RSAQ_IMPORT_INFOSET" for the existing infoset there is no error in this function module. But, in the infoset which i am trying to upload newly this function module fails saying "No Infoset found".

Can you please help me to solve this or provide me an alternative(Except TR) way to do the same.

Thanks,

M Hemanth Kumar.