Create documents in SAP R/3 through XI
Hi!
I'm new to XI, and I have the following scenario:
An external application needs to post documents in SAP R/3 by internet, sending the information needed to post the documents in XML format. It also needs to receive information if the documents were successfully posted or not.
What do I need in XI to make this possible? Do I need anything more than XI? I keep hearing
Thanks a lot!
Nuno Umb.
<i>Independently of the type of application and format of the data, the Source System may communicate with XI directly by internet, right?</i>
Source Systems communicate with XI through some type of adapters/proxies. So whether do you want to adapter-less communcation or adapter communication, and if it is adapter communication, what type of adpaters are used for communication depends on your source system and type of message/protocol.
To answer your question, you can defintely send your XML docs to R/3 through XI over internet.
What adapter do u need to use to send xml docs to XI depends on, once again your sender system / message type/ protocol you want to use.
Similar Messages
-
DMS Document upload: does it pass through sap DMS ?
Dear All,
We have a question concerning the transmission of documents from the client to DMS and the Content Server: does the document need to pass through the sap server ?
Document upload (create document CV01N)
Does the document go directly from the client to the Content server OR does it pass through the sap DMS before to be stored in the CS ?
Document download (read document CV03N)
Does the document go directly from the CS to the client OR does it pass through the sap DMS server ?
This could be interesting to know for network performances.
best regards,Hi Gurus
is the cache server a default funtionality from the content server or any configuration is required from our part.
is that the cache server acts as the RAM of our system?
please explain the partitioning or biferfication of the Content server, as you told
content server is divided into storage catagories and this in turn in to content repositories,
please clarify below points,
1)any server or PC can be made as Content server by insatalling the content server CD if iam right ?
2) Practical and funtional benifits of partitioning content server into content repositories is it for authorization and storing data by naming convection or can it also help in copiying data from a specific content repository if needed, ( is content repositories a logical partition or practical partition like B,C,D, F drives of our PC hard disk)
3) can /should there be multiple content server installation for a particular (production) client.
4) Can Archiving be done say by creating a separate content repository inside the same Content server, or is it mandatory to have a separate archiving server itself,
please give some idea with examples
Thanks and regards
Kumar -
Creating document through cv01n
Hi all,
I want to know how to create document through CV01N.For attaching CAD Drawing to the material for bom,how should i create document? What are the mandatory data we need, to create document? pl can anyone explain in detail.
Thanks in Advance!!!Dear Ranganayahi,
1.There are various document types created in standard SAP,but if you require a new document
type,then goto SPRO>SAP Reference IMG->Cross application components--->Document
Managment->Control Data->Define document types.
For Eg,Say supoose if you want to create a Document using CV01N,you have to select a document
type,Say you have created a new document type - CDD,so using this document type you have to create
a document where in you will attach the drwaing.
2.Then for this document type you need number ranges,that you can define in OD00,it can be internal or
external number range.
3.Then the created document through CV01N can be assigned in the BOM and you have to select the
item category as D.
Refer these links if required.
http://www.sap-img.com/production/attachment-of-drawings-in-boms.htm
Re: Drawings to be attach in BOM
Check and revert back.
Regards
Mangalraj.S -
How can I create a Commercial Invoice or similar document in SAP ByD?
How can I create a Commercial Invoice or similar document in SAP ByD?
Our company has recently implemented ByD, but we can't figure out how to create a commercial invoice for shipping/customs purposes. I know that the German version of ByD allows for "Export Declarations" which is pretty much the same as a commercial invoice, but the U.S. version doesn't have this document/function.
Any suggestions? I would appreciate any help.
By the way, a commercial invoice contains:
1. The shipperu2019s complete information: Contact name, company name, complete address and tax identification number.
2. The recipientu2019s complete information: Contact name, company name, complete address and phone number.
3. The buyeru2019s information (the person to whom the goods are sold by the seller) if different from the recipient: Contact name, company name, complete address and phone number.
4. The shipment tracking number, air waybill number or bar-code label number.
5. An accurate description of the contents in your shipment that includes the following details:
What the product is
What material the product is made of
What the productu2019s Schedule B or HTS code is
What the productu2019s intended use is
What the productu2019s country of manufacture is
What the productu2019s parts or serial numbers are (if applicable)
What the productu2019s quantity and unit of measure are
What the productu2019s value is, per unit and in total
Thanks,
ChrisMay I suggest that you ask this question in the customer forums in the Business Center at [http://sme.sap.com|http://sme.sap.com]
Best regards, Christian -
IDoc to Create Shipment Document in SAP
Hi,
I want to create the shipment document in SAP via EDI message from freight forwarder and subsequently update the shipment document(VT02N) statuses via EDI like planned/loaded/shipment end etc....
I am reasearching on the Idoc type for that...I found SHPMNT03 etc could be used to create/change document but I don't know where the Transportation planning point field exists in the Idoc type. Please help me to how could I create the shipment document...
I am able to create the shipment document using TPSSHT01...but not sure whether it would be good as it's used with TPS and we don't have any external TPS. We just want to create shipment document in SAP based on freight forwarder edi messages 856 I believe
I am new to EDI
Thanks
ChilWe used a program to create the IDoc but I don't see a transportation planning point anywhere in it. I think it should be picked up automatically from the deliveries and I wouldn't fixate on that. Here is the code fragment, but you don't need to fill in all those fields:
e1edt20-shtyp = '0003'.
e1edt20-signi = i_table-route.
e1edt20-exti1 = i_table-route.
e1edt20-exti2 = i_table-driver_num.
e1edt20-tpbez = i_table-driver_name.
i_edidd-sdata = e1edt20.
i_edidd-docnum = w_docnum.
i_edidd-segnam = 'E2EDT20001'.
APPEND i_edidd.
e1adrm4-partner_q = 'OTP'.
e1adrm4-partner_id = '0001'.
i_edidd-sdata = e1adrm4.
i_edidd-docnum = w_docnum.
i_edidd-segnam = 'E2ADRM4001'.
APPEND i_edidd.
e1adre4-extend_q = '305'.
e1adre4-extend_d = '0001'.
i_edidd-sdata = e1adre4.
i_edidd-docnum = w_docnum.
i_edidd-segnam = 'E2ADRE4001'.
APPEND i_edidd.
e1edl20-vbeln = i_table-vbeln.
i_edidd-sdata = e1edl20.
i_edidd-docnum = w_docnum.
i_edidd-segnam = 'E2EDL20'.
APPEND i_edidd.
From what I remember, this IDoc worked rather strangely and I had to fill in some fields for no obvious reason (e.g. both e1edt20-signi and e1edt20-exti1 when SIGNI is really the one we needed). At some point, I just tried filling in all the possible fields to get past errors. Like I said, it just takes some trial and error.
Unfortunately, I don't have access to that system anymore and have no further information. Also we didn't do any shipment changes. You might want to search in ABAP forum. Good luck. -
Creating documents in shared folder of SAP mail
Hi all,
I would like to create documents in a shared folder of my sap mail. I know it can be done by method create of object SOFM. I just don't know how to set up this method. What parameters are needed and how to do it correctly.
Thx for helping,
YoolbHi Yoolb,
Are you trynig to do this within a Workflow? If your need is to create the document from a custom program, you can use the function module SO_DOCUMENT_INSERT_API1.
Cheers,
Ramki Maley.
Please reward points if the answer is helpful.
For info on awarding points click on this link: https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm -
How to create switch documents in SAP CRM?
Hi,
I'm trying to create switch documents in SAP CRM. I'm using method CL_CRM_ISU_ORDER_DEREG=>CREATE_SWITCH_MESSAGE but one of the parameters is CONTEXT...
Someone knows how this parameter should be filled?
Thanks,
AndréHi Andre,
the class CL_CRM_ISU_ORDER_DEREG is used by the classes of the utilities process framework to create a switch doc in the context of a process. The context parameter is a reference to the process context. The class CL_CRM_IU_PR_CNTR_START, for example, uses CL_CRM_ISU_ORDER_DEREG in the ON_POD_CHANGED method to create a switch doc.
While it is possible to set up a process context in a custom program the real question is what are you trying to achieve? Maybe it is easier to solve your requirement in the context of the process framework that to start from scratch.
Are you aware of the concepts underlying the utilities process framework? If not have a look at the following documents:
Process Framework in Contract Management - SAP CRM for Utlilities
https://websmp210.sap-ag.de/~sapidb/011000358700001113322009E/Utilities_Prozess_FW_en.pdf (available at SAP Service Marketplace -> Solutions -> SAP for Utilities -> SAP for Utilities - Product Information -> SAP CRM for Utilities -> Cookbooks&Guidelines -> Utilities_Prozess_FW_en.pdf )
Best, Christian -
IDOC Type to Create Continous Inventory Document in SAP
Can someone send me the IDOC type to Create Continous Inventory Document in SAP and to post the Inventory Count.
Jose,
If you are talking about the Physcial Inventory cound the
Message Type : MATERIALPHYSINV_COUNT
IDOC Type : MATERIALPHYSINV_COUNT01.
Regards,
Ravi
Note : Please mark the helpful answers -
Creating documents (cases) in SAP RM within SAP EP
1. What business packages can be used to create documents (cases) in SAP Records Management within SAP Netweaver Portal?
2. How can we change the Portal web forms to create SAP Records Management documents (cases)?Visual Composer + BAPI
-
Unable to display customs document in SAP GTS
Hello,
I am using SAP GTS 7.2 Compliance services. SPL and Embargo services are working well (I am not using License determination).
Indeed, when I save a sales order in ERP, it is effectively checked for compliance, as I receive a message when it is blocked by GTS..
In GTS, I can check that concerning business partners are effectively blocked, using:
"Display Blocked Business Partners" and "Display Business Partners with Embargo Situation".
But I cannot display any customs document in SAP GTS, using transaction /SAPSLL/CUHD_DISPLAY (Display all documents) or SAPSLL/CON_BLOCKED_DOCS_EXP (Display blocked documents).
I get the following error message "No data was found for the selection criteria specified".
As I understood, SAP GTS performs the compliance checks not on ERP documents but on corresponding GTS customs document. Thus I guess they are effectively created somewhere! If it was not the case, I guess the process should not work.
When I look in the audit trail of SPL for documents, I can see all the SPL checks that have been performed. Looking in the corresponding table "/SAPSLL/SPLAUD", I can even find the numbers of the different customs documents...
But there is nothing in table "/SAPSLL/CUHD", where they should be copied... The only entries I found concern biling documents that were transferred for customs purposes...
Could you please help me on this matter?
Many thanks,Hi Sameer,
Thank you for your fast answer. I checked in the debug mode creating a breakpoint at statement RFC and it effectively stops at RFC /SAPSLL/API_6800_SYNCH.
But when I check the log in transaction SLG1, nothing appears concerning /SAPSLL/API_6800_SYNCH.
I think the customs document is effectively created in GTS as I can see it has a number assigned in the audit trail for SPL screening. And compliance services work.
Though when going through the transaction of displaying all documents in GTS there is nothing. Table "/SAPSLL/CUHD" is empty (except some billing documents that were transferred for customs purposes).
This is really weird... Anyway, thank you for your help.
Kind Regards, -
Create document using BAPI_DOCUMENT_CREATE2
Hi Experts,
i am using BAPI_DOCUMENT_CREATE2 to create document like transaction CV01N. When i create it through CV01N, it is fine and I can see the attached file.
but when i run my program, the document is created without attached file. can anyone have some solutions for me? following is the code.
REPORT ztest_fw.
DATA:
lv_docnum TYPE BAPI_DOC_AUX-DOCNUMBER,
LW_DOCDATA TYPE BAPI_DOC_DRAW2,
LW_RETURN TYPE BAPIRET2,
LW_DSP TYPE BAPI_DOC_DRAT,
LW_OBJLINK TYPE BAPI_DOC_DRAD,
LW_DOCFILE TYPE BAPI_DOC_FILES2,
LT_DSP TYPE STANDARD TABLE OF BAPI_DOC_DRAT,
LT_OBJLINK TYPE STANDARD TABLE OF BAPI_DOC_DRAD,
LT_DOCFILE TYPE STANDARD TABLE OF BAPI_DOC_FILES2.
START-OF-SELECTION.
CLEAR LW_DOCDATA.
LW_DOCDATA-DOCUMENTTYPE = 'DRW'.
LW_DOCDATA-documentversion = '00'.
LW_DOCDATA-documentpart = '000'.
LW_DOCDATA-laboratory = '001'.
CLEAR LW_DSP.
LW_DSP-DESCRIPTION = 'Test created by Fang wei-SD'.
LW_DSP-LANGUAGE = 'E'.
APPEND LW_DSP TO LT_DSP.
LW_DOCFILE-DOCFILE = 'D:\Function study\Inbound & Outbound IDoc user exits.pdf'.
LW_DOCFILE-ORIGINALTYPE = '1'.
LW_DOCFILE-STORAGECATEGORY = 'SAP-SYSTEM'.
LW_DOCFILE-STORAGECATEGORY = 'DMS_C1_ST'.
LW_DOCFILE-WSAPPLICATION = 'PDF'.
LW_DOCFILE-LANGUAGE = 'E'.
LW_DOCFILE-CHECKEDIN = 'X'.
LW_DOCFILE-ACTIVE_VERSION = 'X'.
APPEND LW_DOCFILE TO LT_DOCFILE.
CLEAR LW_OBJLINK.
LW_OBJLINK-OBJECTTYPE = 'IFLOT'.
LW_OBJLINK-OBJECTKEY = '1350'.
LW_OBJLINK-DOCUMENTDIRECTION = 'X'.
APPEND LW_OBJLINK TO LT_OBJLINK.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
DOCUMENTDATA = LW_DOCDATA
IMPORTING
DOCUMENTNUMBER = lv_docnum
RETURN = LW_RETURN
TABLES
DOCUMENTDESCRIPTIONS = LT_DSP
OBJECTLINKS = LT_OBJLINK
DOCUMENTFILES = LT_DOCFILE.
IF LW_RETURN-TYPE CA 'EA'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
MESSAGE ID LW_RETURN-ID
TYPE LW_RETURN-TYPE
NUMBER LW_RETURN-NUMBER.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
CLEAR lw_return.
CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
EXPORTING
DOCUMENTTYPE = 'DRW'
DOCUMENTNUMBER = lv_docnum
DOCUMENTPART = '000'
DOCUMENTVERSION = '00'
IMPORTING
RETURN = lw_return
TABLES
DOCUMENTFILES = lt_docfile
IF LW_RETURN-TYPE CA 'EA'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
MESSAGE ID LW_RETURN-ID
TYPE LW_RETURN-TYPE
NUMBER LW_RETURN-NUMBER.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
WRITE: / 'document number = ', lv_docnum.
ENDIF.
ENDIF.Hi Wei,
based on your description I would kindly ask you to check if the flag 'USE KPRO' is set for the document type 'DRW'. Because as storage category you hand over the value 'SAP-SYSTEM' and this is not a KPRO storage category. So if the 'USE KPRO' flag is set then this original won't be displayed in CV03N.
Is there maybe a difference in display between transaction CV02N and CV03N?
Best regards,
Christoph -
Problem in committing a new document in third party repository through Ente
Hi all,
I am trying to create a document in third party repository through enterprise portal GUI. The steps I am following are:
1. I go to repository integrated with the Enterprise portal.
2. Then go to Folder -> New -> HTML File.
3. Here it asks me to enter Name of the document and the Contents of the document.
4. Then Click on Save
I am trying to implement this functionality by using RF (Repository Framework).
I have implemented createResource() method NameSpaceManger.java class. The signature of this class is:
NamespaceManager extends AbstractSubManager implements INamespaceManager,IMutableNamespaceManager{
The Code:
if ((d instanceof IResourceCreateDescriptor) || (d instanceof ICollectionCreateDescriptor)) {
IRid parent = d.getDestinationDescriptor().getParentCollectionRid();
String name = d.getDestinationDescriptor().getChildName();
name = UriCodec.Decode(name);
ACEPHandle handle = (ACEPHandle)this.repositoryManager.lookup(parent);
ACEPNode node = handle.getNode();
if (!node.isCollection()) {
throw new ResourceNotCollectionException(parent,
"parent is not a collection!");
IAccessContext context = AccessContextFactory.getInstance().getContextOrNullIfUnavailable();
com.sap.security.api.IUser sapUser = context.getUser();
com.sapportals.portal.security.usermanagement.IUser epUser = WPUMFactory.getUserFactory().getEP5User(sapUser);
ResourceContext resourceContext = new ResourceContext(epUser);
RID rid = RID.getRID(node.getRid().getPath()RID.PATH_SEPARATORname);
IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
IContent content= resource.getContent();
InputStream iStream = content.getInputStream();
byte[] byteArray = new byte[51200];
int bytesRead = -1;
try{
while ( (bytesRead = iStream.read(byteArray, 0,51200)) != -1) {
byteArray = new byte[51200];
}catch(IOException e){
The Error I am getting in the logs is:
<b>ContentRetrieval: Unexpected HTTP status 500 Internal Server Error: HRESULT [0x8004022f]</b>
Please advice me the right way to proceed further.
Thanks and Regards,
RaviPlease print out the Verbose Stack Trace generated when you run this application.
I suspect that you FolderPathResolver is not pointed at the directory you think it is. You might want to try printing out
I_CurrentFolder.getAnyFolderPath();
and I_CurrentFolder.getName();
null -
Documents which have not flowed through to FI from Purchasing
Does a Transaction exist which will display the documents that have not flowed through to Finance from Purchasing? Similar to VFX3 in Sales.
For example, a MIRO that has a wrong posting date and the document has been saved but has not flowed through to Finance.You may have to create a report on SAP query, linking RBKP (the incoming invoice table) with BKPF. In BKPF table the invoice document and the fiscal year are concatenated and resides in the field AWKEY as the reference no.
If, for any combination of invoice and fiscal year you do not find a value in BKPF, this could be construed as those that do not have FI document generated. -
How to create Dashboards in SAP BW-3.5?
Hi Guru's,
Can someone let me know how to creat dashboards in SAP BW-3.5?
I dont want to create dashboards in SEM or EP.
Kindly help me out.
It will be very helpful if you can send me some documentation that you made in the process of making dashboards.
Email id's you can send the documents are [email protected]
***Points Assured ***
Urs,
RKHi,
I have some queries on the step by step which u have provided me,
1) Create all BEx Queries with required variants,tune them perfectly.
You mean to say that i have create a queries 1st? With required variants means i dint get u?
(2) Differentiate table queries and graph queries.
What is the diff b/n table queries and graph queries.?
(3) Choose the graph type required that meet your requirement.
Required graph i should select it from WAD?
(4) Draw the layout how the Dashboard page looks like.
How to and where to draw the layout ?
(5) Create a web template that has navigational block / selection information.
(6) Keep navigational block fields are common across the measures.
(7) Include the relevant web items into web template.
Pls explain me this
(8) Deploy the URL/Iview to users through portal/intranet.
This i can do it.
Awaiting for the response.
Urs,
RK. -
Attaching Documents within SAP
Hi Everyone,
When attaching documents to SAP, either through journal entries or sales orders or PO's, is there a best practice to use such as using Services for Objects -> Create -> Create Attachment or Store Business Document? Do they both archive? I noticed that I can't use Business Document everywhere since it greyed out such as in the PO. Is there a reason for it? Just looking for general ideas as to what to do and which approach would cause the least amount of space being taken from our server.
Any thoughts?
Thanks,
PetePete,
I am not aware if a BP exists, and believe a seperate serve/repositories will be configured to handle archiving documents. Please check with you basis team.
Please check the setting SAP NetWeaver >General Settings> Application Server> Basis Services > ArchiveLink
Regards,
Somar
Maybe you are looking for
-
Problem with the click property in an embeded component
The following code snipit causes the -- 1180: Call to a possibly undefined method myLink. -- compile time error. I've tried making the method public and that doesn't help, so can anyone tell me what's going wrong? <mx:TileList x="148" y="10" width="
-
[SOLVED] Problem with gtkhtml2 plugin for Sylpheed-Claws
Running Sylpheed-Claws 2.5.3 from [extra] repo. Built sylpheed-claws-gtkhtml2-plugin 0.10.2-1 from AUR. Build seemed to go fine, plugin installed with 'pacman -A sylpheed-claws-gtkhtml2-plugin 0.10.2-1.pkg.tar.gz' and seemed OK. When I try to load th
-
Do I need to re-download all app updates?
I, unfortunately, have a cap on my Internet usage. So, I take my MacBook to a different location to download apps and updates. Is there any installer file that gets saved to the computer that I could use to install apps and updates onto my iMac witho
-
Trying to determine the height and width of an image.
Hi Everyone, I am currently trying to work out the height and width of a number of pictures. I have tried a couple of techniques. One involved using BufferedImages, which kept on throwing null pointer exceptions. So I am now tring to use the Image cl
-
Activating split valuation in material master (autom. batch valuation cat.)
I want to activate the split valuation (automatic batch) in several materials. These materials have purchase orders, schedule agreements or production orders, etc... Is there any way to activate the split valluation without deleting all the related d