To trigger ADOBE form from Custom Infotype
hello,
I hae create d ADOBE form and want to trigger it on "Save" record from Custom Infotype....
I need this form to be displied as User my do some changes and save it again...
I have used following code to trigger this from module pool...
Data : lv_fm_name type rs38l_fnam.
Data : gs_sfpoutputparams type SFPOUTPUTPARAMS,
gs_sfpdocparams TYPE sfpdocparams,
gs_formoutput TYPE fpformoutput.
Set output parameters and open spool job
gs_sfpoutputparams-nodialog = 'X'. " suppress printer dialog popup
gs_sfpoutputparams-GETPDF = 'X'. " launch print preview
call function 'FP_JOB_OPEN'
CHANGING
ie_outputparams = gs_sfpoutputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
First get name of the generated function module
call function 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'Z_ISR_FORM_Z017'
IMPORTING
e_funcname = lv_fm_name.
EXCEPTION
CX_FP_API_REPOSITORY = 1
CX_FP_API_USAGE = 2
CX_FP_API_INTERNAL = 3.
Set form language and country (->form locale)
gs_sfpdocparams-langu = 'E'.
gs_sfpdocparams-country = SY-LANGU.
gs_sfpdocparams-FILLABLE = 'X'.
Now call the generated function module
call function lv_fm_name
EXPORTING
/1bcdwb/docparams = gs_sfpdocparams
IMPORTING
/1BCDWB/FORMOUTPUT = gs_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
Close spool job
call function 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
But still I'm unable to get form on "Save"..
Please help me.
Regards,
Yogesh
Hi Yogesh,
Just to test ... can you place your code in a report and call the report with submit ... return in your module pool? For the data tables in the interface, you may export them and import them.. this will ensure that everything is good with your code and the place where you call the code from. I believe the issue is Module Pool rather than anything else. But that's just a doubt and we need to do this to confirm it.
Best Regards,
Abd-Al-Aleem
Similar Messages
-
Picking of Adobe forms from application server
Hi Gurus
We have SAP ECC 6.0. So far in our system we have text files and CSV excel files which comes from external system and lies in application sever and these are being picked up automatically by system and gets processed in SAP.
1)The requirement is to "pick the adobe forms from application server and read some fields in the form and update the fields (required) in customer master data in SAP". How can we achieve this?
Any kind of help is appreciated.
Thanks
AleemHi Aleem,
I tried to work on a similar scenario couple of months back. But it was not successful. Will you please let me know if you get any solution???
Thanks in advance
Poornima -
Calling and manipulating data on an Interactive Adobe form from ABAP report
Dear All,
Can you please tell me how to call an interactive adobe from from a custom adobe form?
If so how can we pass and receive data between the interactive adobe form and the abap report program?
Thank you.
Regards,
Prosenjit.Hi,
It is possible to call an Interactive Adobe form from ABAP report and pass data into the form. If you search the forum, you will get many threads explaining the process. Let me know if you have any specific questions on this.
Regards,
Sanoosh -
Default email subject for Adobe Form from Netweaver Guided Procedure
Hi everyone.
When we generate an Adobe form from a Netweaver Guided Procedure, a default subject of "Interactive Form {xxxxxxxx}" is used where xxxxxxxx is the Process ID of the Guided Procedure. Is this default subject configurable? Where can I change it?
If we define a custom email template for the form, the subject of the email becomes our custom subject concatenated with the Process ID. Where is it defined that the Process ID must be included in the email subject?
Thanks,
.. CraigHello,
I have no experience regarding the table of pictures, but you could try a workaround if you don´t insist of displaying the images. You could attach the pictures as attachments (you know, the little attachments icon on the left in your Reader). The ABAP coding for this can be found in SE38 FP_* and when you check the descriptions you should be able to find the one working with the attachments.
Would be better than nothing I guess,
Otto -
Adobe forms from scratch - Standard programs?
Hi,
I have just begun trying to implement Adobe forms from scratch at my company. Previosly we have used an external printing solution so I can't convert anything. My plan is to create a new output medium and let the users select the new type by themself. But I have a couple of questions:
1. How do I create a new medium (Examples: Print output/Fax/Telex, as found in t-code NACT - Processing routines)
2. I guess there are SAP standard printing programs, interfaces and forms, but I can't find them. I need to be able to print all the usual docs from orders, deliveries and invoices. All I have in NACT are old home-made (Z*) programs so if you know what SAP think we should use now, please let me know!
We have ERP6 ehp4 on netweaver 7 ehp1 and I have created one "Adobe form" myself so I can confirm that it works. but I don't want to invent the wheel twice...
Thanx in advance!
Br Linus HellsingHi Linus,
I was wondering if you had a moment to comment on an opportunity that I am having regarding Adobe forms development efforts?
If so, please read on:
Our offshore team has worked on a development effort to replace Smart Forms PO's and Contracts with Adobe forms. They created new output types for these Adobe forms. In testing I noticed that the only way I can get them to print - is if I go into Print Preview and print -or- use SP01 and click on the .pdf icon and print. In both cases it uses Adobe Acrobat to perform the actually printing.
We cannot seem to get them to print using the normal SAP message utility. Our users would expect to continue to:
1. Use the Messages button while in the PO document - and select the new output type along with Meduim= Printed Output...
2. Then they select Further data button - to specify Send Immediately.
3. Then they use the Communication Method tab and specify the Logical Destination (as LOCL) and click on the Check box for Print immediately.
They get what appears to be an rambling of Adobe error lines followed by many blank pages....
At this point I am not sure if the print program is working correctly - or if the problem is with Adobe Document Services?
Have you ever encountered a situation like this during your Adobe development efforts?
Any suggestions would be appreciated.
Regards,
Steve -
Adding field from Custom Infotype in Screen Header-PA30
Hi all,
Can we add the fields from custom infotype to the screen header in PA30? When I tried through Change Screen Modifications, I could not see the custom infotype in the Infotype column, so I could not select the required field.
Please guide.
Thanks in advance.Hi,
When you take a drop down from the infotype column, you will see a window with infotypes. By default, it is restricted to 500 entries. To change that, click on the narrow bar under u201Crestrictionsu201D (has a downward arrow) and change the maximum number of hits to 999. You will then get all the infotypes including the custom ones.
Hope this helps.
Donnie -
Calling adobe form from Web Dynpro ABAP
Hi Friends,
This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
2010(200,101).
Can some one tell me how to solve this....
Regards
SankarHi,
Please refer to this same link in forum
WebDynpro Exception: ADS: Request start time, start Interactive Form
WebDynpro Exception: ADS: Request start time
Thanks
Pradeep -
How to close a custom form from CUSTOM.pll
Dear Friends,
We need your help on the following issue related to Oracle Apps Forms.
We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
Thanks,
UmaI thing you haven't any (supported) option to close a form via custom.pll.
For a long time, we have search a solution for the same problem without any result. -
Call XML Schema based Adobe form from ABAP Program
Hi,
I have a scenario where an online Interactive form is designed and its working fine. Now i have a requirement to call the same Adobe form from a report for viewing purpose. Since it is XML Schema based Interface, is it possible to call the same form instead of creating a new one with the same template? Because i tried to call the same Adobe form by passing the values and converting those to XML(By Creating Transformation). Then i converted the XML to XSTRING and passed to the Generated Function Module for Input paramter "/1bcdwb/docxml". This resulted in an error "com.adobe.ProcessingException: com.adobe.Processin".
Please help me out in solving this and check the attachment for code.
Thanks,
RajHi,
outputparams-NODIALOG = 'X'.
outputparams-PREVIEW = 'X'.
outputparams-dest = 'LP01'. "give ur printer name.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
and Now call the generated function module
pass the following in docparams
docparams-langu = 'E'.
docparams-country = 'US'.
and finally close the job.
It should work.
Please let me know if u need further details.
Regards,
sasi -
How to use macro to pull data from custom infotype?
Hi all,
Is rp_provide_from_last p9004 space pn-begda pn-endda. works?
i am getting all zeros .
is using macros possible pull data from custom infotype? or only select?
Regards
sas
For LDB PNPCE
get peras:Hi,
Try the following Macro it will solve out your problem,
DEFINE rp_provide_from_last.
rp_found = '0'.
clear: rp_tabix.
loop at &1.
if &2 ne space.
check &1-subty eq &2.
endif.
if &1-begda le &4 and &1-endda ge &4.
rp_found = '1'.
exit.
endif.
if &1-begda le &4 and &1-endda ge &3.
rp_tabix = sy-tabix.
endif.
endloop.
if rp_found eq '0'.
if rp_tabix ne 0 .
rp_found = '1'.
read table &1 index rp_tabix.
else.
clear: &1.
endif.
endif.
END-OF-DEFINITION.
rp_provide_from_last <p????> space <begda> <endda>.
Best Regards,
Faisal -
Problem activating simple adobe form from SFP
Hi
I created a simple adobe form from transaction SFP....2 steps ...created interface then form.
the problem is when try to activate the form there are no syntax errors but iam getting a message
1,275 bytes transmitted, code page 0000
Message no. FES032
and the form is still inactive...
any idea why iam getting this error? is configuration from basis not configured properly?
Please advise
Govi1. Create RFC (ABAP system side) destination through SM59 called as ADS which should of type G
u2022 RFC Destination : ADS
u2022 Connection Type :G(HTTP Connection to External services)
u2022 Destination 1 : ADS connection to SID (Java system)
Target System settings:
u2022 Target HOST : JAVA system Host
u2022 Port : java system port
u2022 Path prefix : this defaults(/AdobeDocumentServices/Config?style=rpc)
2. Login to Visual Administration
Navigate to Server Services Destinations and select HTTP drop down.
Create the RFC destination as FP_ICF_DATA_<SID>.
Destination Name: FP_ICF_DATA_<SID>
Destination Type: HTTP
Connection settings:
u2022 URL :http://<hostname>:<ABAP-portno>
u2022 system Id :--NIL
u2022 client : ABAP system client no(200 or 300)
u2022 Language :--NIL
Logon Data:
u2022 Authentication: BASIC
BASIS Authentication:
u2022 Username:ADS_AGENT
u2022 Password:xxxxx
3. Please activate SOAP service:
Login your ABAP System
u2022 Use transaction: SICF execute and Select default hostselect sap---select bcu2014select-SOAP Select and activate -
Call standard adobe form from a WD application
Hi All,
I have a requirement of displaying a standard adobe form from a click of a button in a WDA portal,
I am an ECC developer and have no idea of WD. I created a function module which uses submit statement to invoke the driver program and displays the PDF output, but when this function module is invoked from the portal on the click of button it gives and error FP job open error.
I understand that displaying PDF wont work in this way on portal, so can anyone please guide me the correct procedure on how to achieve this.
I came across this thread
[Regarding adobe form using Webdynpro ABAP|Regarding adobe form using Webdynpro ABAP]
which mentions of feeding the complete PDF document to the UI element as an XSTRING context node bound to the pdfSource property, but the help link provided in the thread is not opening.
Thanks in advance.
Regards,
KartikHi karthick , creat a button in the view and assign a action to it .
inside that action eventhandeler method call the method for prepare_adobe _form for dislay PDF .
method ONACTIONSHOW_ADOBE_FORM .
data : l_pdfstring type xstring.
" Select for print
wd_this->prepare_adobe_forms( importing p_pdf = l_pdfstring ). " coding is given below
" Call print
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'adobe_form.pdf'
i_content = l_pdfstring
i_mime_type = 'application/pdf'
i_in_new_window = abap_false
i_inplace = abap_false ).
endmethod.
prepare PDF
method prepare_adobe_forms.
data: lv_funcname type funcname.
data: ls_outputparams type sfpoutputparams.
data: ls_formoutput type fpformoutput.
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = 'FP_TEST_DATE'
importing
e_funcname = lv_funcname.
ls_outputparamsu2010nodialog = 'X'. " suppress printer dialog popup
ls_outputparamsu2010getpdf = 'X'. " launch print preview
call function 'FP_JOB_OPEN'
changing
ie_outputparams = ls_outputparams
exceptions
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
call function lv_funcname
* exporting
* /1bcdwb/docparams = fp_docparams
importing
/1bcdwb/formoutput = ls_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
call function 'FP_JOB_CLOSE'
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
p_pdf = ls_formoutputu2010pdf.
endmethod .
Regards
Chinnaiya P -
If i try to copy standard Adobe form to Custom developed
Hi Guys,
If I try to copy Standard Adobe form to Custome developed ' iam gettng the 'internal error occured SAP FP API '.
please let me know what to do ..
Thanks
PrabhuHey,
Instead of copying the Adobe Form,
First try to save the form on your desktop.
Open the form with Adobe Live Cycle Designer.
Click on XML Source tab.
Copy the XML Source.
Now create a new empty form in Adobe Live Cycle Designer.
Click on XML Source tab.
Select the XML Source.
delete the XML Source.
And now paste the XML Source what you have copied previously.
Hope this is better instead of copy. -
IDOC :: how to send data from Custom Infotype in SAP HR to third party
Hi,
I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
Please help me in doing it.
I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
ZTALENT Talent Management
5 E1PLOGI Header for an HR Object (Master Data or Organizational Data)
5 E1PITYP HR: Transported Infotypes and Subtypes for an Object
ZPUSER User base Data File
ZPERSON Personal Information File Segment
ZPOST Position File
ZOPE Overall Performance
ZPWORK Outside Work Experience
ZPEDUC Education Details of Employee
E1P0000 HR: HR Master Record Infotype 0000 (Actions)
E1P0001 HR: HR Master Record Infotype 0001 (Org. Assignment)
E1P0002 HR: HR Master Record Infotype 0002 (Personal Data)
E1P0016 HR Master Record: Infotype 0016 (Contract Elements)
E1P0022 HR Master Record: Infotype 0022 (Education)
E1P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)
E1P0041 HR Master Record: Infotype 0041 (Date Specifications)
E1P0105 HR: HR Master Record Infotype 0105 (Communications)
ZE1P9020
ZPLANG Language Details
ZACTION Actions Changes
Regards,
KrishnaHello Shankar,
Technically TEMSE files are read by calling the following 3 function modules in sequence,
1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
2) RSTS_READ : read the object
3) RSTS_CLOSE: close the object
Regards,
Rajesh -
To scale an adobe form from Size A3 to A4
Hi experts,
i have one small question. When i create for example a AdobeForm in Size A3, is it later possible to scale this A3 size for example to A4 at printtime?
I have seen that with help of the printpreview, the preview is seen in adobe reader. Here i can say print this A3-Size into A4, and it is working(Adobe scales the A3 to A4). I want to decide in the printprogram in which size the output will be genereated. Is this possible?
Thank you for answering my question
ThorstenAdobe Reader (which is showing you your PDF even inside SAP) has built in function allowing to scale document to the size of paper in the printer. But this is function of Adobe Reader (not the form itself) and can help only if you are ready for some "help" from the user at the time of printing.
If you want to do it directly (without user intervention), than I'm afraid there are no built-in function for page scaling inside PDF. But you can include two master pages of different sizes in the design of your Adobe form and choose one of them during form generation according to your needs. Please have a look at my old post [here|Is it possible to trigger the pages differently; on how to do it.
Maybe you are looking for
-
whats the maximum resolution supported @ 60 Hz on an external display for mid 2014 macbook pro retina 13 inch ?
-
I need a phone number to ring for help
I been a phone number to ring for help to got started with my new iPad thanks
-
THE PROPER USE OF EQUALIZER IN CREATIVE MIXING CONS
At this moment, as i hear music from my P.C. with the Creative Media Source Player and try to correct the sound from the Equalizer of Creative Mixer Console, i remembered an important detail. As we see in equalizer exist eleven sliders, ten for each
-
I am facing problem with my cell phone C5.00 which does not gives New Messege Alert even all settings are in order. I have got new messages in my inbox but it does not give any Messege Alert Tone or popup display for having new message. Please advis
-
My app angry birds will not open on i mac
Hi my angry birds that I purchased from the app store will not load on my imac can anyone help