on 2012 Mar 25 9:08 PM
Hi,
I migrated a smartform to adobe form, the FM generated is giving a formatting error (sy-subrc = 0) in include LFPCOMPCHK in perform check_job_open.
If i change the value of fpstat-is_opened to false, it works. Don't know why. Then i commented the FP_JOB_OPEN call in my program and now it is working fine.
There is a function module call to FPCOMP_JOB_OPEN in the adobe form function module so why do we call the FP_JOB_OPEN before calling the adobe form.
Please explain.
Regards,
Manu
Request clarification before answering.
Hi Manu
FM: FP_JOB_OPEN inturn calls FM: FPCOMP_JOB_OPEN.
FM: FP_JOB_OPEN is used to determine the output settings of the form i.e. 'print', 'archived' or 'print preview'. Also, in you case of migrating a smartform to adobe form, this FM controls how the form is sent back to the application program as a PDF.
Link should be helpful to you.
Hope this helps.
Harsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It happens because when the interface type is set to 'Smartform Compatible Interface'. Then in the generated function module, we get an additional call to FPCOMP_JOB_OPEN. Change the interface type to 'ABAP Dictionary based interface'. That will solve the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.