on 2011 Jul 13 10:30 AM
Hi dears,
I'm facing to a problem with an adobe form transport.
In dev, adobe works fine. I've transported the adobe in acceptance, after the transport, I test the adobe.
Transaction sfp, test button.
So I reach the initial screen of FM module. The FM is called /1BCDWB/SM00000007 and when I execute it, I've a dump. It's say:
Short text
The function module is not active or contains no code.
What happened?
The function module "/1BCDWB/SM00000007" is called, but
cannot be found in its function group.
Error in the ABAP Application Program
The current ABAP program "/1BCDWB/SM00000007============FT" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
I know that with smartforms sometimes we need to regenerate the SF after transport with the option in the menu generate.
I go in form object menu Form Object (first one) and choose generate.
I've the information message (in green):
Unable to find include '/1BCDWB/LSM00000007U01
and the FM is not yet avaible
In dev this manipulation generate works fine but not needed.
Su53 in acceptance is ok last authorization wheck was successful and adobe in acceptance (the form and interface with sfp) are ok.
Any help is welcome
Thx in advance
Vincent
solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vincent,
Similar to SMARTFORMS in adobe forms also the FM have a different name in different systems.
So wherever you are writing the code to call your adobe form call FM: FP_FUNCTION_MODULE_NAME and get the fm name from there, replace your FM /1BCDWB/SM00000007 with the variable in which you are getting your Forms FM name.
For example:
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = <Your form name>
IMPORTING
e_funcname = lv_funcname.
CALL FUNCTION lv_funcname
EXPORTING
git_item = git_item
gs_header = gs_header
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vaibhav,
Indeed the adobe name is converted to a FM, which can be determinated by FM FP_FUNCTION_MODULE_NAME.
This append also when you test your adobe form in sfp (the FM is automatically determinated).
When I execute the FM FP_FUNCTION_MODULE_NAME in se37, it gives me the same name (/1BCDWB/SM00000007).
But still same issue (FM not exist).
KR Vincent
User | Count |
---|---|
70 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.