Application Development 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: 

Problem in PROCESS_SERIALS_FOR_PRINT for multiple number printing

Former Member
0 Kudos

Hi,

For the SD delivery serial number printing FM PROCESS_SERIALS_FOR_PRINT is use this take input in serial number table as Delivery number , POSNR and serial number and with this input tables it gives the output in std. program of delivery slip print out this FM works properly but same when i am testing in SE37 directly for singlw serial number RFC works OK

means when i PASS

VBELN POSNR SERNR

3033338 000010 9081045

IT WORKS ok but when i am passing multiple no. it is giving run time error

VBELN POSNR SERNR

3033338 000010 9081045

3033338 000010 9081047

then it is giving run time error as below

Runtime Errors PERFORM_CONFLICT_TYPE

Except. CX_SY_DYN_CALL_ILLEGAL_TYPE

Date and Time 04.09.2010 11:38:27

Short text

Type conflict when calling a FORM.

can you help on this issue.

regards,

zafar

19 REPLIES 19

Former Member
0 Kudos

Hi,

Can you help on this issue.

regards,

zafar

0 Kudos

OK

0 Kudos

Hi,

Can you help on this issue.

regards,

zafar

Former Member
0 Kudos

Hi Zafar,

In the standard program RVADDN01 form routine get_serial_no, SAP has called the FM SERIAL_LS_PRINT before the call for this FM.

Probably you can try the same in your case and also check the parameters passed.

Hope it helps.

Sujay

0 Kudos

Hi Sujay,

Thanks for your reply, the FM SERIAL_LS_PRINT is paasing a table to the FM PROCESS_SERIALS_FOR_PRINT and same i am passing in my new FM but it works for single material only as i given details above.

regards,

zafar

Former Member
0 Kudos

Hi Zafar,

Can you provide the parameters you are passing to the function module? The standard programs all use the same function module. So, I doubt it is because of the parameters.

Sujay

Former Member
0 Kudos

Hi,

declare the structure same as RISERLS.

and please give the parameters ur passing as from your question ur providing the same delivery and item with diffrent serial numbers. jus try with 2 diffrent item numbers.

0 Kudos

Hi all,

I try with different number to, but not got the solution find below the parameter by which first I am gettin result OK by passing only one number.

********************************************************

I_BOUNDARY_LEFT (_

I_BOUNDARY_RIGHT _)

I_SEP_CHAR_STRINGS ,_

I_SEP_CHAR_INTERVAL -

I_USE_INTERVAL X

I_BOUNDARY_METHOD C

I_LINE_LENGTH 50

I_NO_ZERO X

I_ALPHABET SY-ABCDE

I_DIGITS 0123456789

I_SPECIAL_CHARS -

I_WITH_SECOND_DIGIT

TABLES

SERIALS 1 Entry

SERIALS_PRINT 0 Entries

table entry

VBELN POSNR SERNR

3033338 000010 9081045

*******************from above code result comes OK as below

SNRLN

( 9081045 )

but be keeping all import parameter same I have pass table with multiple serial number for same material the table is as below

VBELN POSNR SERNR

3033373 000010 81112666

3033373 000010 81112667

3033373 000010 81112668

3033373 000010 81112669

3033373 000010 81112670

after passing this table I am getting run time error as I mention above.

regards,

zafar

0 Kudos

Hi,

You need not pass the brackets enclosing the serial number.

Pass the serial number as is coming from SERIAL_LS_PRINT to this function module.

Hope it helps.

Sujay

0 Kudos

Hi,

I am passing table in the same way as it is pass in standard program i hav edone debuggin for std. program from there i copy the table and same i am passing here .

regards,

zafar

Former Member
0 Kudos

Hi,

Where do you get this error type conflict in the function module?

Sujay

0 Kudos

Hi,

I am getting error in below mention FM

CHECK_STRING_DIGIT_SUCCESSOR

**********

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was

not caught in

procedure "CHECK_STRING_DIGIT_SUCCESSOR" "(FUNCTION)", nor was it propagated by

a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

Call to FORM "CHECK_STRING_SUCC" is incorrect:

The actual parameter no. 1 has a different data type in the

PERFORM than requested for the FORM "CHECK_STRING_SUCC" in program "SAPLIPW0".

*******************

regards,

zafar

0 Kudos

Hi,

Can you on this

Former Member
0 Kudos

Hi,

Special Characters '/-' instead of special characters '-'

Note no 40355

Sujay

Edited by: Sujay Venkateswaran Krishnakumar on Sep 9, 2010 12:20 PM

Edited by: Sujay Venkateswaran Krishnakumar on Sep 9, 2010 12:22 PM

0 Kudos

Hi Sujay,

I have change the special character from - to /- but still i am getting same error as i given above.

regards,

zafar

0 Kudos

Hi,

Please check the note 555306 - Serial Number print Runtime error conflict.

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=555306

Hope it helps.

Sujay

0 Kudos

Hi Sujay,

I have try by replacing the Special Characters '/-' instead of special characters '-' but still the problem is same I am getting the run time error.

regards,

zafar

0 Kudos

Hi,

Still my problem is not solve , can u help on this issue.

0 Kudos

OK