Printing forms from sap r/3 system
Hello Friends,
I need to print a form from the sap r/3 system. I am new to the sap spool and print systems.
Please guide me on how to go about printing the form.
Points will be rewarded for helpful answers.
Thanks,
John.
Hi John,
Go through the below link, it will guide you(with screen shots) i.e how to create spool ? how to convert spool to PDF ?and how to send it as an email? I guess it will be helpful to you.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9">Click here -- Example</a>
Regards,
SaiRam
Similar Messages
-
Unable to import idoc into PI 7.0 system from SAP r/3 system
Hi Experts,
I am getting an error while importing an Idoc structure from SAP r/3 system. The error says "unable to read Idoc segments". The Idoc has recently undergone changes. When We are looking at the struture of idoc through IDOCSYN table it is showing updated structure in SAP R/3 system but import to SAP XI is failing.
Can you suggest some way to tackle this kind of problem.
regards
AnupamHi Francis,
This was indeed an authorization issue. Thank you so much for your valuable suggestion. The user lacked proper authorization to import the idocs.
Hi All,
Thank you for all your support.
Regards
Anupam -
Connection from SAP to our systems involving 2 saprouters
connection from SAP to our systems involving 2 saprouters
we have 1 saprouter inside a dmz and another for connecting to our systems.
we are guessing that this is possible
SAP (sapserv2) -
SNC----> saprouter1 (DMZ, SNC connection) -
> saprouter2 (P * * 3200) ---> SAP1, SAP2...
But how could we do that?
How can we let SAP know that they need to connect to 2 saprouters instead of 1?
The "Mantain System Data" in sap service marketplace only lets us introduce 1 saprouter.
And how should be the saproutettab of the 2 saprouters?
saprouter1:
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 000.00.00.00 *
P * saprouter2 3299
saprouter2:
P * * 3200
P * * 3600
is that possible?
Many thanks !!Hi
As far as my experience goes with this you have to maintain both router information in oss1 tcode
Also mention second router on the second router tab on the SMP data
I hope it should work with that as it will automatically create router table -
How to extract Inventory data from SAP R/3 system
Hi friends How to extract Inventory data from SAP R/3 system? What are report we may expect from the Inventory?
Hi,
Inventory management
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20handle%20inventory%20management%20scenarios.pdf
How to Handle Inventory Management Scenarios in BW (NW2004)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
Loading of Cube
ref.to page 18 in "Upgrade and Migration Aspects for BI in SAP NetWeaver 2004s" paper
http://www.sapfinug.fi/downloads/2007/bi02/BI_upgrade_migration.pdf
Non-Cumulative Values / Stock Handling
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
Non-Cumulatives
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
Here you will find all the Inventory Management BI Contents:
http://help.sap.com/saphelp_nw70/helpdata/en/fb/64073c52619459e10000000a114084/frameset.htm
2LIS_03_BX- Initial Stock/Material stock
2LIS_03_BF - Material movements
2LIS_03_UM - Revaluations/Find the price of the stock
The first DataSource (2LIS_03_BX) is used to extract an opening stock balance on a
detailed level (material, plant, storage location and so on). At this moment, the opening
stock is the operative stock in the source system. "At this moment" is the point in time at
which the statistical setup ran for DataSource 2LIS_03_BX. (This is because no
documents are to be posted during this run and so the stock does not change during this
run, as we will see below). It is not possible to choose a key date freely.
The second DataSource (2LIS_03_BF) is used to extract the material movements into
the BW system. This DataSource provides the data as material documents (MCMSEG
structure).
The third of the above DataSources (2LIS_03_UM) contains data from valuated
revaluations in Financial Accounting (document BSEG). This data is required to update
valuated stock changes for the calculated stock balance in the BW. This information is
not required in many situations as it is often only the quantities that are of importance.
This DataSource only describes financial accounting processes, not logistical ones. In
other words, only the stock value is changed here, no changes are made to the
quantities. Everything that is subsequently mentioned here about the upload sequence
and compression regarding DataSource 2LIS_03_BF also applies to this DataSource.
This means a detailed description is not required for the revaluation DataSource.
http://help.sap.com/saphelp_bw32/helpdata/en/05/c69480c357354a8846cc61f7b6e085/content.htm
http://help.sap.com/saphelp_bw33/helpdata/en/ed/16c29a27db6e4d81a015be8673eb80/content.htm
These are the standard data sources used for Inventory extraction.
Hope this helps.
Thanks,
JituK -
How to load master data from SAP R/3 system like Customer master, materioal master , vendor master.............
Hi Bramha,
Check ...........
Re: master data loading in BI 7.0
/message/4708129#4708129 [original link is broken]
Re: Master data loading.
Regards,
Vijay. -
Is it possible to read Idocs from SAP R/3 System?
Is it possible to read Idocs from SAP R/3 System? Instead of the aRFC
Unless Hydra emulates ECC sending IDOCS, then you just might want to use the WSMessageListener (http://help.sap.com/saphelp_xmii120/helpdata/en/45/6a86ac88130dece10000000a11466f/frameset.htm) and configure your message processing rules accordingly.
-
Tools available to extract documents from SAP document management system
Hi ,
Can anybody provide some valid information on
Tools available to extract the documents and their associated meta data from SAP Document Management system and DIR (Document Information Record) to non SAP document management sysyem ?
Thanks..Hi,
On ALE / EDI interface, you can use Message DOCMAS for triggering the outbound IDocs, you can use Program: RBDSEDOC
For ALE / EDI Configuration, you can refer the book by Arvand Nagpal which is a step by step guide.
Hope this helps.
Best Regards, Murugesh AS -
Export data from SAP Document Management System to File System(FileStore)
Hi,
We need to extract/ export data (documents and metadata) from SAP Document Management System to windows File System (File Store), can anyone suggest us tool or methodology to do the same.
Thanks,
NileshI'm also looking for a solution for this problem. We are capturing comments in BW-BPS layouts. They get stored in BW's document management system and we would like to export them out of the system for external reporting into an ACCESS database.
-
Open iProcurement Smart form from a Third Party System
Hi,
I have a requirement to open the iProcurement smart form from a third party system. We have the Single Sign on functionality so the user can log into the oracle apps without entering the credentials.
Please share if someone has prior knowledge on that.
Thanks & Regards,
Munish MittalIf the ICX_SESSION is already available then the form(I am assuming you are refering to a web based form here) should open directly if the function should be accessible to the user logged in. When you say your custom application is included in Oracle apps are you launching these pages from the Ebiz home page through menus and functions ?
-
Security warning while printing PO from SAP Portal.
Dear Experts,
We are facing below error while printing PO from SAP Portal. After accepting the condition and clicking on RUN the pop-up comes again and again.
Please could you advise the resolution of this. Does any browser setting needs to be changed ?
Please suggest.
Regards,
Arpit CHi Arpit,
Please try below steps...
1. Go into the Control Panel
2. Double click on Java to open the Java Control Panel
3. Go to the Advanced Tab
4. Expand Mixed code
5. Select the option for “Enable – hide warning and run with protections”
For detailed information, please refer to the article:
Error : Java has discovered application components that could indicate a security concern
http://wiki.scn.sap.com/wiki/display/BOBJ/Web+Intelligence+and+Oracle+Java+Runtime+Environment+Known+Issues+in+SAP+BI+4.1
Regards,
Prithviraj. -
How to Print form using SAP Smart Forms which is migrated from SAP Script?
Hello every one,
i have a problem in printing form using smart form which is migrate from the SAP Script...so what method i have to use...if any one know the solution for this than plz reply me as soon as possible...hi
when ever u want to migrate the script to smartform u have to chage the driver program also..
refere this link to convert script to smartform
convert sapscript to smartform
c_formname = u r smartform name...
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
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 SMARTFORM............................
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = st_control_parameters
output_options = st_output_options
IMPORTING
document_output_info = st_document_output_info
job_output_info = st_job_output_info
job_output_options = st_job_output_options
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. -
Open Adobe Print Form from ALV Int. Rprt using the XSTRING already present
Hello Friends,
I have a typicall issue that how to open a Adobe Print Form when a user double clicks in the ALV Report. Here when the user double clicks in the ALV Interactive Report using the unique ID I am getting the Adobe Form from a FTP location in the Form of XSTRING, now using the ABAP ADOBE PRINT FORM not using WebDynpro Application, I need to process this XSTRING and show up the Adobe Print Form.
OR
Is there a way to send the XSTRING to the Output Device or Printer to Display the PDF Form.
Friends please help me in solving this issue.
Thanks and Regards
Pradeep Goli
Edited by: Pradeep Goli on Mar 19, 2009 1:49 PM
Edited by: Pradeep Goli on Mar 19, 2009 2:51 PMHi Pradeep Goli,
it is possible to show PDF in SAP GUI.
Michal
REPORT ZTEST_DISPLAY_PDF.
* You must create dynpro 500 with custom control named HTML.
* In this custom control will be displayed PDF.
DATA: g_pdf TYPE xstring,
pdf_my_container TYPE REF TO cl_gui_custom_container,
pdf_html_control TYPE REF TO cl_gui_html_viewer.
START-OF-SELECTION.
PERFORM create_and_display.
FORM create_and_display.
*** Your code fo filling g_pdf
CALL SCREEN '500'.
ENDFORM.
* PDF preview in HTML control
module html_control output.
perform pbo_html_control.
endmodule.
module html_control input.
perform pai_html_control.
endmodule.
* PAI
FORM pai_html_control.
SET SCREEN '0'.
ENDFORM.
* Showing of PDF
FORM pbo_html_control.
DATA: l_pdf_alignment TYPE i,
l_count TYPE i,
l_noprint TYPE fpboolean,
l_noarc TYPE fpboolean,
l_noprintarc TYPE fpboolean.
* CLEAR: fcode.
SET PF-STATUS 'VIEW_PDF'.
* container
IF pdf_my_container IS INITIAL.
CREATE OBJECT pdf_my_container
EXPORTING
container_name = 'HTML'
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e150(FPRUNX).
RETURN.
ENDIF.
ENDIF.
* html control
IF pdf_html_control IS INITIAL.
CREATE OBJECT pdf_html_control
EXPORTING
parent = pdf_my_container
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e150(FPRUNX).
RETURN.
ENDIF.
* alignment
l_pdf_alignment = pdf_html_control->align_at_left +
pdf_html_control->align_at_right +
pdf_html_control->align_at_top +
pdf_html_control->align_at_bottom.
CALL METHOD pdf_html_control->set_alignment
EXPORTING
alignment = l_pdf_alignment
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e150(FPRUNX).
RETURN.
ENDIF.
ENDIF.
PERFORM pdf_show USING g_pdf.
ENDFORM.
FORM pdf_show USING p_pdf_data TYPE xstring.
STATICS: ls_url TYPE i.
TYPES: lt_pdf_table(1000) TYPE x.
DATA: l_myurl(80) TYPE c,
l_url(80) TYPE c,
l_pdf_data TYPE STANDARD TABLE OF lt_pdf_table,
l_pdf_size TYPE i,
l_pdf_line TYPE lt_pdf_table,
l_offset TYPE i,
l_len TYPE i.
l_pdf_size = XSTRLEN( p_pdf_data ).
l_len = l_pdf_size.
WHILE l_len >= 1000.
l_pdf_line = p_pdf_data+l_offset(1000).
APPEND l_pdf_line TO l_pdf_data.
ADD 1000 TO l_offset.
SUBTRACT 1000 FROM l_len.
ENDWHILE.
IF l_len > 0.
l_pdf_line = p_pdf_data+l_offset(l_len).
APPEND l_pdf_line TO l_pdf_data.
ENDIF.
ADD 1 TO ls_url.
l_myurl(8) = ls_url.
CONCATENATE l_myurl '.pdf' INTO l_myurl.
SHIFT l_myurl LEFT DELETING LEADING space.
CALL METHOD pdf_html_control->load_data
EXPORTING
url = l_myurl
size = l_pdf_size
type = 'application' "#EC NOTEXT
subtype = 'pdf' "#EC NOTEXT
IMPORTING
assigned_url = l_url
CHANGING
data_table = l_pdf_data
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e152(FPRUNX).
RETURN.
ENDIF.
* show data
CALL METHOD pdf_html_control->show_data
EXPORTING
url = l_url
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e152(FPRUNX).
RETURN.
ENDIF.
ENDFORM. -
How to move offline form from SAP dev to QA and Production environments?
I developed and Adobe Form that can be used offline - steps in development are as below:
1. Webservice generated out of a BAPI in SAP.
2. WSDL generated from SOAMANAGER transaction code and kept on a newtowrk folder
3. Used this WSDL to prepare the form in SAP WebDynpro view
4. generated the URL of the webservice per Dev / QA / Prod when the form is being generated out of the WebDynrpo app - function module ICM_SERVER_INFO (used here)
4. Placed a regular type button on the form and passed the URL on the click of the button
5. This worked fine in Dev system.
6. Now the transports are moved to QA. But click of the button was still pointing to the Dev system.
7. Realized that it is reading the Dev WSDL from the network drive - it still tries to submit to the dev url of the webservice
8. So generated the WSDL from SOAMANAGER fo QA and over wrote with the Dev WSDL files.
9. When I opent he Adobe Form in WebDypro in QA, it reads the new WSDLs and updates the correct URLs - I checked this in the XML of the source of the Adobe Form
10. here comes the problem - even though step 9 is done correctly, I can not save the form and activate it to reflect the new URLs - since QA is not open. Same procedure may need to be followed in case of Production also.
So the question is:
How to circumvent this issue of updating the WSDL and URL after the development transport is moved to QA and Prodcution?
Or - QA and Prod have to opened, WSDL and URl updated in change mode of form and a transport also created?
(seems to be a limitation)
(I looked a bit but did not get any pointers when I googled - may be my search is not correct).
Please advise.
Thanks,hi Chandra,
I store the url in one of hidden field in form, then copy javascript below to click event, button control type: Regular.
just replace all the "<>" in the code below.
var message;
var response;
// The name of the data connection will be pulled from the WSDLConnection name in the ConnectionSet packet
var sWSDLName = <DataConnection name>;
// clone, modify and execute the connection.
var vConnection = xfa.connectionSet[sWSDLName].clone(true);
vConnection.soapAddress.value = <url>;
// Execute the connection, without remerge data after the result.
var ws_rc = vConnection.execute(true);
for multiple data connection, you have to repeat these code with replace different data connection name and it's url address.
you may use script object (something like subroutine).
Regards,
Kathy Lau -
Migration of Smartforms / SAPScript forms from SAP R/3 4.7 to SAP ECC 6.0
Dear Members,
We are in process of re-implementing SAP with SAP ECC 6.0 from SAP R/3 version 4.7
We have created many layouts using SAPScripts & SAP Smartforms in SAP R/3.
My question is, are there any migration tools available in SAP ECC 6.0 in the form of function modules, BAPI etc to convert existing forms of Smartforms / SAPScripts created in SAP R/3 4.7 to SAP ECC 6.0 ?
Or do we have to design all existing forms created in R/3 once agin in SAP ECC 6.0 ?
We request our dear members to share their views on the above mentioned problems faced by us in the re-implementation project
Thanking you,
With best regards,
K. Rangarajan
ABAP Programmer
Strides Arcolab Limited
Bangalore, INDIADear Friend,
As per our consultant's view, we are not upgrading from SAP R/3 4.7 to SAP ECC. We are re-implementing; that is, we are going to implement SAP ECC as if we are doing it for the first time ever in our company. This is due to drastic organizational changes happend in our company. So, upgrading from R/3 is not feasible solution, according to our consultants.
So, we have to re-configure all settings in SPRO manually in ECC based on our new business scenario. There will be new company codes, plants, business area etc., which will be totally different from existing R/3 system.
But the template definitions of the existing forms maintained in SAPScript / Smartforms will remain same.
There are 50+ forms (boith SAPScript / Smartforms put together) and manual re-designing of all those forms will be tedious within the scheduled date of GO Live.
In that case, to avoid re-designing, what is the best method that can prevent manual re-design of Smartforms?
For SAPscripts, I got some good news from our some of our dear forum members.
Thanking you,
With best regards,
K. Rangarajan -
Need to send data as files from SAP to other systems.
I need some code which will be useful to me. I fetched data from sap to internal tables. Now, the data needs to be sent to other systems (Informatica or so..) as files. Pl. anyone send me a sample code which i can use in my program.
I will try to reward points to people who will be able to help me.Hi, Pl. find the required code which might be useful for ur question.
Get the data for Userid(l_user) & password(l_pwd) & host string(l_host).
DATA: l_slen TYPE i,
l_error,
l_pwd(30) TYPE c.
CONSTANTS: c_dest TYPE rfcdes-rfcdest VALUE 'SAPFTP',
c_key TYPE i VALUE 26101957.
connect to ftp server
l_slen = STRLEN( l_pwd ).
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = l_pwd
sourcelen = l_slen
key = c_key
IMPORTING
destination = l_pwd.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
text = 'Connect to FTP Server'.
To Connect to the Server using FTP
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = l_user
password = l_pwd
host = l_host
rfc_destination = c_dest
IMPORTING
handle = w_hdl
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Get the path to which the data file needs to be moved (w_outfile).
PERFORM download_to_ftp TABLES it_coacode USING w_outfile.
FORM download_to_ftp TABLES it_tab
USING l_string TYPE char64.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
handle = w_hdl
fname = l_string
character_mode = 'X'
TABLES
text = it_tab[]
EXCEPTIONS
tcpip_error = 1
command_error = 2
data_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
RAISING invalid_output_file.
ENDIF.
ENDFORM. " download_to_ftp
Pl. award points if it has solved ur problem.
Maybe you are looking for
-
Cannot install adobeAIR on my mac book pro!!!
I am having problem on updating my adobeAIR in my mac using the leopard os. Try to uninstall it but i can't find any unistaller utillity. I thought of upgrading my os to snow leopard will solve my issue. No luck. So I am writing up this to u all to s
-
Nokia Lumia 620 Compatible baterries
I've recently bought a Lumia 620. I was wondering if there are any batteries that have higher capacitance than the stock battery, and of course compatible with the Lumia 620? Thanks in advance.
-
How to run the java program from another directory?
Hi Assumption: data.java is in a package suncertify.db and place in a directory c:/code/suncertify/db/ directory data.class file: is in c:/code/suncertify/db/ directory current directory: c:/ How can execute the data.class directly in c:/ directory w
-
Attribute Variables in Weblayouts
Hello, I'd like to create a weblayout with the transaction BPS_WB. But is impossible for me, to use an attribute variable. It's also impossible in transaction UPSPM (planningfolders) to use an attribute variable in an 'able to web' layout. Is this a
-
CS4: Editable Region locked in design view - weird bug in CS4?
Hi, I've the following issue to report: My template based webpages contain 3 editable regions. One of them (cText_m0) refuses editing in desgin view though it's editable (colored code) in code-view. Neither ALT+click nor doubleclick helps. URL of one