Sapscripts to adobe forms successfully completed.
I have converted years old sapscripts to adobe forms with an average time of completing the form as 1.5 month.
These are all offline and interactive adobe forms with barcodes
Areas I have covered are SD,MM,HR,FI
I am offering help and advise for people who are stuck and need support .
My questions may seem off topic but: I wonder, after the experience, would you suggest people to do what you have done? Or you would, if have to do that once again, do not pick conversion but start from scratch, at least with the form layouts? Would be great to know, because I know what a mess the converter produces...
Thank you, Otto
Similar Messages
-
Hi Gurus,
Is it possible to directly convert sapscript to adobe form[PDF] .
Right answer will be awarded with pointsHi
See this sample code
which converts the script to PDF format
REPORT zzz_jaytest .
Types Declaration
TYPES : BEGIN OF ty_pa0001,
pernr TYPE pa0001-pernr,
bukrs TYPE pa0001-bukrs,
werks TYPE pa0001-werks,
END OF ty_pa0001.
Internal Table Declaration
DATA : i_pa0001 TYPE STANDARD TABLE OF ty_pa0001, "For pa0001 Details
i_otf TYPE STANDARD TABLE OF itcoo, "For OTF data
i_content_txt TYPE soli_tab, "Content
i_content_bin TYPE solix_tab, "Content
i_objhead TYPE soli_tab,
Work Area Declaration
w_pa0001 TYPE ty_pa0001, "For pa0001 Details
w_res TYPE itcpp, "SAPscript output
"parameters
w_otf TYPE itcoo, "For OTF
w_pdf TYPE solisti1, "For PDF
w_transfer_bin TYPE sx_boolean, "Content
w_options TYPE itcpo, "SAPscript output
"interface
Variable Declaration
v_len_in TYPE so_obj_len,
v_size TYPE i.
Constants Declaration
CONSTANTS : c_x TYPE c VALUE 'X', "X
c_locl(4) TYPE c VALUE 'LOCL', "Local Printer
c_otf TYPE sx_format VALUE 'OTF', "OTF
c_pdf TYPE sx_format VALUE 'PDF', "PDF
c_printer TYPE sx_devtype VALUE 'PRINTER', "PRINTER
c_bin TYPE char10 VALUE 'BIN', "BIN
c_name TYPE string VALUE 'C:\ZZZ_JAYTEST.PDF',"Downloading
"File Name
c_form(11) TYPE c VALUE 'ZZZ_JAYTEST'. "Form Name
START-OF-SELECTION.
Selecting the records from pa0001
SELECT pernr bukrs werks FROM pa0001
INTO TABLE i_pa0001 UP TO 10 ROWS.
Setting the options
w_options-tdcopies = 1 ."Number of copies
w_options-tdnoprev = c_x."No print preview
w_options-tdgetotf = c_x."Return of OTF table
w_options-tddest = c_locl."Spool: Output device
Opening the form
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = c_form
device = c_printer
language = sy-langu
OPTIONS = w_options
IMPORTING
RESULT = w_res.
LOOP AT i_pa0001 INTO w_pa0001.
Writting into the form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'MAIN'
window = 'MAIN'.
ENDLOOP.
Closing the form
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = w_res
TABLES
otfdata = i_otf
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Converting OTF data to single line
LOOP AT i_otf INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
Converting to PDF Format
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = c_otf
format_dst = c_pdf
devtype = c_printer
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
Downloading the PDF File
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_size
filename = c_name
filetype = c_bin
TABLES
data_tab = i_content_bin.
If you r using this function module check it once....
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
Fehlerhandling
if sy-subrc <> 0.
endif.
or u can use the standard program RSTXPDFT4 to download the script into PDF format onto a particular location
follow this link for sample program.
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1121833,00.html
Reward if useful
Anji -
How the get most from SapScript for Adobe Printforms ?
Hi there,
I would like to know your Ideas and opinion ... about what / how can I reuse Sapscript printing report or/and layout for Adobe Printforms ...
In particular my requirement is to design new PM Forms (PM_COMMON) in adobe, and Im thinking about to reuse in some way the sapscript printing report.
Thanks !Hello Mr. Sander,
Till date it is not possible to convert a SAPScript to Adobe forms so the layout changes needs manual changes.
On the other hand Print programs of sap script can some how be modified and can be used.
Just need to add this codes.
DATA :
w_doc_param TYPE sfpdocparams,"Doc Parameters
w_output_param TYPE sfpoutputparams,
"Output Parameters
result TYPE sfpjoboutput. "Joboutput
DATA :
fm_name TYPE rs38l_fnam. "Function Module name
This function module is used to specify settings for the form output.
To specify whether you want the form to be printed, archived, or sent
back to the application program as a PDF.
The form output is controlled using the parameters (w_ouput_param)
with the type SFPOUTPUTPARAMS.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = w_output_param
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Set the language field the component of structure /1bcdwb/docparams
w_doc_param-langu = 'EN'.
Call the function module and passing the form interface values
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = w_doc_param
it_sflight = it_sflight
IMPORTING
/1BCDWB/FORMOUTPUT =
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.
To complete the processing of the form
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT = result
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. -
No Adobe Form Is Assigned to the Scenario: - PCR
Hi,
In my project, configured 5 Custom PCRs as copy of standard PCR and enhace it. When Full authorization USer ids, am able to execute the all PCR-Adobe form and complete the process.
When i logo to portal with Z role authorization (with respect to Client), am bale to execute only 3 PCR and remaining 2 PCS display the following error message.
Critical Error
A critical error has occured. Processing of the service was terminated. Unsaved data has been lost.
Contact your system administrator.
No Adobe Form Is Assigned to the Scenario
com.sap.pcuigp.xssfpm.java.FPMRuntimeException: No Adobe Form Is Assigned to the Scenario
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.raiseExceptions(FcISRProcessEvent.java:1981)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrGetFormUrl(FcISRProcessEvent.java:1043)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.setTemplateSource(FcISRProcessEvent.java:460)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:799)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callIsrProcessEvent(FcISRProcessEvent.java:381)
at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEvent.callIsrProcessEvent(InternalFcISRProcessEvent.java:1234)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEventInterface.callIsrProcessEvent(FcISRProcessEventInterface.java:127)
at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:409)
at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface$External.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:577)
at com.sap.pcui_gp.isr.isrprocessevent.showform.VcISRShowForm.onBeforeOutput(VcISRShowForm.java:216
Provide your inputs plsHey Hi,
IF you are familiar with authorizations in PFCG trabsaction you are finaliar with S_DEVELOP if not ask the authorization team on your project.
Basically this authorization object handles the read/write etc authorization related to devlopment objects. If you implement Adobe forms you will probably develop your own forms or at least copy the SAP forms to customer namespace.
For Adobe you will therefore have 2 custom development objects (1 for the form and 1 for the interface that is automatically generated). The end-user shoulf have at least READ access to these objects. If not the portal will trow an error on this.
To determine the tech names of the objects find the form and related interface in transaction SFP. These should be inserted in the object S_DEVELOP in the role for the end users.
You may want to consider to put the value Z* in the object which will give authorization for all the custom developed objects.
If you can't find the object reply again and i will send a screenshot.
Finally, make use of the splended transaction ST01!! It will make your life a lot more easy in portal! It traces all the authorizations needed and missing for any user you specify. After activating the trace and running a portal scenario the log will tell you want went OK and what not on an authorization object level. -
Migrate invoice printing to adobe forms
Hi all,
I want to evaluate ADOBE forms in order to decide whether it is useful to migrate SD printing from SAPScript to ADOBE forms.
To do that I would like to print a sample form (invoice) with this technology. Is there a sample form and a sample interface that could be used for invoice printing?
How do I have to customize the output type to make it work with ADOBE forms?
Thank you for any hints.
Regards
NormanHi,
migration from script to adobe is a big problem.
dont go for that.
many problems will come after migration, the time to take rectification is more than the development directly.
Thank U
Jay---- -
Advantages of adobe forms over sapscripts and smartforms.
Good day ,
Can anyone pls mention atleast 2 to 3 major differences between sapscripts,smartforms and adobe forms?
I want to know wat r the drawbacks in each n how we rectified it in adobe forms.Are there any disadvantages in adobe forms??
Awaiting your reply,
Thanks,
Deepthi.Hi Martina,
SAP Interactive Forms by Adobe offer you the following business advantages:
1. Interactive functions automate the creation of data for SAP systems
2. Full integration into the SAP development environments for Java and ABAP
3. User-friendly tools reduce the time and costs associated with creating form layouts.
4. The usage of the PDF format means that forms retain their appearance regardless of the environment they are used in.
Moreover,
SAP Interactive Forms by Adobe offer the following basic functions:
1. Create form templates for the layout that include logos or pictures
2. Generate documents by merging form templates and current system data
3. Edit forms online or offline
4. Forms can be filled in advance automatically with specific data from SAP applications and then sent to the correct recipients using secure methods
5. Automatic consistency checks for forms
6. Activate enhanced functions such as comments
7. Digital signatures and form certification
8. Send completed forms to the SAP application with automatic updates of the business data
There are not any disadvantages in adobe forms as such except the value help is not present but that could be done after a little coding.
Reward if useful.
Regards,
Vaibhav Tiwari. -
Adobe Forms wo/Interactive Fields Completed in Workspaces?
Can I complete an Adobe form without interactive fields in Workspaces? If so, how?
Unfortunately, there is no way to do this within Workspaces.
-
Cannot save a completed copy of adobe forms
Hi experts,
i was developing a simple Adobe form with a drop down list. When saving that form on local system ad then opening it , I tried changing the valve in drop down list it gives me a pop-up as
"You cannot save the completed copy of this form on your computer."
is there any setting to be donw to the form.
thanks in advance,
Govind.I guess you have already found the problem: you cannot save the file if your reader rights are down == your form has not been generated as interactive and no licence has been attached. Otto
-
ADOBE FORM instead of SAPSCRIPT or SMARTFORM
Have anyone used ADOBE FORM instead of using sapscript or smartform and assigned to Output types in NACE tcode?
If so, please give details for the same.If you are looking for documents on Adobe, check the link -
Re: adobe forms
Otherwise whatever form you want just check for its alternative in ADOBE at SAP Market place and use it.
Regards,
Amit -
Standard sapscript form migration to adobe form
Hello guys,
Is it possible to migrate standard SAP Script forms to adobe forms?
If yes then please let me know how ?Hi,
It is possible, but not simple.
You first have to migrate the SAPscript to Smartforms, then the Smartform to adobe forms. However, there are significant differences between the way SAPscript works compared to Smartforms so there are always manual changes needed after the migration. Then there are differences between Smartforms and adobe forms, so more manual changes are needed.
Once you've done all this it could have been easier to build an adobe form from scratch, based on the design of you SAPscript.
Regards,
Nick -
Using ASP to email a completed Adobe form
I'm not a programmer and could use some help. I've ran Form Field Recognition on a .pdf file to create an editable form. I can post this on my website with the intention of having people fill in the blanks and submit it. That's where I get lost.
I'm with a host who supports .asp, but not much in CGI. They allow Perl, Python, PHP4, and PHP5 (whatever they are).
Is there a simple way to have the form saved and sent as either an attachment or as a copy of the form as completed on to an email address? Other than ssending it, I really don't even need it saved or entered into a database. All I need is the copy sent to be complete and look like the original form instead of a string of data. It is being sent to an office where there is little computer experience and even less creative understanding of what they may look at for processing.
With what little understanding I have, here's a flow chart.
Visitor opens .pdf form -> visitor enters all data -> visitor clicks on "submit" button -> form is saved as a .pdf file -> .pdf file is sent to a prearranged email address.
If someone can help by helping me understand this process and give me the line code I should include on my page to get the end .pdf file sent to [email address deleted by host], I'd appreciate it greatly.
Thank you,
KenHere's an answer.
I did more research and trial and error and ended up finding that by going through the form process the first part was to "Run Form Field Recognition"
Next, I had to create and place a button on the page and turn it into a submit button (fairly easy).
Next, I went into the parameters for "Distribute The Form".
Once I loaded it on my website I found that completing the form and sending it went a blank form which the recipient was supposed to complete and sent back to me. So I tried an experiment. I figured the two form, the one on the web site and the one received were different somehow. I copied the received form to the website and used it in place of the original.
Now when it sends the form, I end up getting a completed form with the information in place.
There are still a few small details to work out, but it about done. -
Problem in Adobe Form Execution
Hi,
I am getting an error "ADS: SOAP Runtime Exception: CSoapExceptioFault: SOAP(100102)" while executing Adobe Form.
It seems the ADS configuratoin is not correct. Can some help me out in fixing this issue.Hi Sathish,
To check the Present configuration do the following:
1.1 Checking by Executing Test Report FP_TEST_00
Use
This test report checks if your system is configured correctly for processing forms in an ABAP environment.
Procedure
1. Log on to your SAP Net Weaver AS ABAP.
2. Call transaction SA38 and enter the name FP_TEST_00.
3. Choose Execute (F8). A dialog box is displayed.
4. Enter FP_TEST_00 in the field Form.
This is displayed as the default form name.
5. Enter the name of the connection to the ADS. Enter the default name ADS, or, if you have specified another name, the one you are using in your system.
6. In the dialog box, choose Output in Print Preview.
7. Enter an appropriate device type in the field Output Device.
8. Choose Print Preview.
On successful execution of the report, you find the Print Preview of the PDF form.
If the Configuration is not correcr no form is displayed.
The following steps are only necessary, if the result of the above test was not successful.
2. Check the ABAP Connection
3. Check the User and Password
4. Check the Destination Service
1.2 Checking the ABAP Connection
Use
This is a test for checking the RFC destination. This test applies to both connections using Basic Authentication and SSL connections.
Procedure
1. Log on to your SAP system.
2. Call transaction SE38.
3. Enter the name of the test report FP_PDF_TEST_OO.
4. Enter the name of the connection. Enter the default name ADS, or, if you have specified another name, the one you are using in your system.
5. Choose Execute (F8).
Result
If the configuration is correct, the system displays the version number of the Adobe document services.
If the configuration is not correct, the system displays a corresponding message.
or
Go to the following link to download the complete ADS configuration guide:
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2]
Hope to solve your problem.
Regards,
Vaibhav Tiwari. -
Hello All,
Can anybody confirm who has worked on ADOBE Forms confirm that when a new spool request is generated what format the spool is in.
1. Is the spool in old script format or in PDF format ?
2. Can I have some ADOBE forms documentatino ?
Point would be rewarded for complete answer.
Thank you.
Dipesh JhalaHi
see the following
look at the Adobe page here in SDN:
Use the Tcode : SFP
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
Check these links on Adobe forms
http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
follow these links.
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sapfinug.fi/downloads/2006/seminaari/uudet/SAP_Adobe.pdf
https://weblogs.sdn.sap.com/weblogs/topic/45?x-o=50
Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
go thru this links
http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
example
To get an overview idea about Adobe forms ,
Using SFP Tcode , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
Create the context and layout in the form.
The layout generated can be previewed and saved as PDF output.
Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
On activating and executing the form you will get a function module name just similar to smartforms.
The driver program needs to call this FM.
Refer to the below sample code :
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
PARAMETERS : pa_cusid TYPE scustom-id.
SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.
SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.
outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.
CALL FUNCTION '/1BCDWB/SM00000043'
EXPORTING
/1bcdwb/docparams = docparams
is_customer = is_customer
it_bookings = it_bookings
IV_IMAGE_URL =
iv_sending_country = 'US'
IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
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.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
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
Anji -
How to configure adobe forms in OMLV for printing picking slip
Hello,
I want to configure a adobe form in OMLV transaction. But there is no column for putting adobe forms.
Can you tell me how do configure adobe forms for getting it printed from standard transaction whenever a transfer order is created.
Thanks in advance.Hi Ajay,
You are completely right that you cannot find anything with smartform in the customizing (OMLV). The reason for it: It is not there. It not even exists. Also the latest version of rlvsdr40 has nothing standard concerning smartforms.
I do not know why it is really necessary to use adobe or smartforms.
The only way is to build a new one (ZRLVSDR40). In that new one you have to use the sapscriptname (from OMLV)and treat it as a smartform- name.
I hope my explanation helps. Success.
Gr., Frank
Below how a smartform is called (from invoice)
determine smartform function module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
error handling
retcode = sy-subrc.
IF sy-subrc = 1.
MESSAGE e001(ssfcomposer).
ENDIF.
IF sy-subrc = 2.
MESSAGE e002(ssfcomposer) WITH lf_formname.
ENDIF.
PERFORM protocol_update.
ENDIF.
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
IMPORTING
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
TABLES
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5. -
Authenticating an R/3 web service in adobe form
Hi,
Please let me know how to authenticate an ABAP based web service in an adobe form being developed in WD Java( done in NWDS by creating a data connection using WSDL of the web service )
I need to pass the sap user id and password but I am unable to figure out where to do the same.
Thanks,
LishaHi Juergen,
Thanks for the response.
My scenario required a completely offline adobe solution wherein once the form created via NWDS is deployed and then stored on the local system, then the form can be used completely offline i.e. on click of submit, it sends the data to SAP R/3 and returns the BAPI output : all this without any web dynpro / WebAS runtime environment.
I was able to successfully do this, the only problem I got was that the web service created in the backend for the function module should have authentication as "none".
And surely this is not a good practice because of security considerations, hence I wished some kind of R/3 authentication in my adobe form.
I will surely try the workaround you have provided.
Thanks again,
Lisha
Maybe you are looking for
-
HT4108 CAN IPHONE 4 USE HDMI ADAPTER
Can the iphone 4 use the HDMI adapter , i try to connect but it's not show on the screen .
-
Slide scan attachment for 5200 C
I have an old back-up computer running Widows XP in conjunction with an HP 5200C scanner. I have the slide scan attachment for the scanner but can't get it to work. I no longer have any of the operating instructions. What do I need to do? This q
-
Can anyone explain this for me pls .. Thanks
interface Serial1/0 description S4/0 STUN 1 ELZBP S2/0 EMPC 7 Sec3 Cab1 IO346/J1 mtu 2104 no ip address encapsulation stun clockrate 56000 stun group 1 stun route all tcp 10.0.14.1
-
HP computer is unable to login with the correct password
i got a new hp computer the other day & it was working fine until my dad did something & the whole computer turned to french , the icons , the display language, everything & i tried so many ways to change it back but it didnt work. when i woke up the
-
What compression type to use for disk image files
Hello all I was wondering if a more experienced user than me could give a recommendation as to which compression format I should use to compress an image I made of my / partition. I used dd to make the image file. For me, (de)compression time is more