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

Wrong Smartform is executed for a specific user

0 Kudos
763

When I execute the report, it displays the correct smartform. When functional team executes it displays another smartform (wrong one).

I am doing the following steps:

1) Call function 'SSF_FUNCTION_MODULE_NAME' (get v_fnam)

2) Call function v_fnam

3) CALL FUNCTION 'CONVERT_OTF'

I debugged and the variable v_fnam is the same (for me and for funcional team).

What is wrong?

Thanks,

Janete

7 REPLIES 7
Read only

abo
Active Contributor
0 Kudos
689

Are they testing in the same environment (don't laugh, I've had this happen to me as well).

Read only

0 Kudos
689

Hello Andrea,

Yes, in the same enviroment (thanks for asking!).

This report already calls a smartform 'A', and we modified to call a new smartform 'B'.

I do not know if the PDF is not being updated, if it is any 'printer' set up for the user.

I checked in SU01d, and we do not have printers there for both users (me and the functional).

Any idea?

Thanks

Janete

Read only

0 Kudos
689

May be there is any logic that triggers the first form for the user-> I would start by putting a break-point and start investigating from here.

Read only

689

Please use the COMMENT button for comments, questions, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.

If you want to target someone, if this person has posted an Answer, use the button COMMENT, if this person is the Original Poster of the question he/she will be automatically informed, otherwise copy/paste their hyperlinked name so that the person receives a warning (NB: @ doesn't work/but typing this character will suggest hyperlinked names).

Read only

Sandra_Rossi
Active Contributor
0 Kudos
689

If it's something you just changed, they need to leave/re-enter the transaction so that the new program version takes effect.

Read only

FredericGirod
Active Contributor
0 Kudos
689

Could be several things. It could help to have a print preview of the two smartforms.

Could be language <>

Could be another SF is also called ..

Read only

VXLozano
Active Contributor
0 Kudos
689

The only thing that I can think (ouch) of, is that you are calling the SSF_FUNC module, get the smartform FM name in a variable, but you are calling the smartform function with a constant or another variable.

Any other option has no sense, but I'd love to see what's happening.