Sending PO's from SRM system
Hi,
Though this is not an XI specific question, I hope you will be able to offer some help regarding this. We are building two interfaces for transmission and confirmation of purchase orders from SRM using proxies. We have created the relevant XI interfaces and ABAP proxies. We have also identified the classic BADI that gets invoked when the 'Send by XML' mode is selected by the user for a Purchase order.
The problem is we are unable to deduce how this BADI works due to scarce documentation. Hence though the operation is shown as correctly completed, there is no idea where the XML message is sent (definitely not in XI). We had only one option, i.e. to customize the BADI in Z code by copying almost everything and invoking the proxy once the PO is populated. However, the fieldnames of the proxy's PO structure (which we had imported from SRM business pack - PurchaseOrderMessage) and the fieldnames in the PO structure populated by the classic BADI are different. As an ABAPer has put it - "They appear to be the same structure but the names seem to have been changed when imported as XSDs"
Has anyone attempted a similar excercise or suggest some options?
Regards
Ganesh
Hi Raj
I am using Standard Proxys in SRM. you have given Custmize outbound proxy example...
my requirement is how to trigger data in SRM for standard proxy PurchaseOrderERPRequest_Out_V1.
Method is called PURCHASE_ORDER_ERPREQUEST_OUT.
Thanks
Vinod
Similar Messages
-
How to connect from SRM system to Punch out Catalog
Hi all,
I would like to know connecting from SRM system to Punch out Catalog , do we require XI inbetween??
Regards
VamsiHi Vamsi,
There is an XML variant of the OCI interface as described in the OCI documentation attached. Using this you can use XML documents instead of plain HTTP for the OCI transfer. No specific configuration is required as a transformation agent is contained within the FUNCTION bbp_ws_mapoci_to_sc
map xml to oci structure
CALL FUNCTION 'BBP_WS_DISPATCH_XML_MAPPING'
EXPORTING
iv_xml_type = iv_xml_type
iv_xml_document = iv_xml_document
TABLES
et_oci_items = et_oci_item_data
et_longtext = et_oci_longtext
EXCEPTIONS
xml_mapping_error = 1
OTHERS = 2.
In this xml mapping function we use a CALL TRANSFORMATION to perform the XML -> OCI mapping:
Transfrom OCI XML data via XSLT to RFC structures
TRY.
CALL TRANSFORMATION bbp_oci_xml_to_rfc
SOURCE XML IV_XML_DOCUMENT
RESULT sc_items = lt_sc_items.
CATCH CX_ROOT INTO lr_exception.
CATCH cx_xslt_runtime_error.
RAISE xslt_failure.
ENDTRY.
ENDIF.
Put mapped data into export strutures
LOOP AT lt_sc_items INTO wa_sc_item.
IF NOT wa_sc_item IS INITIAL.
Hopefully this clarifies the possibility of using the XML variant of the OCI.
Regards,
Jason
Edited by: Jason Boggans on May 13, 2009 6:54 PM
Forgot to attach the document -
Creation of backend contract from SRM system?
Dear Experts,
I am bit confused with the scenario of creation of backend contract from SAP SRM system? It says in few cases, based on the BAdi 'BBP_DETERMINE_Logsys', the system creates a backned contract directly in a backend ERP system. Why do we need when we have central contract?
We can meet the same requirement through central contract where we will authorize only purchasing organizations of a backend system and block the contract for local sourcing in SRM?
Secondly, How to find a contract / scheduling agreement created in a backend system when a central contract is distributed to the backend system?
Thanks and regards,
RanjanHello Ranjan
question on contracts?
Note 1476307 - Importing parameter not filled in BADI BBP_DETERMINE_LOGSYS
in classic scenario , The Business wanted to create a contract from cockpit or via BID
this BADI helps
Symptom
You have implemented BAdi BBP_DETERMINE_LOGSYS to control the system in which contract is created in following scenarios:
1. Creation of contract from an accepted quote / bid.
2. Creation of contract from a requisition in SOCO.
In the method IF_EX_BBP_DETERMINE_LOGSYS~CONTRACT_LOGSYS_DETERMINE of the BAdi implementation, importing parameter IT_ORG doesnot have any values.
Other terms
Backend contract
Reason and Prerequisites
some business wants to create a backend contract from SRM . see some Dinesh Powale / Claude threads for more understanding.
Muthu -
Data not getting transffered from SRM system to BW
Hi All,
We have an issue where in the data is not getting transferred from SRM to BW. If i see in RSA 3 of SRM system, the datasource is pulling around 3000 records and in WE02, the idoc is generated and passed without any errors.
Whereas in BW the idoc is coming with code 8 and no data is getting transferred to BW.
What can be the probable reasons for this mismatch ??
Thanks
AbhiHi Abhi,
After an upgrade, i would go for following checks
1. Check the Data Source on CRM side and check if it is Active.
2. With Upgrade, usually DataSources become inactive and also, pls check if any required fields are hidden in the data source before you activate.
3. After unhiding required fields, i would activate the Data Source and Replicate the Data Source on BI Side.
4. Now I would delete the failed request by forcing its status to RED in RSMO and then go for the load.
Let me know if it worked. -
Sending Custom fields from SRM to ECC through BAPI
Dear All ,
I am looking for a step by step instructions on how to send my data i.e Start date and end date at ITEM :LEVEL for limit items from SRM to ECC
It is currently only sent a Header level . I have almost read all the posts and yet not able to figure out . Please can you some one help me to understand .
Checked the below
http://scn.sap.com/thread/476423
http://scn.sap.com/thread/170189
http://scn.sap.com/thread/26494
http://scn.sap.com/thread/1399901
http://scn.sap.com/thread/1991218
and also checked the SAP official page :
http://wiki.scn.sap.com/wiki/display/ABAP/BAPI?original_fqdn=wiki.sdn.sap.com#BAPI-Passingcustomfield
http://wiki.scn.sap.com/wiki/display/SRM/Transfer+process+of+the+Shopping+Cart
http://scn.sap.com/docs/DOC-2726
However no luck . I also opened a similar thread previously but still unable to get an end to end understanding .Please could some one guide me for this one ? Currently what I found out there is a class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 where CREATE_DOCUMENT decides what fields would be passed .. In that there is a FM which is being called from ECC .. and in that there is header and header X field ..
which has the fields which I need VPER start and end date ..
CALL FUNCTION 'BAPI_PO_CREATE1'
DESTINATION av_rfc_dest
EXPORTING
poheader = as_po_out-is_poheader "#EC ENHOK
poheaderx = as_po_out-is_poheaderx
h
Now I wnat the same fields to be passed at item level of the SC .. Please could you confirm on what exactly I should do ?
I saw the below tables not sure what I should do with them to include the 2 fields I want which should be passed to ECC .
TABLES
poitem = as_po_out-it_poitem "#EC ENHOK
poitemx = as_po_out-it_poitemx "#EC ENHOK
extensionin = as_po_out-it_extensionin "#EC ENHOK
* extensionout = as_po_out-it_extensionout "not used by SRM
poexpimpitem = as_po_out-it_poexpimpitem "#EC ENHOK
poexpimpitemx = as_po_out-it_poexpimpitemx "#EC ENHOK
potextheader = as_po_out-it_potextheader "not used by SRM
* popartner = as_po_out-it_popartner "not used by SRM
Please can some one let me know for the below queries :
1, How to identify If I am checking on the right method .
2. How I can create these 2 fields voer start date and end date and pass them to EKPO table of PO in ECC ?
3. How to create these 2 fields in BAP and pass it further from SRM to ecc
4. How would they be visisble in SC portal screen ..
Please guide me on this would be really grateful . Thanks in advance for the help
Regards
VinitaHi Madhu,
Please check out this note 1027081 which is for the PO Held in classic scenario.
Praveen. -
Invoice posting from SRM system -ECC mandatory fields data need to be fille
Dear Experts,
I am creating an invoice from external system(SAP SRM) and generates an IDOC in SRM and same is sent to ECC. In ECC for creating invoice we have two mandatory fields house bank(hbkid) and section code(secco). These fileds data is not coming from SRM IDOC so i need to pass these fileds data before posting the IDOC.
I am using EXIT_SAPLMRMH_015 for passing these fields data. I tried to debug the exit but it is not stopping.
I written the below code for this but still data is not filling . I request you to give me your suggestions on this.
DATA: S_RBKPV TYPE MRM_RBKPV OCCURS 0 WITH HEADER LINE.
DATA: W_SCACD LIKE LFA1-SCACD.
S_RBKPV = E_RBKPV.
IF E_RBKPV-LIFNR IS NOT INITIAL.
SELECT SINGLE SCACD FROM LFA1 INTO E_RBKPV-SECCO WHERE LIFNR = E_RBKPV-LIFNR.
SELECT SINGLE VBANK FROM ZMM_HOUSEBANK INTO E_RBKPV-HBKID WHERE BUKRS = E_RBKPV-BUKRS
AND GSBER = E_RBKPV-GSBER.
IF SY-SUBRC EQ 0.
E_CHANGE = 'X'.
ENDIF.
ENDIF.
Regards,
RaviIdentified the EXIT and working on EXit.
Thanks
Ravi -
How to send delivery document from external system to ECC
i have a business requirement to send a delivery and billing documents from external system ( MS access ) to ECC
could any one light me how to do this ???
Thank you in advanceHi Ahmed,
Talk to your middleware team, They will upload the data through RFC.
Basiclly RFC(Remote function call) works like it will call the function module and then upload the data.
For more information, check the link given below.
http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
Hope this helps,
Regards,
MT -
Send binary files from SAP System to SAP XI/PI
Dear experts,
in our SAP ERP-System we have a link to JPG files which are stored in an archive. We want to send these files with some other information to our SAP XI and then store them on a file server. Is there a way to send a MIME attachment via RFC? Or is there another way to send binary files from SAP ERP to SAP XI? We want to avoid polling the files on OS level.
Thanks and regards,
DavidMost recommended way is to go for ABAP proxies. They support attachments.
Regards,
Prateek -
Sending cost centers from one system to other system( different landscape)
Hi SAP gurus,
Can some one please let me know how to send the cost centers created in one system to other ssytem,
my requirement is sending cost centers from one sytem to other system:
1. when a new cost center created
2. when any changes happend to existing Cost centers.
The two system are in different landscapes.
please let me know what are configs we need to do for working this functionality.
Thanks in Advance,
--MadhavHi
Please search help.sap.com for ALE mechanism.. I guess such cases are handled by ALE
br, Ajay M -
How to send PO IDOC from SRM server
Hi All,
How to send IDOC, after successful creation of the PO in SRM ?
Please tell me how to configure the SRM system ?
RegardsHi,
See the foll related useful link:
Re: Intercompany process u0096 MM u0096 SD
BR,
Disha.
Pls reward points for useful answers. -
How to send doc files from one system to another using XI
Hi All,
I have a requirement to pick the word doc files from one file system and send these word document files to ECC system place in ECC application server.Can we achieve this requirement using XI. If so how we can do this. also let me know can we convert these doc files into proxy and send to ECC?. Please let me know. Thanks.
Regards,
RajeshYes You Can
XI Converts Unstructured data(That is non -XML)Type- in your case word doc and maps it to Target structure.
You can either use content conversion
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
You can either built a adaptermodule for the same(U nedd to have Some Java knowledge)
You can also convert without creating any objects in integration directory link for the same is
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
***********Please Reward Points If find Helpful********* -
Condition types from SRM system t backened system
Hi,
We are using SRM 7.0, we have decided to go ahead with the pricing proceedure and the condition types which are there in ECC the same should be replicated to SRM.
We have created the same pricing proceedure and the calculation scheema in SRM.
Now my requirement is when i create a PO with the conditions and when i am transfering to ECC the PO should also be with the condition types. It should be a similar PO in ECC.
Is this can be addressed.Hi
I wish to update on this further:
Under Copying rules for Conditions, for Source table 350 (Sales Organization), I am maintaining report "RV15CC03" which is material to material.
I think I need to use something different since I am copying data from Sales Org to Sales Org.
I don't find a suitable program for Sales Org here.
Any ideas on how to go about.
Thanks
Satya -
Sending HL7 Message from ISH system to External System
Hello Friends,
I am trying do configure our SAP ISH system to send HL7 messages to External 3rd party system. I did my research on SAP HCM module.
I am trying to send HL7 message using SAP XI system. Any help on what version of XI is required and SAP ISH is required would be great help to me. If there is any help document on setup required would also be great help to me.
Thanks for the help.Hello Vasu
What is the format of message your 3rd part system request and on what protocol?
To my knowledge the Healthcare applications and laboratory information systems require HL7 message format over MLLP protocol.
If this is your requirement then you should use SAP PI 7.1 EHP or PI 7.3 and request to SAP for IAH Adapter. To know more about IAH and its usage in healthcare integration please refer to my blog at http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a00aabd6-a7f8-2d10-1c9e-bdaf085ab075.
Good Luck
Vj -
Can we send .csv file from sap srm system to sap pi?
Hi Experts,
we have 3 options send the data from sap systems to sap pi.i. e.proxy,idoc and rfc only
How can we send .csv file from sap srm to sap pi?
Regards,
AnjanAnjan
As you know SAP SRM and SAP PI are different boxes.
*_Option 1:_*
we need a shared AL11 directory in between SAP SRM and SAP PI (Ask basis to setup shared folder). Place / Populate the file in the folder from SAP SRM and then it can be picked through sender file communication channel.
In this case you (Basis team) will share one folder which is visible from the AL11 transaction of both the systems (SRM and PI). You will drop .csv file using some report or program from SRM at this location and from PI you can read that file using File communication channel (NFS mode).
Option 2:
Setup a FTP at SRM environment and expose some folder which can be accessible from PI. Use sender file communication channel at PI end to pick the file.
You can use this option incase sharing of folder is not possible (due to network / other constrains). Here FTP server is required to expose any folder as FTP so as it can be accessible from internet (remote location). You need to expose some folder at SRM machine. You will drop .csv file using some report or program from SRM at this location. Now PI can fetch the file from that location using sender file communication channel (FTP Mode) providing user credentials.
Hope it clears now.
Regards
Raj -
Send IDOC from SAP system to IX but can't see any message in SXI_MONITOR
Hi all,
I have built up an XI system and configured an IDOC to IDOC scenario between two SAP Systems. After completed all configuration necessary:
1. Configuration on Source Side (SAP System that send IDOC) and on Target Side (SAP System that receive IDOC) is OK.
2. SLD is OK: Technical System and Business System are correct for these two SAP System.
3. Integration Repository: all designed Object is OK.
4. Integration Directory: all configuration is OK. "Test Configuration" Function is OK.
5. Runtime WorkBench: is OK. "Test Message" Function of "Integration Server" is OK.
In general, it is all OK.
But when i send an IDOC from SAP System Sour Side (Outbound IDOC from Source Side is OK), on the XI server i can't see any message in Tcode SXI_MONITOR. In this case, my XI server didn't receive any IDOC Message from this Source Side, and so that my XI server can't process and exchange any IDOC sent from Source Side.
Anyone can please help me to explain this problem: why my XI server can't receive any IDOC message from SAP System Source Side when all configuration is OK? Do anyone see the same case as this case?
Thanks a lot for all in advance,
Best regards,
Vinh voHi,
Possible checks
At R/3 side
1) Check in SMQ1 and SM58
At XI Side
1) Check in SMQ2 and IDX5
Check this
http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
Regards
Seshagiri
Maybe you are looking for
-
How to activate Business Add-In (BAdI) for Enterprise Service
Hi, I have connected enterprise service Find Production Order by Work Centre external/technical Name: ProductionOrderSimpleByWorkCentreQueryResponse_In Namespace: http://sap.com/xi/APPL/SE/Global SAP Software Component Version: ESA ECC-SE 605 Interna
-
Can someone tell me his/her experience about a specific scenario in AP where he/she faced a problem and did something special in configuration/development in order to move from legacy to SAP system. I would appreciate the help and award suitable poin
-
System allowing order related Billing for rejected item in sales order
Hi all, I have created a new reason for rejection: "Billed before Go live" I have then asigned it to sales item 10 in sales order thus rejecting it. I expected that when I do the billing for this sales order, the system will not allow to bill the rej
-
How to disable Java Security Warning
Hello Friends I am running different versions of JRE on a machine due to specific application exigencies. However I noticed that when entering on the application using the lower JRE Version,the following warning message is being obtained. The applica
-
***Problems installing Flash Player***
I just recently switched my operating system to windows vista and I can no longer view videos on youtube. It says: "Hello, you either have JavaScript turned off or an old version of Macromedia's Flash Player. Get the latest Flash player." When I get