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

smartform problem

Former Member
0 Likes
1,718

Hello experts,

  I developed a smartform for the transaction me23n. It's working with my user id .when creating purchase order with some other user id it's going to dump.

i am attaching the dump . please help me.

Category              ABAP Programming Error                                                     

Runtime Errors        POSTING_ILLEGAL_STATEMENT                                                   

ABAP Program          /1BCDWB/SAPLSF00000031                                                     

Application Component  Not assigned                                                               

Date and Time          28.03.2014 17:20:09                                                         

                                                                                                  


Category               ABAP Programming Error                                                      

Runtime Errors         POSTING_ILLEGAL_STATEMENT                                                   

ABAP Program           /1BCDWB/SAPLSF00000031                                                      

Application Component  Not assigned                                                                

Date and Time          28.03.2014 17:20:09                                                         

                                                                                                   

Short Text                                                                                       
    Statement "MESSAGE_A" is not allowed in this form.                                           

What happened?                                                                                   
    Error in the ABAP Application Program                                                        
   
    The current ABAP program "/1BCDWB/SAPLSF00000031" had to be terminated because               
    it has                                                                                      
    come across a statement that unfortunately cannot be executed.                               

What can you do?                                                                                 
    Note down which actions and inputs caused the error.                                         
   
   
    To process the problem further, contact you SAP system                                       
    administrator.                                                                               
   
    Using Transaction ST22 for ABAP Dump Analysis, you can look                                  
    at and manage termination messages, and you can also                                         
    keep them for a long time.                                                                   

Error analysis                                                                                   
    There is probably an error in the program                                                    
    "/1BCDWB/SAPLSF00000031".                                                                    
    This program is triggered in the update process. The following ABAP                          
    statements are illegal here:                                                                 
   
    - CALL SCREEN                                                                                
    - CALL DIALOG                                                                                
    - CALL TRANSACTION                                                                           
    - SET SCREEN                                                                                 
    - LEAVE TO LIST-PROCESSING                                                                   
    - SUBMIT                                                                                     
    - LEAVE SCREEN                                                                               
    - LEAVE LIST-PROCESSING                                                                      
    - LEAVE PROGRAM                                                                              
    - LEAVE TO TRANSACTION                                                                       
    - MESSAGE I/W/E (if not handeld using EXCEPTIONS ERROR_MESSAGE)                              
    - MESSAGE A                                                                                  

How to correct the error                                                                         
    Probably the only way to eliminate the error is to correct the program.                      
    If the error occurs in a non-modfied SAP program, you might be able to                       
    find a solution in the SAP Notes system. If you have access to the SAP                       
    Notes system, check there first using the following keywords:                                
   
    "POSTING_ILLEGAL_STATEMENT"                                                                  
    "/1BCDWB/SAPLSF00000031" bzw. /1BCDWB/LSF00000031F01                                         
    "%RAISE"                                                                                     
    If you cannot solve the problem yourself, please send the following                          
    information to SAP:                                                                          
   
    1. This description of the problem (short dump)                                              
    To do this, choose  System -> List -> Save -> Local File (unconverted)                       
    on the screen you are in now.                                                                
   
    2. A suitable system log                                                                     
    To do this, call the system log in transaction SM21. Restrict the time                       
    interval to ten minutes before the short dump and five minutes after                         
    it. In the display, choose System -> List -> Save -> Local File                              
    (unconverted).                                                                               
   
    3. If these are programs of your own, or modified SAP programs: Source                       
    code of these programs                                                                       
    To do this, choose  More Utilities -> Upload/Download -> Download in                         
    the Editor.                                                                                  
   
    4. Details regarding the conditions under which the error occurred or                        
    which actions and input caused the error.                       
1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
1,349
  • Run SU53 after you get dump with other user id and see if any authorization is missing.
  • Also, try suppressing the pop up screen that appears to enter print details(if it is appearing in your case) by setting appropriate values in control and output parameters of the smartform.(you can find a lot of threads on scn on how to suppress the print dialog box of smartforms)

Regards

8 REPLIES 8
Read only

former_member188827
Active Contributor
0 Likes
1,350
  • Run SU53 after you get dump with other user id and see if any authorization is missing.
  • Also, try suppressing the pop up screen that appears to enter print details(if it is appearing in your case) by setting appropriate values in control and output parameters of the smartform.(you can find a lot of threads on scn on how to suppress the print dialog box of smartforms)

Regards

Read only

thangam_perumal
Contributor
0 Likes
1,349

Hi Krishna,

               Have you created the driver program as subroutine pool types or what?.

i think problem is smartforms only. please check the form interface parameters in smartforms.

Regards,

          Thangam.P

Read only

0 Likes
1,349

Thanks for response,

copy the standard subroutine pool to z-subroutine pool and replace the calling of function module

' ME_PRINT_PO' with 'SSF_FUNCTION_MODULE_NAME'. Remaining thing keep it as it is in standard pool(SAPFM06P).

Please help me.

Read only

Former Member
0 Likes
1,349

Hai Experts,

  Up to know i am not resolve the dump. Please help me

Read only

0 Likes
1,349

Please share the ST22 details.

Read only

kranthi_kiran5
Explorer
0 Likes
1,349

Dear Krishna,

     Please check with the Smartform Interface parameters, If there is any difference in the datatypes while passing the data from the Drive program to Smartform. Check with the Print Parameters.

Read only

former_member206650
Active Participant
0 Likes
1,349

Hi krishna,

can you check all the parameters with Ur user especially

TDAUTORITY in OUTPUT_OPTIONS and compare it with some other user ...also can you check if SAPLSF00000031 is being called in the driven program when u call FM SSF_FUNCTION_MODULE_NAME.





vishnu

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,349

The dump will contain the source code where dump occurred...Please check at the line and attach complete dump