‎2007 Mar 22 5:28 AM
Hi,
We are using a FM 'NUMBER_GET_NEXT' to get the Report ID which assigns next free number. This FM has a system call THNOGET (given below) which gives sy-subrc equal to 4 if the client is 030 and sysubrc 0 if the client is 100. Apart from the client value, all the other parameters are same in the runtime.
call 'ThNoGet' id 'BNRIV' field bnriv
id 'NO' field g_noivbuffer
id 'QUAN' field p_quantity
id 'PERCENT' field tnro-percentage
id 'NONRSWAP' field tnro-nonrswap.
The input values for this call are same for both the clients i.e. BNRIV.
For BNRIV: 100 works fine sy-subrc = 0
For BNRIV: 030 raises a message sy-subrc = 4.
We want this call to work properly for the client 030 to create a report. Any pointers or reasons for this problem will be of great helpful.
Regards,
Lavanya.
‎2007 Mar 22 6:00 AM
Hi,
The scenario what i can assess is you have created the Number Range Object and its Interval in Client 030 and the running number is getting generated in that client . now you have transported the Number Range to Client to 100 where the Running number is not getting generated.
If that is the case, you will have to created the Interval manually in each and every client and system that you transport because Intervals cannot be transported.
regards,
Mahesh
‎2007 Mar 22 6:00 AM
Hi,
The scenario what i can assess is you have created the Number Range Object and its Interval in Client 030 and the running number is getting generated in that client . now you have transported the Number Range to Client to 100 where the Running number is not getting generated.
If that is the case, you will have to created the Interval manually in each and every client and system that you transport because Intervals cannot be transported.
regards,
Mahesh
‎2007 May 30 8:57 AM
Hello Ramakrishnan,
I need your help. i have the similar problem.
its like i am trying to attach some document from presentation server to some business object in client 390 but its not storing the attachment. its so because when the FM get_next_number is triggered its giving the next number which already exists because of which i am unable to insert the record in SOOD table.
this is happenning because some attachments were moved from client 290 to 390 which but not through the process but they moved the Transports of the attachments.
as you said we need to change the interval mannually can you please elobarate the Tcodes/Tables in which we need to change the interval.
Please help me.
Regards,
Ravi