How to Attach a Smartform to a BOR method
Hi Friends,
I had a query How to Attach a Smartform to BOR method.To attach a customized Smartform to a Customized BOR Object.
Hi,
In the BOR object, create a method say display_SF. Now in the ABAP properties for that method give "OTHER" option.
Now in the BOR object, you can find the program which is used. Inside that program, You need to write the code to fetch the required data (ONLY BASIC REQUIRED DATA WILL BE ENOUGH) and call the smartform by passing all the print parameters and all the required data for that smartform.
Now inside the smartform, with imported required data, you can write all the logic and data fetch etc for the printouts.
The following sysntax can be used to fetch the required data into the method and can use to pass the same while calling the smartform.
SWC_GET_ELEMENT CONTAINER 'Plant' PLANT.
Regards,
Harish
Similar Messages
-
How to attach a smartform in BOR object
Hi,
I want to know how to attach a z smartform to BOR object? I tried to search out here but not able to have the result.
Kindly provide the guidelines for it....
Regards,
RickkyHi,
In the BOR object, create a method say display_SF. Now in the ABAP properties for that method give "OTHER" option.
Now in the BOR object, you can find the program which is used. Inside that program, You need to write the code to fetch the required data (ONLY BASIC REQUIRED DATA WILL BE ENOUGH) and call the smartform by passing all the print parameters and all the required data for that smartform.
Now inside the smartform, with imported required data, you can write all the logic and data fetch etc for the printouts.
The following sysntax can be used to fetch the required data into the method and can use to pass the same while calling the smartform.
SWC_GET_ELEMENT CONTAINER 'Plant' PLANT.
Regards,
Harish -
How to attach ERP smartform to a ERP Quotation generated from CRM 7.0
Hi,
I have this requirement of calling the ERP smartforms in CRM 7.0 where ever applicable.
I don't want to use Transaction Launcher and also creating the same smartform in CRM would be double work.
1. Can we attach a smartform of ERP to LEAD/OPPORTUNITY when we click on the MORE button on toolbar and choose PREVIEW OUTPUT/ TRIGGER OUTPUT. I think in ACTION we can just assign a smartform which is created in CRM system.
Actually this is my client requirement and since my first CRM implementation do't know whether this is a valid point and how to go on.
2. Also on ERP Quotation view page (toolbar) there is no button called MORE to PREVIEW OUTPUT. Can we assign a smartform to ERP Quotation?
If any body can direct me on this issue would be of great help and full points will be given.
Thanks,
JayaHi,
as far as I know there is no standard way of doing this in CRM 7.0.
I imaging it would be possible to call an ERP smartform from CRM by :
- writing an RFC capable function module in ERP that wraps the call of the smartform and returns the generated PDF data.
- writing a function or method in CRM that calls the ERP function module and displays the returned data.
In the lead and opportunity the print preview is done by having a print relevant action in the action profile assigned to the transaction type and I guess for these it should be possible to call a function module by creating an own smart forms method.
But I think this is not possible for an ERP quotation, so you would have to create an own button. In the event handler for this button, one could call the ERP function module and display the result.
Paul -
How to attach a smartform in to an e-mail
Hi All,
My scenario is i wants to send a quotation details to customer for acceptance for this i prepared a smartform which contains quotation details. I wants to send this information to Customer for this i created a Outgoing email activity can i send by using this activity, if yes let me know how to attach smartform in to this activity and how this ourgoing email will reach to customer , what settings i need to do.
Thanks in Advance.
kumar.Hi,
Go to SPRO Customer Relationhip management ->transactions->BasicSettings->DefineTransactionTypes.
Here select your order type and press on display appliction tool bar .
you will see 5 different blocks.
In Profiles block, for the field Action Profile select ZORDER_MESSAGES for email and ZORDER_MESSAGES_PRINT for printing.
Thank You,
Gajendra. -
How to attach a smartform on a notification
dear sdn,
i am trying to add a smartform on a notification and when i am defining shop papers, i am getting a message "choose the key from the allowed name space"Dear Shah,
While defining the shop paper, system asks for the program name, give your own z program there, and in that z-program, u can define the smart form and keep the next field as blank(since that is SAP script and not smartform). -
How to attach multiple files in UTL_MAIL.SEND_ATTACH_VARCHAR2 method
Hi all ,
I had written a pl/sql where it will write multiple csvs i.e. a.csv,b.csv,c.csv,d.csv to a location using UTL_FILE to reports folder .
How do i attach a.csv,b.csv,c.csv,d.csv into a single mail ??
UTL_MAIL.send_attach_raw (sender => '[email protected]',
recipients => 'recepient.com.sg',
subject => 'Reports',
MESSAGE => 'Reports are attached above',
mime_type => 'text/html; charset=UTF8',
attachment => a.csv,
att_inline => FALSE,
att_filename => file1
Edited by: 907812 on 12-Jan-2012 23:03
Edited by: 907812 on 12-Jan-2012 23:03
Edited by: 907812 on 12-Jan-2012 23:04
Edited by: 907812 on 12-Jan-2012 23:04UTL_MAIL does not work like that - you pointing to an external file and telling it to grab it and attached it to your e-mail.
If you refer to the manual, the attachment parameter specifies it must contain the contents of the file.
So your code needs to open the file. Your code needs to read the contents of the file. Your code needs to close the file. Your code needs to supply the contents text to UTL_MAIL via the attachment parameter.
And as there is only a single attachment parameter, only a single file's contents can be supplied as attachment.
Multiple attachments? Then you need to do what UTL_MAIL does. You need to write code that creates a valid e-mail Mime body. The Mime body must allow for multiple attachment. The Mime body needs to be delivered as an e-mail via the UTL_SMTP package. -
How to raise exception in bor method without showing runtime error
I want to raise custom exception in the bor method like below. However, it will show runtime error when executing codes below. Any knows how to raise custom exception in the bor method without runtime error?
raise 9021.Hi Nick
You need to define the exception 9021 for the method and then you use the macro EXIT_RETURN as below
exit_return 9021 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
Regards
Ravi -
Issue in attachment of smartform to VF03
Hi Experts,
I have done research still the issue is not solved.
I have to attach customized smartform in vf03. When the user clicks the print option, it should open the print preview of the smartform. In menu, when I click billing document-->issue output to, it says 'No output has been selected for printing'.
How to do it? Please guide.
Thanks
Purnandpurnand dhingra
Check Nace Settings, did u assign correct program or not ?
just assign standard driver program with your customized and see the results.
based on that you copy standard one to Z , and make the changes again as per your requirement.
Regards,
Bastin.G -
How to attach files to the threads?
Hi all,
I m new to SDN.and i dont how to send the files to the threads.
can any one please tell me how to attach the files to threads?
and also i want post some useful files.please tell me how to post those files?
Thanks,
UshaHi yugandar,
as u said ,i copied and pasted the XML code of smartform for one thread.
But it is merged.and i think it cant upload again to SAP.
how can i post that one?
Thanks,
usha -
How to send a smartform result through mail?
How to send a smartform result through mail?
HI,
YOu can convert the output of Smartform into a attachment say PDF file & then send it across through mail.
Refer following program:
<a href="http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm">http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm</a>
Best regards,
Prashant -
Attaching multiple smartform to single output type
Hello Experts,
I have 2 different smartforms for invoice....
these two i have to call depending upon the type of customer.
I want to know that is it possible to attach both smartform to single output type ( in this case RD00).
if not..., Please suggest me how i can achieve this.
Thanks,
AmarIf your question is if is it possible to have 2 different SMFs in one single output the answer is yes.
You have to use the control_parameters-no_open and control_parameters-no_close
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSMF1''
IMPORTING
fm_name = g_funcion
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc EQ 0.
g_control_param-no_close = 'X'.
CALL FUNCTION g_funcion
EXPORTING
control_parameters = g_control_param
TABLES
g_t_lugares = g_t_lugares2
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5 .
* Smartform Puestos
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSMF2''
IMPORTING
fm_name = g_funcion
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc = 0.
g_control_param-no_close = ''.
g_control_param-no_open = 'X'.
CALL FUNCTION g_funcion
EXPORTING
control_parameters = g_control_param
i_num_pages = l_tot_pages
i_curr_pages = l_pages_2
TABLES
g_t_puestos = g_t_puestos_ssf
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
ENDIF.
ENDIF. -
Can any one tell me how to attach a pdf file to the mail through workflow
I have a smart which i am able to convert it to a pdf file...now.. can any one tell me how to attach a pdf file to the mail through workflow
Hi,
To create the task for attachment
Use the BOR SELFITEM and method NOTES_APPEND.
The out come of this task contain a link called attachment with a clip attached. Clisk on that icon and choose the type of attachment u want . RAW , EXCEL , TXT , PDF... Then using the import icon u can attach the document u like.
But the TYPE : OBJ.
Similarly using NOTE_DISPLAY method u can display the documents u like.
In any work item u have the facility to attach any atttchment for further circulation .
Attchment @ WORKITEM
1.Click the workitem for which you want to create the attchment
2.Press create attachment
3. Add the attachment u like (PDF)
Reward points for useful answer.
Richard A -
How to comment in smartform for text value in abap
how to comment in smartform for text value in abap.
i want to comment text value which is coming in output
From drag and drop option i had dropped an item text in text window and now i dont want to delete it i just want to comment it so can any one help me in commenting the text value.
Advance Thanks for your helphi
open the text element in the smartform.
on the left corner, we have text editor button.
open that and change the editor (goto-->change editor)
on the new line, give the format as comment line /*. and you can write the comments as required.
such lines doesnt reflect in the output layout.
thanks
pavan -
How to attach multiple file in one mail
Hi,
I've problems with sending multiple files via Gmail account (Ipad version) When sending the photo or video, I've to just click the photo and choose send to mail one by one. Any simpler way? Sometimes i did sent both mpg and jpg but the reciepient didn't see any attachment too
Anyone can help advise how to attach different file (doc, video, photo) in one mail will be a lot appreciated. Thank you so muchYou can attach multiple pictures to an email on an ipad2. Don't know about original iPad.
Choose a photo or take a screen shot (hold down home button and button next to volume control at same time--screen shot now will appear in photos).
Go to photos and edit your picture or screen shot, save it, then hold down on the image and copy it.
Go to mail, create a new mail and paste it in.
Save you mail as a draft.
Go back to photos and select a different photo, copy it, and return to your draft, and paste it in. Repeat if you need to add more.
Anything that you can take a screen shot or have an photo of can be pasted in one at a time into that draft email.
If mail gets uncooperative, during this process, then double click on home button and quit multitasking mail, then open up mail again and send your draft. Uncooperative means gets frozen. -
How to attach more than one picture on an email
How to attach more than one picture on an email?
Tap the square with arrow on top right and select pictures you want to send (max 5 pictures)
http://i1224.photobucket.com/albums/ee374/Diavonex/f0bd7d73.jpg
Maybe you are looking for
-
I have an HP G62 a20sA laptop and its developed a fault. The touchpad is very intermittent, for example if i go to click on something the single click or double click wont work, or if i go to move the pointer it will judder across the screen. The wi
-
Using READ_TEXT to read SO10 (standard texts)
Hi, When we use READ_TEXT F.M for SO10 texts what are the parameters to pass. ID - ST LANGUAGE - EN NAME - Z_TEL (SO10 text id) OBJECT - ? What i should pass to OBJECT & what else i need to input! Thanks in advance. Thanks, Deep.
-
Flash Player constantly crashes on Firefox and Chrome, works on Safari
Hello! This is my first time posting here. I've been working on this all day and have made NO progress. I'm on a Mac OS X 10.9.3 (this was also happening with 10.9.2, I applied the 10.9.3 update today hoping it would make difference). ANY version of
-
In-content Editor image keeping ?action=thumbnail
Hello all, I've been working on a few BC projects now and found the '?action=thumbnail&width=600&height=300&algorithm=fill_proportional' that you can add onto images really useful in helping keep site design - mainly it means clients do not need to u
-
How to preview a .PAT file in Bridge (Photoshop Pattern File)
How can I preview a pattern (.PAT) file in Bridge? Bridge seems to be able to preview just about anything, but .pat files just show up with a default PS icon.