Document (Originals) Travel through SAP
Hi Experts,
I want to know about, how the document (Originals attached to the DIR) actually travel in SAP when saved or Opened in SAP GUI, EDMS, web portal.
Here is more explanation about the requirement.
1. When I save an Original Document in a DIR, it gets saved physically on the SAP SERVER.
2. When I try to open the Original Document in a DIR, then the document is moved temporarily to application server and opens up, or some reference pointer points to the document location on server and opens the document from the server location?
Can you please help, based on this I have further interesting requirement to store documents physically in location based server.
Waiting reply.
Regards,
Sagane
Hi Rahul,
As Chandu said that DMS document metadata stores in SAP but physical file will be saved in external server if its integrated with SAP.
Again to understand the storage functionality you need to find what content repository is used for saving document in DIR. Usually DMS_C1 is used for CV01/02/03.... transaction. You need to check the property of DMS_C1 through transaction OAC0. There could be two scenarios here.
1. DMS_C1 ------ If storage type is defined as R/3 database then that means the data is getting stored in SAP Data base and not externally.
2. DMS_C1------ If storage type is defined as HTTP Content Server then that means data is getting stored externally on a content server which is integrated with SAP. Actual document gets stored in the external server and in SAP only the "http://.............................................." link will get generated. So when you try to open the document then the corresponding http:// link gets called and ultimately it opens the document. This http link consist of external server ip address, port number, document id, content repository details. So when a particular document is opened through these transaction, in the background it creates a http link with the concatenating external server, port number, doc id and content repository and then finally the link is triggered automatically and the document opens.
To get more clarity check the content repository properties through OAC0 transaction. Hope above helps. Thanks.
Regards
Ankit
Similar Messages
-
Mass upload of documents through SAP Archive Link
Hi Experts,
Our client is having a requirement, to upload legacy (old) data from third party tool to DMS Content server through Archive link. Tool is implemented and it works fine for attaching individual document along with SAP Object like, Purchase Order, material, etc.
We dont have any idea as how to upload bulk of drawings for material, need your advice on this.
Regards,Hi,
I am trying to get more info on how to bulk upload employee documentation through SAP Archive Link' OpenText Enterprise Scan into the categories in OAWD. Once the documents are in Enterprise Scan the Administrator needs to link these to the categories in SAP. This is a manual process - is there a way to bulk upload these documentation to the right categories? Since these documents vary I am not sure that OCR will be a help.
Pleae could you help in this regard.
Thank you.
Regards,
-- Gustav de Bruyn -
How to pass thr document from Webdynpro into SAP R/3?
HI Gurus,
I have a requirement to offer a Document uploading option through Java webdynpro screen.
I have referred the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
which has the steps till uploading the document into Webdynpro
Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
Please adRefer Oliveri's solution in [this|Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2); thread.
-
How to pass the document from Webdynpro to SAP R/3?
HI Gurus,
I have a requirement to offer a Document uploading option through Java webdynpro screen.
I have referred the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
which has the steps till uploading the document into Webdynpro
Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
Thanks in Advance,
DharaniHi,
The documents are uploaded from WDJ to Portal Server / Portal Content Directory / Some Shared Drive .
So that they can also be programmed such a way that they can be fetched whenever needed .
The requirement is interesting but before you take step think how far it is feasible .
Regards,
Srini -
Error in Uploading of Documents into Portal through KM
Hi All,
I Am new to KM, i am uploading the Word Documents into Portal through KM, this is the path : Content Administrator->KM Content->Documents--->
here i am creating one folder after that i am uploading one Word Document into through Folder--->Upload, but when i am clicking on that uploaded document it shows Portal Runtime error....This is my problem....
Could u please solve my problem....for me this is very urgent.....
Thanks and Regards,
Abhiram Choudary.Hi Abhiram,
Please check it the link to the file uploaded file is ok, in order to make sure that there is a problem with the upload. The link should look like: <Protocol>://<Portal_Server_Name>:<Port>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/<your_Folder>/<your_wordfile_name>.doc
or
<Protocol>://<Portal_Server_Name>:<Port>/irj/go/km/docs/documents/<your_Folder>/<your_wordfile_name>.doc
If it's that's not the case you might need to change the configuration of the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/7d/236cfa17034a37a439dc392ec59eb0/content.htm">URL Generator Service</a>. Perform the steps indicated under "Activities".
Hope this helps,
Robert -
Problem with printing through SAP
Hi All,
We have problem with printing, only one person through SAP can only print the documents successfully and the remaining are getting incomplete print output. This is happening only for transactions GD23 and FB03 (FI related transactions). We have tried with removing Saplpd folder and installing Sprint as suggested by SAP from note 894444. Still problem persists. Please suggest me in this regards.
Veerendra Kumar.Hi Ardhian,
We are using Front end printing and already installed SAP GUI new version i.e. 7.10.
Only one user is able to print the document correctly from SAP, and other are getting incorrect print and getting error message "System cannot print the last 80 columns of the report" on one system.
SAP version we are using is 4.7EE.
Let me know if any more information needed for analysing the issue.
VeerendraKumar.
Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:35 AM
Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:37 AM -
How can I send purchase order through SAP mail ?
How can I send purchase order through SAP mail ? Can any one explain whts the NACE settings?
just do it as <b>Anji reddy</b> said to you ...or else ... in the purchase order trascation ...print it ... so that it will generate the spool request for that purchase order ....
so the the belwo program is for sending <b>the Spool Request data as Email to any Email id ...</b>
The code below demonstrates how to retrieve a spool request and email it as a PDF document. Please note for the below program to process a spool request the program must be executed in background otherwise no spool request will be created. Once you have had a look at this there is an modified version of the program which works in both background and foreground. Also see transaction SCOT for SAPConnect administration.
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
* Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
* Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
* Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
* Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
* Write statement to represent report output. Spool request is created
* if write statement is executed in background. This could also be an
* ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
*** Alternative way could be to submit another program and store spool
*** id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
* to sap-spool
* spool parameters %_print
* archive parameters %_print
* without spool dynpro
* and return.
* Get spool id from program called above
* IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
* FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
* FORM get_job_details *
FORM get_job_details.
* Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
* FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
* Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
* FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
* perform send_email using p_email2.
ENDFORM.
* FORM send_email *
* --> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
* Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
* CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
* If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
* Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
* FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
* Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
* Fill the document data.
w_doc_data-doc_size = 1.
* Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
* Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
* Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
* Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
* Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
* Populate zerror return code
ld_error = sy-subrc.
* Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
Girish -
FM-FI-TM: missing reference document from Travel in FMIFIIT, field VREFBN
Hi everyone!
When I post a document in Travel Management (transaction PRRW), where one account is reconciliation account and the other is expense account, there is connection between this document and the FI document in field VREFBN, table FMIFIIT. But when I post a document in PRRW where one account is simple GL account and the other expense account, there is NO link. In FM this document is updated with the value type 54 (invoice) in both cases.
I wonder if this is the way it should be or this is a mistake?Hi,
In Funds Management, commitments documents are generated by the trips entered in Travel Management. You display these trips in the information system (value type u201C52u201D). Updating always takes place with the net amounts.
Therefore, your situation is correct, you can have postings in FM and not in FI where it is a commitment, not a real actual value already.
Let me clarify one thing:
FI - actual postings
PSM-FM - commitments (do not have invoice or payment yet) AND actuals postings
Kindly check the very good documentation in help.sap.com below:
=========================================================================
Integration with Travel Management
=========================================================================
Use
If you use the Travel Management component you can enter the trips in Travel Management with an FM account assignment and so integrate employee travel expenses in Funds Management.
With this, the assignment of travel expenses can take place in accordance with the assignment values for the entire trip, for documents, for destinations and according to kilometer distribution.
Integration
In Funds Management, commitments documents are generated by the trips entered in Travel Management. You display these trips in the information system (value type u201C52u201D). Updating always takes place with the net amounts.
The updating control depends on which components you use integrated with Funds Management in addition to Travel Management and which account assignment elements you want to use. The settings for Controlling and Salary and Payroll Accounting determine how the account assignments are specified or derived for Funds Management. You determine which areas of responsibility in Funds Management the costs should be assigned to.
The integration with Human Resources (HR) also plays an important role in this. For more information, see Integration with Human Resources The prerequisites described in this for the different scenarios are also valid for Travel Management.
Prerequisites
For information on the prerequisites for updating travel expenses, see Prerequisites for Updating in Funds Management.
The following prerequisites also apply:
Fund, Functional Area and Grant
If you want to use the account assignment elements fund, functional area and grant, you must activate the account assignment elements in the Customizing of Public Sector Management in IMG activity Activate Account Assignment Elements.
If you are also using Human Resources, in this IMG activity you must also specify the date from which the activated account assignment elements must be defined when creating/changing personnel master records for the infotypes in addition to the HR master data used in Travel Management.
Funds center
So that you can define the funds center in the personnel master record, you must define the date from which this account assignment element must be defined when creating/changing existing personnel master records in the Customizing of Funds Management Government in IMG activity Start for Integration HR (without personnel commitment scenario 2).
Manual account assignment for travel
In order to assign the trips to an account manually you must ensure that the fields you want to use u2013grant, fund, functional area, funds center and commitment item- must be ready for input when entering travel data. You enter the required settings for this in Customizing of Financial Accounting, as follows:
Choose Travel Management ® Travel Accounting ® Dialog and Payroll Control ® Dialog Control ® Install Variable Structure for Account Assignment Objects and choose the coding block which is relevant to you:
· If you want to enter the FM account assignment in the cost apportionment for the whole trip, choose Account Assignment Objects: Expense Assignment Value for Complete Trip.
· If you want to enter the FM account assignment in the cost apportionment of a document, choose Account Assignment Objects: Expense Assignment Value for Document.
· If you want to enter the FM account assignment in the cost apportionment of the stopovers, choose Account Assignment Objects: Expense Assignment Value for Destination.
· If you want to enter the FM account assignment in the cost apportionment by kilometers, choose Account Assignment Objects: Expense Assignment Value of km Apportionment.
Enter variable names for the account assignment elements you want to use, for example C COBL-CMMT ITEM, COBL-FNDS CTR, for the relevant account assignment blocks.
Derivation of FM account assignment elements from CO account assignment
If you are using Controlling and want the FM account assignment elements to be derived automatically from the CO account assignment, you must:
· Define a step in your derivation strategy, in which the FM account assignment elements are assigned to CO account assignments. For more information on this topic, see Deriving FM Account Assignment Elements from CO Account Assignments.
· Hide the fields for the FM account assignments elements.
Therefore, you cannot maintain the field status as described above.
Deriving FM account assignment elements when integrating with Human Resources
In order to assign the trips to an account manually you must maintain the field status as described above.
If you do not manually distribute the travel expenses for an employee completely, the travel expenses are distributed in accordance with the cross-trip cost assignment value, the so-called travel expenses assignment rule.
The prerequisite for this is that you maintain the infotypes in the HR master records in accordance with your requirements. For information on how the system then determines the valid travel expenses assignment rule, see Travel Expenses Assignment Rule.
During the settlement of a trip, if you want to distribute travel expenses to several grants, functional areas or funds centers, you must enter several account assignments for infotype 0027 (cost distribution), subtype 02 (travel expenses) along with the relevant percentages for the distribution in master data maintenance for the HR master records.
Features
The travel expenses assignment takes place in accordance with the Travel management functions. However you must take the following into account:
· Advances are not taken into account in Funds Management, and the same applies to data that you enter using fast entry.
· Requested trips are only updated statistically.
· If the trip data has the status u201CTravel requestu201D, the data is only updated statistically in the standard system. The active availability control does not take place until after the approval.
Activities
When entering trip data, you enter the account assignments that are relevant to the budget. If you do not enter the FM account assignment manually, the system makes postings to the account assignments according to the settings and assignments you have made.
For travel expenses accounting the system defaults the FM account assignments to the Financial Accounting documents, which are generated by the accounting.
For more information on entering travel expenses and travel expenses accounting, see the FI Travel Management documentation.
===========================================================================
Please check also the notes (in www.service.sap.com/notes):
900509 - Posting date for Funds Management (consulting solution)
90320 - No bank posting of HR/FI-TV payrolls
I hope it helps you
Best Regards,
Vanessa Barth -
Is there is any way to check the SAP downtime through SAP itself.
Regard
VishnuDear Vish,
I would suggest that you first downlaod and read SAP Note 1129385 - Downtime management with Solution Manager : FAQ
Once you have read that docuement, then please look at
https://websmp103.sap-ag.de/~form/sapnet?_SHORTKEY=00200797470000089860&
Page 10-21 will guide you though planning uptime and downtime, notifying users about scheduled downtimes, defining downtime alerting, executing downtime, editing downtime and reusing downtime.
These two documents will answer all your questions and guide you to successfully implementing downtime management.
I know this information will be helpful.
Regards,
Paul -
SCADA - XMII - ERP integrations through SAP PI
Hi Experts,
I have an integration scenario comprising of a SCADA system & SAP ECC. Could anybody suggest some document / send reference links on SCADA - XMII - ERP integrations through SAP PI.
Useful response would be appreciated.
Regards,
SanthoshSCADA-XMII integration
Scada system should always remain connected to some Historian system. You can directly connect to SCADA system to xMII using vendor specific UDS (Universal Data Servers) Like Citect UDS ...
If vendor specific UDS is not available in MII then you can make it possible if the SCADA system is OPC complaint, through OPC UDS DA, but it provides only current data without any mata data information.
As a robust business practice it is not recommended to use direct SCADA connectivity to xMII, it should go through some Historian( Citect, Wonderware, Siemens...many more) so XMII will be able to get all plant floor operations data in history & current modes.
XMII-ERP Integration
XMII supports IDOC & BAPI communication with ERP system using various SAP connectors available in XMII as in SAP BC, SAP JCO.
Specific to PI Sheet, you can download various control receipe, process orders data using IDocs.
BAPIs can be used to do "process order confirmations" back to ERP system and make changes in process data.
Let me know if you would like to know about specific SCADA system- xMII connectivity or specific activity in PI.
Thanks
Ram Upadhyay -
What is traveling through network when we fire an archiving?
We have here an ERP System running on Oracle being replicated to HANA (Side-car) using SLT.
When we archive a lot of data from ERP, SLT is taking a very long time to empty the replication queue.
What is traveling through network? Every record deleted? Every SQL Transaction in Oracle (ERP)?Hi Vitor,
You have posted your question in wrong forum, please redirect your query to right forum:
http://scn.sap.com/community/replication-server
hope your query will be answered in the above community.
Regards-
Gagan Kumar -
How to carry forward any open documents in a new SAP B1 Implementation
Hi,
I want to know what are the best practices to record any open documents during a fresh SAP B1 implementation.
The client has an existing running business and may be implementing SAP B1 at the start of the financial year or during the middle of the financial year.
How do I enter the open documents as on the go-live date; documents like open Purchase Orders, open Sales Orders, open GRPO, open Deliveries, etc.
What are the multiple approaches / alternatives to evaluate and what are the best practices?
Note: I am not talking merely about the GL or Inventory Opening Balances, but the entire set of open documents!
Thanks.1. When it comes to documents that post to the G/L you want those posted the day you go live as this is part of your opening balance. This would be for you A/R and A/P Invoices. Just make sure the Due Dates are correct and the G/L account is your Opening Balance account. Why? So you can run a trial balance for that day. So in your case I would either do 1-SEP-2014 or 31-Aug-2014. Again I prefer to enter them in as the day before go live so that I can easily run a Trial Balance on my opening transactions. I have yet to have the opening balance balance out on these imports.
2. I would go with the open items on the PO. Why? Less work and still accomplishes the need for open items. In all cases add the original document # from the legacy system in the remarks so you can always find the original.
3. Once again, I would go with only the open balance. Why? It is less work and you can always record any audit remarks in the remarks section of the document. Remember the goal is to import your opening balance. You do not want to step into historical data, it is not easy and takes a long time. So unless the customer is paying for it, this can become a money loser. If analysis is need on historical data, then they have their legacy system to look at.
4. The whole reason for the Service Type invoices is purely for the opening balance of the Accounts Receivable and Accounts Payable opening balances. The document total should be the total for the amount that is owed as this is your opening balance for the A/R and A/P accounts along with the customers and vendors sub ledger.
5. Yes. It can be done through the DTW. I haven't tried the new features on the Inventory Counting, but I believe they have added an import feature. Either way should work as long as you get the inventory in the correct places and the inventory accounts to the correct value.
Remember, opening balances are meant to be the values of the legacy system as a snapshot in time. This means that inventory is correct and in the correct place and most importantly the accounts are correct. The reason for the Opening Balance account is as an offset account to the journal entries you create for importing these opening documents. In the end, the Opening Balance account should be 0 if the legacy system is balance. -
EMAIL to external server like Yahoo through SAP
Hi all,
I want to send a mail to the vendor when a PO is created through SAP. Please tell me what is the procedure to follow to do it and what all are the setings need to be done in SAP to send Email through SAP to external server like yahoo, rediff etc.
Thanks*& Form F_SEND_MAIL
Send the mail to corresponding user
FORM F_SEND_MAIL.
DATA : LV_TABLE_LINES LIKE SY-TABIX. " table index
CLEAR: V_MSG1, IT_RECLIST.
REFRESH IT_RECLIST.
*-popualate email ids
IT_RECLIST-RECEIVER = V_UNAME.
IT_RECLIST-REC_TYPE = 'B'.
IT_RECLIST-SAP_BODY = C_X.
IT_RECLIST-EXPRESS = C_X.
*-append receiver table
APPEND IT_RECLIST.
CLEAR IT_RECLIST.
*-populate document attributes
CLEAR: X_DOC_CHNG.
X_DOC_CHNG-OBJ_NAME = 'Error'(M01).
X_DOC_CHNG-OBJ_DESCR = 'ERROR REPORT'(M02).
*-populate body text
IT_OBJTXT = 'Error file is attached'(M03).
APPEND IT_OBJTXT.
*-document size
CLEAR : LV_TABLE_LINES.
DESCRIBE TABLE IT_OBJTXT LINES LV_TABLE_LINES.
READ TABLE IT_OBJTXT INDEX LV_TABLE_LINES.
X_DOC_CHNG-DOC_SIZE =
( LV_TABLE_LINES - 1 ) * 255 + STRLEN( IT_OBJTXT ).
*-populate packing list for body text
CLEAR IT_OBJPACK-TRANSF_BIN.
IT_OBJPACK-HEAD_START = 1.
IT_OBJPACK-HEAD_NUM = 0.
IT_OBJPACK-BODY_START = 1.
IT_OBJPACK-BODY_NUM = LV_TABLE_LINES.
IT_OBJPACK-DOC_TYPE = C_DOCTYP.
APPEND IT_OBJPACK.
CLEAR IT_OBJPACK.
*-populate object header
IT_OBJHEAD = 'INET TO SAP Error Report'(M04).
APPEND IT_OBJHEAD.
CLEAR IT_OBJHEAD.
*--for attachment ---start
*-populate object bin table for attachment
*-column header
LOOP AT IT_MAIL.
IT_OBJBIN = IT_MAIL.
APPEND IT_OBJBIN.
CLEAR IT_OBJBIN.
ENDLOOP.
*-get total no.of lines of Object table(attachment)
CLEAR : LV_TABLE_LINES.
DESCRIBE TABLE IT_OBJBIN LINES LV_TABLE_LINES.
*-populate object header
IT_OBJHEAD = 'Report'(M05).
APPEND IT_OBJHEAD.
CLEAR IT_OBJHEAD.
*-packing list for attachment
IT_OBJPACK-TRANSF_BIN = C_X.
IT_OBJPACK-HEAD_START = 1.
IT_OBJPACK-HEAD_NUM = 1.
IT_OBJPACK-BODY_START = 1.
IT_OBJPACK-BODY_NUM = LV_TABLE_LINES .
IT_OBJPACK-DOC_TYPE = C_DOCTYP .
IT_OBJPACK-OBJ_NAME = 'ABCD'.
IT_OBJPACK-OBJ_DESCR = 'ERROR REPORT'(M02).
IT_OBJPACK-DOC_SIZE = LV_TABLE_LINES * 255.
APPEND IT_OBJPACK.
CLEAR IT_OBJPACK.
*--code for attachment -- end
*-Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = X_DOC_CHNG
PUT_IN_OUTBOX = C_X
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
PACKING_LIST = IT_OBJPACK
OBJECT_HEADER = IT_OBJHEAD
CONTENTS_BIN = IT_OBJBIN
CONTENTS_TXT = IT_OBJTXT
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
RECEIVERS = IT_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4 INTO V_MSG1.
MESSAGE I000 WITH V_MSG1.
ENDIF.
Hope this code will be useful -
How to see documents checked-in to SAP Content Server ?
Hi ,
I'm not sure if this is the right forum for this question but I did not find anything more pertinent.
We have a scenario in ECC 5.0 which we are attaching PDF/etc document to SAP DMS Document records in Tcode CV01N/CV02N . Subsequently we check-in those originals to the SAP Content Server. All this is working just fine as the underlying settings for the content repository in Tcode CSADMIN is appropriately set.
Is there a way to monitor how many and which documents have been checked in to the SAP COntent server. In the 46C/47 days, we used to go to Tcode OAAD and get a count & list of all documents that have been shipped to a content repository. In the scenario for SAP Content server, I'm unable to use this tcode to get the information.
Is there another tcode that will give me the information on the documents linked to the Content Server ?
Your help is greatly appreciated.
Thanks,
VipinHi to add more...
On service Market Place....
Go with the below path
Installations and Upgrades --> " SAP Application Components" --> SAP EASY DOCUMENT MANAGEMENT" ---> SAP EASY DOCUMENT MGMT 6.00.
Thanks,
Tanuj -
Unable to log on through SAP GUi
Hello Gurus,
Issue: Unable to logon through SAP GUI after giving the username and
Password. When the user name and password is entered the system gets to the process mode but hangs in the same stage.
When i check the R3trans -d the following is the result:
This is r3trans version 6.13 (release 640 - 12.12.05 - 14:24:42).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_o
ra_tnsname = 'B3Q'"
r3trans finished (0012).
It means the r3trans is not able to connect the DB. Please suggest a
OSS note for this issue or solution for this issue asap. This
is very urgent.
We are using Nw04,BW3.5, BI3.53, EP6.0 & Oracle 9i. The following are
the support pack details:
Operating system Windows NT
Machine type 4x Intel 8
Database system ORACLE
Release 9.2.0.4.0
Kernel release 640
Compilation NT 5.0 2
Patch Level 109
ABAP Load 1521
CUA load 16
Mode opt
DB client lib. OCI_920_SHARE
DB releases ORACLE 9.2.0..,
DBSL version 640.00
DBSL Patch Level 109
SAP_ABA 640 0016 SAPKA64016 Cross-
Application Component
SAP_BASIS 640 0016 SAPKB64016 SAP Basis
Component
PI_BASIS 2005_1_640 0007 SAPKIPYJ67 Basis Plug-In
(PI_BASIS) 2005_1_640
SAP_BW 350 0016 SAPKW35016 Business
Information Warehouse
BI_CONT 353 0009 SAPKIBIFP9 Business
Intelligence Content
AOFTOOLS 400_640 0000 - Add-On
Assembly Kit (AOFTOOLS 400_640)
Enterprise Portal 6.0:
J2EE Engine 6.40 PatchLevel 104329.313
Portal 6.0.17.0.0
Knowledge
Management
Collaboration 6.0.17.0.0 (NW04 SPS17)Hello Veer .
Please try to do the following ...
<b>ORA-01017: Invalid username/password; logon denied</b>
Message ORA-01017 can occur both in step 1a) and in step 1b) or 2). Depending on this, the problem can be corrected as follows:
1a) log entries: Logon as OPS$ user to get <sapowner>'s password
Connecting as /@<sid> on connection 0 ...
ERROR => OCI-call 'olog' failed: rc = 1017
ERROR => CONNECTfailed with sql error '1017'
If you intend to use the standard password for <sapowner> anyway, you can ignore the error message at this point, as the OPS$ mechanism is not needed at all and the connect is carried out using <sapowner>/sap successfully afterwards. Note, however, that BR*TOOLS require a working OPS$ mechanism when executing via DB13!
Otherwise, make sure that an appropriate OPS$ user is set up. To do this, proceed as follows:
Check whether the parameter
os_authent_prefix = ops$
is set correctly in init<sid>.ora. If you have to make a change, restart the database afterwards.
On Windows, make sure that the following parameter is set in sqlnet.ora:
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Determine which operating system user <os_user> wants to create the connection. If this involves a connect initiated out of the R/3 System (for example, work process connect, DB13 actions), user <sid>adm is used under UNIX and user sapservice<sid> under NT. If you manually called the program that executes the connect, the user you are using is decisive here.
Use SVRMGRL to check whether the user OPS$<os_user> (or OPS$<domain>\ <os_user> for NT with Oracle >= 8.1.5) has been created at database level:
SELECT * FROM DBA_USERS WHERE USERNAME = 'OPS$<os_user>';
(for <os_user>, always use upper case)
If the system does not return an entry, create the user:
CREATE USER "OPS$<os_user>" DEFAULT TABLESPACE <user_tsp>
TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
Note that the name of the OPS$ user must be specified completely in uppercase letters (also the host and domain names in case of NT and W2K), since a logon as OPS$ user will not work if it is not:
wrong: CREATE USER "OPS$c11adm" DEFAULT TABLESPACE ...
CREATE USER "OPS$sapdom\C11ADM" DEFAULT TABLESPACE ...
correct: CREATE USER "OPS$C11ADM" DEFAULT TABLESPACE ...
CREATE USER "OPS$SAPDOM\C11ADM" DEFAULT TABLESPACE ...
Tablespace <user_tsp> is used when newly creating objects, when no explicit tablespace name is specified. In connection with R/3, this is almost never the case. Therefore, you can specify any tablespace. Proposal:
R/3 <= 4.6D: <user_tsp> = PSAPUSER1D
R/3 >= 6.10: <user_tsp> = PSAP<sid>USR
Check whether the OPS$ user has sufficient authorizations. The following statement must at least return CONNECT and RESOURCE:
SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS
WHERE GRANTEE = 'OPS$<os_user>';
If CONNECT and/or RESOURCE is missing, you can grant theseauthorizations as follows:
GRANT CONNECT, RESOURCE TO "OPS$<os_user>";
If all the settings described above have been made correctly on NT/ Windows 2000, but the error ORA-01017 is still displayed during the OPS$ Connect, the cause may be a start user set incorrectly for the SAP Service. Change to the services overview of the operating system and check the user who starts the service SAP<sid>_<instance_number>. If the user is not sapservice<sid>, enter sapservice<sid>. Other users (such as the local administrator) do not have an OPS$ user in the database, which leads to error ORA-01017. Check also whether the start user sapservice<sid> is a local user or a domain user. Domain users can be identified by the preceding domain name. Depending on this, the following OPS$ user should exist on database level:
Domain user: <domain>\sapservice<sid>
OPS$ user: OPS$<domain>\sapservice<sid>
Local user: sapservice<sid>
OPS$ user: OPS$<local_host>\sapservice<sid>
1b) log entries: Logon as OPS$ user to get <sapowner>'s password
Connecting as /@<sid> on connection 0 ...
Now I'm connected to ORACLE
Got <sapowner>'s password from table SAPUSER
Disconnecting from connection 0 ...
Now I'm disconnected from ORACLE
Try to connect with the password I got from OPS$-user
Connecting as <sapowner>/<pwd>@<sid> on connection 0
ERROR => OCI-call 'olog' failed: rc = 1017
ERROR => CONNECTfailed with sql error '1017'
An ORA-01017 message at this point indicates an incorrect <sapowner> password in the SAPUSER table. In this situation, proceed as follows.
Set the password consistently in SAPUSER and in the Oracle DDIC using the following BRCONNECT call (BRCONNECT >= 6.10):
brconnect -u system/<password> -f chpass -o <sapowner> -p <password>
Otherwise, change the password in the SAPUSER table:
DELETE FROM "OPS$<sid>ADM".SAPUSER;
INSERT INTO "OPS$<sid>ADM".SAPUSER VALUES ('<sapowner>', '<password>');
Important: The SAPUSER table should only exist once in every system: for OPS$<sid>ADM. For this reason, only execute the above-mentioned statements for OPS$<sid>ADM - irrespective of the operating system user actually being used. All other OPS$ users can access the SAPUSER table using a synonym.
If the connect still terminates in the same way, check once more the section "General checks".
2) log entries: Try to connect with default password
Connecting as <sapowner>/<pwd>@<sid> on connection 0
ERROR => OCI-call 'olog' failed: rc = 1017
ERROR => CONNECT failed with sql error '1017'
If you want to use the standard password sap and do not need the OPS$ mechanism, reset the <sapowner> password to sap:
ALTER USER <sapowner> IDENTIFIED BY sap;
If you do not want to use the standard password, the error cannot be avoided at this point. Set up the OPS$ mechanism as described above instead.
Regards
Rahul
Please Award points if help is useful *****
Maybe you are looking for
-
Are there cables that directly connect your iPod to your TV so you can watch a movie that's on your iPod on your TV?
-
Video Doesn't Work iTunes 7.0.1.8 WinXP Pro
Video doesn't work. So far any video I have downloaded through iTunes has not played at all. Video player opens but displays a flouresent green then white then pink gradient and flickers. Reinstalled three time and reinstalled quicktime also. Windows
-
Field list on/off drag and drop not working in smartforms
Hello Friends, field list on/off drag and drop not working in smartforms. is there any settings or some components needs to be activated ?? i can drag the fields from the list but when i drop in the text node its not dropping tht field. Regards, Sunn
-
Time Machine requiring more space than necessary?
Hi all, Since I only have a 60gb external drive (whereas my laptop has 250gb) I burned some files to DVDs and then excluded them from the Time Machine backup so the backup would fit in 60gb (~56gb, really). Anyways, when I managed to reduce the size
-
I have an iPod nano, believe it's first generation, that I got in June 2006. It's always worked fine, but recently I've been having a problem with album sorting. I prefer not to sort my songs into albums at all, but a few do have albums listed. But n