How to make use of communication method in output type for new smartform?
Hi all,
My requirement, send the smartform to the carrier by fax/email/print based on the output condition records created.
Here are the things that I had done.
1) created a ZSMARTFORMS - smartforms
2) created a ZPRINTPROGRAM - print program
3) created a ZTCFRT - transaction code
3) created an ZFRT - output type
I am stuck here. What are the next steps ? I want when I run transaction code: ZTCFRT, this print program ZPRINTPROGRAM will call this ZSMARTFORMS smartforms and send/fax/print to the carrier.
It would be great that someone can share the steps with me.
Thanks!
Hi,
Have you written any code in your program or just Created it?
If you have only created it, then you need to call some functions in your PRINT Program and these are:
Below is just an example:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = i_formname
IMPORTING
fm_name = i_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION i_fm_name
EXPORTING
control_parameters = control_parameters
output_options = output_options
user_settings = space
vbeln = p_vbeln
TABLES
it_vbak = it_vbak
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 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.
After calling second function, system execution will reach to the SMARTFORM (which you have created). There in smartform you can do whatever you want.
for more details:
http://help.sap.com/saphelp_nw04/helpdata/EN/a5/de6838abce021ae10000009b38f842/content.htm
also see:
help.sap.com/printdocu/core/Print46c/en/data/.../BCSRVSCRSF.pdf
For any query, revert back.
Regards,
Vishal
Similar Messages
-
How to create an IDOC as an output type for an SAP standard transaction
Hi ,
How to create an outbound IDOC as an output type for an SAP standard transaction.
Regards,
BeenaIn NACE tcode u can create output type with medium as EDI,
u can assign the entry sub routine as ENTRY_EDI in RNASTED -
How to make use of SE37- Function Module & how to find out the table?
Hi ,
1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
But after giving the particular name what should i do?
Please help me.
2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
Thanks in adavnce for spending some time
Raj.SHi Raj
Function Modules
Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
The Function Builder also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
Check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute. -
How to make use of Listener to auto refresh items in SelectOneMenu
Hi,
I have a transaction jsp page that make use of the SelectOneMenu of which the Selectitems for example consists of all the item_code are added to the dropdownitems through the sessionBean1 ArrayList.
The problem started when new item_code are being added to the SQL tables using other JSP that allow user to input new item code.
JSF transaction page using SelectOneMenu could not effectively updated the options to include and reflect the new item subsequently added simply because the page has been rendered to the user .
I believe using some sort of listener , whenever any action or event took place , JSP that are having the particular UI components being rendered could be auto refresh at the client side of JSP html page.
Could anyone provide some hints?
ThankHi,
Thank for the suggestion,
In fact I am looking for two possiblity on how to overcome this sort of issues,
Firstly , if the JSF page has not been rendered , you could always make use of the sessionbean1 to do the job , for example if you add a new item to the selectOneMenu dropitems, you could make use of this method to update the list of items in the dropitems , though it would always be the last items on the sorted list .
Secondly , using some sort of autorefresh to push to the client to inform the user that new item have been added , advise them to manual refresh the page.
I am in fact using the first method to add new item to the dropdownmenu for those JSP that involve page forwarding and redirect such as shopping basket / cart beans .
My concern is when displaying the list of real-time shopping items available to the user , method 1 would not work at all , simply because JSF page was already rendered to the user browser, only beaming alerting message seems to be able to overcome such shortcoming when scenario demand realtime.
Thank -
How to make use of adjacent data elements within the same buffer
Hi,
Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
Here I also attach my VI showing what I did.
Thank you very much in advance,
Suksun
Attachments:
wheel_encoder_1.vi 98 KBHi Suksun,
I hope you'll forgive me for distilling your code - mainly to understand it better. I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array. As in your code, the last velocity is being paired with the first position. If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
cheers
Message Edited by Dynamik on 01-07-2006 03:17 AM
Message Edited by Dynamik on 01-07-2006 03:19 AM
When they give imbeciles handicap-parking, I won't have so far to walk!
Attachments:
encoder2.GIF 14 KB
encoder2.vi 102 KB -
Sorry for the typographical mistake.
Please read the question as:"How do i get a list of all Roles defined under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?" -
How to make a photo STAY in the assets panel for future use for In browser editing?
How to make a photo STAY in the assets panel for future use for In browser editing?
When I delete a photo from a page, it does not stay in the assets panel. My client uses in browser editing daily. Once a week he changes a photo just for a day, then needs the previous photo to replace it. The original photo is not in the asset panel (or folder) for him to choose.
When you upload a photo, it has an arrow in the asset panel. How do you use this as an asset?Sure ... right mouse click on your page and choose 'Exclude Page from Menus' :-)
-
How to make use of BAPI_CATIMESHEETMGR_CHANGE
Hi All,
We need to make use of BAPI_CATIMESHEETMGR_CHANGE for changing entered hours against an activity instead of adding new row for the same(BAPI_CATIMESHEETMGR_INSERT does that ) . Please guide me what all table parameters we should supply while executing this FM.
Regards,
Ganga.Hi Senthil,
Now I have got how to make use of BAPI insert and change. But problme is when I need to add an hours entry for , say tuesaday of activity A for which already HAS monday hours,I am using BAPI_CATIMESHEETMGR_INSERT AND IT IS ADDING ONE MORE ROW AS SHHOWN BELOW
. But it adding new row. How top overcome this.
<b> Monday
A 2</b>
After insert
<b> Monday Tuesday
A 2
A 3</b>
=----
SHould I use delete and insert.
Please help me..;
Regards,
Ganga
Message was edited by:
Gangadharayya Hiremath
Message was edited by:
Gangadharayya Hiremath -
How to make use of the presentation variable in SQL result query
I have 2 prompts in my dashboard.
Prompt1 decides the values of Prompt2.
I have set a presentation Variable (selected_comp) in prompt1 which holds the value selected.
To populate the values for Prompt2, I need to execute a query using the presenation variable set by Prompt1.
SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=@{selected_comp}
the query is resulting into
SQL Issued: SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=0
but the value in selected_comp is "ABC".
Can anybody help in how to make use of the presentation variable in query to get the correct value
thanks
ShubhaJust use constrain check box to filter your 2nd prompt values based on the 1st prompt.
Thanks,
Venkat
http://oraclebizint.wordpress.com -
How to make use of classlocator in NWDS.
Hi Experts,
I don't have Class / jar Locator.
I am unable to install from SourceForge Website, it is showing some error.
where can i get it ?
And how to make use of classlocator in NWDS.
Help me out in this regard.it's urgent
Regards
BalaHi Balakrishna,
You can download the classlocator from this URL:
http://www.filewatcher.com/b/ftp/ftp.heanet.ie/mirrors/download.sourceforge.net/pub/sourceforge/c/cl/classlocator.0.0.html
Check this thread for more help
How to use classlocator plugin?
Thanks n Regards
Santosh
Reward if helpful !!! -
How to make use of the XFList in the Function Bar of the XML Form Builder?
Hello:
Now I am creating blog using the XML Form Builder.
In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
lexian
Thanks a lot!In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
The first text box under Groups attribute corresponds to SCREEN-GROUP1,
2nd text box for SCREEN-GROUP2
3rd text box for SCREEN-GROUP3
4th text box for SCREEN-GROUP4
Hope this helps.
Thanks,
Balaji -
How to make use of label printing in sap smartforms
Hi Dear,
How to make use of label printing in sap smartforms.. I need to print four records from internal table into sap smart forms. It will
come as four labels.All page should follow the same procedure... How to do...please help me..
Regards,
NikhilHi,
Please go through below link, would be helpfull for you.
[http://help.sap.com/saphelp_nw04/helpdata/EN/6b/54b4b8cbfb11d2998c0000e83dd9fc/frameset.htm] -
How to make use of 'Icon Name' in Logical link?
I see the option 'Icon name' in 'define logical links' in SPRO. It does not however has an F4. I tried giving the name of image in the relevant skin. But no image appears besides the logical link. Is there something else that needs to be done to get an image besides workcenter link? How to make use of this 'Icon Name' in logical link?
Hi,
i guess this icon_name is not possible for every skin in CRM70.
We use nova skin - here it is not possible.
With default skin i saw icons for example on the salespro startpage.
Kind regards
Manfred -
How to make use of 32bit packages on Arch64
Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs.
My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
Arch x86_64 / XFCE4
Thanks in advance
Last edited by kaola_linux (2008-12-09 15:24:36)kaola_linux wrote:
Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs.
My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
Arch x86_64 / XFCE4
Thanks in advance
You can reuse the packages in /var/cache/pacman/pkg/ on your Arch32.
You can use these saved packages in a 32bit chroot ENV on your Arch64. Just pacman -U all of them. -
How to make use of StreamGobbler?
Hi,
I want to redirect the out and err statements to a file.
I found a class called StreamGobbler at http://www.physionet.org/physiotools/puka/sourceCode/puka/StreamGobbler.java
I dont know how to make use of it as I have almost no knowledge of Concurrency and threads in Java.
Plz guide.I found a class called StreamGobbler at
http://www.physionet.org/physiotools/puka/sourceCode/p
uka/StreamGobbler.javaDo you see, at the very top of that page, the URL for the original article? It explains everything step by step in great detail.
Maybe you are looking for
-
Need Help To Create a Subpicture For Menu Buttons
I've looked online, and Adobe and other sources say to create a custom subpicture (as in an animation to highlight my buttons not provided by default) and they all say the same thing: Open the menu in Photoshop, select the button folder and create th
-
SAP ACC 7.3 - Start Services
Hi, We are using SAP ACC 7.3 on NW 7.3 system. As part of i am trying the functionality of Mass Restart or Stop and Start kind of options. During the Mass Restart it stops dialog servers, CI and database in the order and when it automatically does st
-
How can I stop and restart the ApplePhotoStreams.Exe process on my Windows 7 computer?
I sometimes notice my CPU utilization skyrockets and my computer fan switches to high. This happens sporadically. The process causing this is ApplePhotoStreams.Exe. It appears the process goes into some infinite loop trying to update or sync pictures
-
InDesign lock files, read only permissions...
I've had this strange problem for over a year now, unsure as to why it was happening. Now I've realized what the problem is, but I don't know how to fix it. We build ads in InDesign. Production, who builds the ads, has basically full control to the a
-
How to deploy MAM 2.5 into MI Server
Hi all, I'm trying to install MAM 2.5 SR2 into a WebAS 6.40 + MI SP13. I'm following MAM Installation Guide, but I'm stuck at page 8, on the second paragraph, when it says: "Deploy SAP Mobile Asset Management 2.5 on Mobile Infrastructure server 2.5 (