on 01-06-2010 10:23 AM
Hello
I have created a smartform in two languages.It displays something ,but when i issue a message,it will have status red and i do not have any processing log and I do not know why my smartform fails.Do you know maybe how i can enable this processing log so that i will have a clue on what is wrong with my form?
Also,i cannot debug my report to see if it fails in my report.Normally,if i enabled the Update debugging,it jumped to my report in the "entry" form,but know,nothing happens
thank you
HI,
Check for the sy-subrc after calling the form, if <> 0, then call this FM NAST_PROTOCOL_UPDATE. this will update the processing log.
Eg:
CALL FUNCTION fnam
exporting
it_options = it_option
tables
it_kna1 = it_kna1.
If sy-subrc NE 0.
Call function 'NAST_PROTOCOL_UPDATE'.
exporting
MSG_ARBGB = SY-MSGID
MSG_NR = SY-MSGNO
MSG_TY = SY-MSGTY
MSG_V1 = SY-MSGV1
MSG_V2 = SY-MSGV2
MSG_V3
MSG_V4
Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have verified and my style is activated.I have been searching for hours for the problem and i ended up in deleting all the windows from my smartform,now it is empty,i left an main window which is also emty.I have also commented all the exporting parameters from the function that calls my smartform and still i get this erreor:formatting error.I do not know what else to do.
I have no variables or anything declared in my smartform,no import parameters or tables.
My function call looks like this:
call function lv_fm
Exceptions
formatting_error = 1
internal_error = 2
.....
and still i get sy-subrc = 1.
The call of the function "SSF_FUNCTION_MODULE_NAME" is done correctly and i get the right name for the smartform
What else can i try?
thank you
Hi Seba,
Did you tried executing the Form directly thrg SE37..
The scenrio for raise the FORMAT_ERROR is at 5 place..
1- CALL FUNCTION 'SSFCOMP_OPEN'
2- IMPORT HEADER TO %HEADER fails
3- Unable to define the Table definiatin
4- CALL FUNCTION 'SSFCOMP_PROCESS_DOCUMENT'
5- Unable to close the Form
Try debugging the FORM from SE37.
Mostly this should help you. Else create an entire form
Regards,
Aditya
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.