2021 Jun 07 4:32 PM
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
2021 Jun 07 5:08 PM
Are they testing in the same environment (don't laugh, I've had this happen to me as well).
2021 Jun 07 6:01 PM
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
2021 Jun 07 6:13 PM
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.
2021 Jun 07 6:52 PM
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).
2021 Jun 07 6:53 PM
If it's something you just changed, they need to leave/re-enter the transaction so that the new program version takes effect.
2021 Jun 08 6:33 AM
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 ..
2021 Jun 08 7:43 AM
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.