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

Invalid numbering type error

Former Member
0 Likes
1,024

Hi experts,

I am doing smartforms...for that i created one driver program....where i have wrote code like

REPORT ZPROGRAM_SMARTFORM.

data: itab type table of ekpo." with header LINE.

PARAMETERS: P_EBELN LIKE EKPO-EBELN.

DATA : fm_name type RS38L_FNAM.

SELECT * FROM EKPO INTO TABLE ITAB WHERE EBELN = p_ebeln.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

FORMNAME ='ZPO_PRINT'

  • VARIANT = ' '

  • DIRECT_CALL = ' '

IMPORTING

FM_NAME = FM_NAME

EXCEPTIONS

NO_FORM = 1

NO_FUNCTION_MODULE = 2

OTHERS = 3

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

CALL FUNCTION FM_NAME

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

  • CONTROL_PARAMETERS =

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

  • OUTPUT_OPTIONS =

  • USER_SETTINGS = 'X'

P_EBELN = P_EBELN

  • IMPORTING

  • DOCUMENT_OUTPUT_INFO =

  • JOB_OUTPUT_INFO =

  • JOB_OUTPUT_OPTIONS =

TABLES

ITAB = ITAB

  • EXCEPTIONS

  • FORMATTING_ERROR = 1

  • INTERNAL_ERROR = 2

  • SEND_ERROR = 3

  • USER_CANCELED = 4

  • OTHERS = 5

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

and IN smart forms in form interface import parameter is P_EBELN TYPE EKPO-EBELN AND TABLES AS ITAB LIKE EKPO....

when i am trying to execute the driver program it displays the error message as ' Invalid numbering type ().' in status bar...

can anybody please help me...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
811

After both the fuction module you have the sy-subrc statement with out 'EQ' just check it..

You have it as IF sy-subrc 0 'EQ' is missing in this statement.

Before thinking about the issue as a big one just check for small things.

Regards,

Gopal

5 REPLIES 5
Read only

Former Member
0 Likes
811

hi,

what is the number and the ID ( Message class) of the message?

Regards, luigi

Read only

0 Likes
811

Hi,

Thankq for giving reply....

Message no is SSFCOMPOSER600..can you please help me....where is the problem....

Read only

Former Member
0 Likes
812

After both the fuction module you have the sy-subrc statement with out 'EQ' just check it..

You have it as IF sy-subrc 0 'EQ' is missing in this statement.

Before thinking about the issue as a big one just check for small things.

Regards,

Gopal

Read only

0 Likes
811

Hi gopal,

I have specified the same..but while pasting eq is missing....this issue is related to the smartform not the printing program.

thanks

Read only

811

I got solution to your problem. Problem exists in the Styles you are using. Go to your style which is being used in your smartform. Now go to the Paragraph Formatting. Check all your nodes falling under it. Now go to Numbering and outline tab ..then see Top outline Paragraph dropdown.. If anything is selected here.. deselect it. Activate your style. Activate your smartform. And you are done!

Edited by: mansoorahmed on Feb 23, 2012 7:34 AM