Receiver determination using substring in filename in file adapter
Hi
In PI 7.11 I would like to determine the receiver based on a substring in the filename in a file receiver adapter. I am planning on using a context object but am having trouble entering the correct code in the "Right Operand" field.
I have tried selecting Context Object = Filename http://sap.com/xi/XI/System/File and entering this code in the Right Operand: "contains(substring('_4000_'))" and an "=" in the as I am looking for a filename, that contains the substring "_4000_".
I would like to avoid using an extra map and using Dynamic Configuration, as I thing this would be the most elegant way of fixing it
Is there a way of referencing the context object if I chose xpath in stead of context object?
MIkael
Hi Mikael,
I have the same scenario like you , could you please tell me about the condition how to you use XPath for Context Object
I need to check the file name and according to that I have to put the file in the different directory.
Source File: XXXX_IN_xxxx
XXXX_PH_xxxx
I have to check the 7th and 8th Char of the file and according to that I have to place the file in the folder
Target: DGE008\IN\Inbound
DGE008PH\Inbound
I don't know how to used the XPATH for file and specially how to use the substring in that.
Could you please help.
Thanks,
Similar Messages
-
Receiver determination based on the filename of the incoming xml file
hi folks,
is it possible to base the receiver determination from the filename (pattern) of the incoming xml file?
suppose, if the filename is partner1.xml, then the receiver determination has a condition of partner1. in this case, the message is received by partner1.
any advise please?
thanks!
-lexHi Lex,
You can use Enhanced Receiver Determination for this. Do your normal mapping from source to target. And another mapping for the receiver determination. In that mapping you can use the UDF for Dynamic Configuration and set the filename as the receiver service name.
Use the following blog for Enhanced Receiver Determination:
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
This blog explains the usage of Dynamic Configuration:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Regards,
Sanjeev. -
Multi Mapping using condition & Dynamic Receiver determination – Used XSLT Mapping
Dear Experts,
I am struggling to identify an error on the Technical Routing. Firstly according to my scenario, I receive an XML file with multiple PO's and I have to split the file to 2 different target messages. and also according to the source payload I have to send the file to 2 different receivers. first receiver is ABAP Proxy to the back end system and the 2nd one is to a file location. I have used XSLT to split the message into 2 target message type and I have used a XSLT mapping for receiver determination. Does any one have any idea of what I am doing wrong.
Note: some time I will only be able to fill in on target message.
I have attached my XSLT message split mapping with this post, please let me know if you have further question.
Your help is more appreciated.
Advance Thanks,
Pradeep
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
<xsl:variable name="vFlag"/>
<xsl:variable name="vPONUM" select="POTRACKING/Lines[1]/PONumber"/>
<xsl:template match="/">
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_Tracking xmlns:ns1="http://www.findel-education.co.uk/axapta">
<xsl:for-each select="POTRACKING/Lines">
<sap:call-external class="ZCL_VNAP_OBJECTS" method="CHECK_PO_EXIST">
<sap:callvalue param="IP_EBELN" select="string(PONumber)"/>
<sap:callvariable name="vFlag" param="EP_BOLEAN" type="string"/>
</sap:call-external>
<xsl:if test="$vFlag = 0">
<Lines>
<DDate>
<xsl:value-of select="DespatchDate"/>
</DDate>
<PONumber>
<xsl:value-of select="PONumber"/>
</PONumber>
<POLine>
<xsl:value-of select="POLine"/>
</POLine>
<QTY>
<xsl:value-of select="Quantity"/>
</QTY>
<VendorMaterial>
<xsl:value-of select="VendorMaterialNumber"/>
</VendorMaterial>
<AccountRef>
<xsl:value-of select="AccountReference"/>
</AccountRef>
<ConsignNumber>
<xsl:value-of select="ConsignmentNumber"/>
</ConsignNumber>
<CarrierURL>
<xsl:value-of select="CarrierURL"/>
</CarrierURL>
<ConsignURL>
<xsl:value-of select="ConsignmentURL"/>
</ConsignURL>
</Lines>
</xsl:if>
</xsl:for-each>
</ns1:MT_Tracking>
</ns0:Message1>
<ns0:Message2>
<ns2:MT_Tracking xmlns:ns2="http://www.findel-education.co.uk/ecc/ax/po/ftp">
<xsl:for-each select="POTRACKING/Lines">
<sap:call-external class="ZCL_VNAP_OBJECTS" method="CHECK_PO_EXIST">
<sap:callvalue param="IP_EBELN" select="string(PONumber)"/>
<sap:callvariable name="vFlag" param="EP_BOLEAN" type="string"/>
</sap:call-external>
<xsl:if test="$vFlag = 1">
<Lines>
<DDate>
<xsl:value-of select="DespatchDate"/>
</DDate>
<PONumber>
<xsl:value-of select="PONumber"/>
</PONumber>
<POLine>
<xsl:value-of select="POLine"/>
</POLine>
<QTY>
<xsl:value-of select="Quantity"/>
</QTY>
<VendorMaterial>
<xsl:value-of select="VendorMaterialNumber"/>
</VendorMaterial>
<AccountRef>
<xsl:value-of select="AccountReference"/>
</AccountRef>
<ConsignNumber>
<xsl:value-of select="ConsignmentNumber"/>
</ConsignNumber>
<CarrierURL>
<xsl:value-of select="CarrierURL"/>
</CarrierURL>
<ConsignURL>
<xsl:value-of select="ConsignmentURL"/>
</ConsignURL>
</Lines>
</xsl:if>
</xsl:for-each>
</ns2:MT_Tracking>
</ns0:Message2>
</ns0:Messages>
</xsl:template>
</xsl:stylesheet>Hi Hareesh,
Please find my determination in the XSLT below, I am using enhanced receiver determination.
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" xmlns:p1="http://sap.com/xi/XI/System" xmlns:ns="urn:sap-com:document:sap:idoc:messages" version="1.0">
<xsl:variable name="vFlag"/>
<xsl:variable name="vAX" select="0"/>
<xsl:variable name="vSAP" select="0"/>
<xsl:variable name="vBoth" select="0"/>
<!-- <xsl:variable name="vPONUM" select="POTRACKING/Lines[1]/PONumber"/>-->
<xsl:template match="/">
<xsl:for-each select="POTRACKING/Lines">
<sap:call-external class="ZCL_VNAP_OBJECTS" method="CHECK_PO_EXIST">
<sap:callvalue param="IP_EBELN" select="string(PONumber)"/>
<sap:callvariable name="vFlag" param="EP_BOLEAN" type="string"/>
</sap:call-external>
<xsl:choose>
<xsl:when test="$vFlag = 0">
<!-- <p1:Receivers>
<Receiver>
<Service>
<xsl:text>BS_AXAPTA_TST</xsl:text>
</Service>
</Receiver>
</p1:Receivers>-->
<xsl:variable name="vAX" select="$vAX + 1"/>
</xsl:when>
<xsl:when test="$vFlag = 1">
<!-- <p1:Receivers>
<Receiver>
<Service>
<xsl:text>BS_ECQCLNT300</xsl:text>
</Service>
</Receiver>
</p1:Receivers>-->
<xsl:variable name="vSAP" select="$vSAP + 1"/>
</xsl:when>
</xsl:choose>
</xsl:for-each>
<xsl:if test="$vSAP > 0">
<xsl:if test="$vAX > 0">
<xsl:variable name="vBoth" select="$vBoth + 1"/>
<xsl:variable name="vSAP" select="0"/>
<xsl:variable name="vAX" select="0"/>
</xsl:if>
</xsl:if>
<xsl:if test="$vBoth > 0">
<p1:Receivers>
<Receiver>
<Service>
<xsl:text>BS_AXAPTA_TST</xsl:text>
</Service>
</Receiver>
<Receiver>
<Service>
<xsl:text>BS_ECQCLNT300</xsl:text>
</Service>
</Receiver>
</p1:Receivers>
</xsl:if>
<xsl:if test="$vAX > 0">
<p1:Receivers>
<Receiver>
<Service>
<xsl:text>BS_AXAPTA_TST</xsl:text>
</Service>
</Receiver>
</p1:Receivers>
</xsl:if>
<xsl:if test="$vSAP > 0">
<p1:Receivers>
<Receiver>
<Service>
<xsl:text>BS_ECQCLNT300</xsl:text>
</Service>
</Receiver>
</p1:Receivers>
</xsl:if>
</xsl:template>
</xsl:transform> -
Regarding receiver determination problem in IDOC-XI-XML file scenario
Dear All ,
In IDOC-XI-xml file scenario , I have configured SLD , IR . But in ID , after file adapter , reciever agreement configuration when I am doing receiver determination configuration I am not able to insert mapping program in configuration overview of receiver determination as I am not getting "New Specific" option in mapping .
Can anybody suggest what could be the reason behind this .
Thanks in Advance
PrabhatHi PRabhat,
In RCVR determination, you need to select the party & service (as appropriate) save the obeject
then refresh the configuration overview of recr det.
then you can see the partner/service
then you can open it & add the necessary objects.
Regards
Vishnu -
How to use substring in ITS(HTML file)
Hai,
I am modifying d_searchhelp.html file in agate. I want a use a substring function this file. So I used the below code.
newclassname=~searchhelpcontrolname;
oldclassname=newclassname.substring(0,8);
^ ^ ^
This is the error i got when i use this HTML file in searchhelp.
@ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,42): error : syntax error : '('
@ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,44): error : syntax error : ','
@ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,46): error : syntax error : ')'
Please let me know how to use substring.
Thanks & Regards,
H.K.Hayath BashaHello H.K.Hayath Basha,
please see the HTML Business documentation on <http://help.sap.com/saphelp_nw04/helpdata/en/5f/1fb5174aee11d189740000e8322d00/frameset.htm>:
string strSub (in string string, in int position, in int length)
With regards,
TJ -
Dynamic Receiver Determination using Soap header
Hi ,
I am trying to use a field in SOAP Header to determine the receivers dynamically.
1, Using XPATH gives me only values in the Payload and not the SOAP header. Is it possible to pull the value from the SOAP header to the payload and then do dynamic receiver determination.
2. Using Context Object is it possible to transfer the value of the field in SOAP header to variable header Xheadername1 and then use it to determine the receiver. I am having problems in passing the value of the field in soap header to XHeadername1.
Any help is appreciated and points will be awarded.
Joe VellaiparambilHi Joe,
This is a good blog by William, hope this is helpful.
/people/william.li/blog/2009/07/30/how-to-read-soap-header-information
Let us know if you need more information.
Regards,
Neetesh -
Read File identified by filename from File Adapter
Hi all,
is there any way to read a file (which is identified by a given name) by using the file adapter.
My scenario is the following:
Webservice -> PI -> File
I call PI via a Webservice. The webservice call contains the filename of the file that i'd like to receive as response. Is it possible to realize this scenario with PI - from my experience it is not possible. But i would appreciate if you have some alternative solutions for me.
BR,
MartinHi Martin,
you can't achieve required functionality by standard File adapter; you need to write adapter module to achieve it.
SAP says
If you are developing a module for the sender file/FTP adapter and want to access the file name, see SAP Note 819761
below is the link for Adapter module generation which might help.
http://help.sap.com/saphelp_nw04/helpdata/en/e9/61e1407e858031e10000000a1550b0/frameset.htm
Regards,
Karna... -
Dynamic Filename in File adapter
Hi,
I am doing idoc-file scenario.I get the filename as a field in one of the segments of my idoc.Can anyone please let me know how i can get the filename from my idoc and use this filename in my file adapter.
--ThanksHi all,
Thanks a lot for your replies.
Please find below the inbound message that i get. Now i need to get the filename that i get in one of the segments and use that in the file adapter.
<?xml version="1.0" encoding="UTF-8" ?>
- <ZSSV_GENERIC_IDOC>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>100</MANDT>
<DOCNUM>0000000000203015</DOCNUM>
<DOCREL>620</DOCREL>
<STATUS>30</STATUS>
<DIRECT>1</DIRECT>
<OUTMOD>2</OUTMOD>
<IDOCTYP>ZSSV_GENERIC_IDOC</IDOCTYP>
<MESTYP>ZSSV_GENERIC_MSG</MESTYP>
<SNDPOR>SAPYRA</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>YRACLNT100</SNDPRN>
<RCVPOR>YXDTEST_GI</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN>IDES_LS1</RCVPRN>
<CREDAT>20060420</CREDAT>
<CRETIM>184948</CRETIM>
<SERIAL>20060420184948</SERIAL>
</EDI_DC40>
- <Z1SSV_ITEMS_SUMMARY SEGMENT="1">
<IDOC_SEQ_NUM>1</IDOC_SEQ_NUM>
<TOTAL_REC_COUNT>50</TOTAL_REC_COUNT>
<IDOC_SEG_COUNT>50</IDOC_SEG_COUNT>
<OUTPUT_REC_LENGTH>90</OUTPUT_REC_LENGTH>
<INTERFACE_DESCRIPTOR>OUT_RYDER_0001</INTERFACE_DESCRIPTOR>
<b><HOST_FILENAME>TEST1</HOST_FILENAME></b>
<RECORD_DELIMITER>^</RECORD_DELIMITER>
<SEGMENT_DELIMITER>|</SEGMENT_DELIMITER>
</Z1SSV_ITEMS_SUMMARY>
In the file adapter, I have specified "%filename%.xml" as my file name and in variable substitution the reference is "payload:ZSSV_GENERIC_IDOC,1,IDOC,1,EDI_DC40,1,Z1SSV_ITEMS_SUMMARY,1,HOST_FILENAME,1".
I still get the same error "Message processing failed: Error during variable substitution: "
Waiting for your help in this matter.
Regards, -
Problem Using XMLAnonymizerBean module in Reciever File adapter.
Hi All,
I am trying to use the XMLAnonymizerBean in orer to convert the encoding of my xml document from UTF8 to ISO. However when I configure the module the message goes into waiting status with an exception saying.
Exception caught by adapter framework: Object not found in lookup of XMLAnonymizerBean..
I have configured the Module in the below manner...
Module Name = AF_Modules/XMLAnonymizerBean
Module Type = Local Enterprise Bean
Under Configuration i Mention
anonymizer.encoding = ISO-8859-1.
is there any thing i am missing, I am on Xi 7.0 SP 08.
Please help...Thaks for the pointer. Now I dont get any error however i am not getting the desired o/p.
I am trying to change the header of an xml file which I am trying to write from <?xml version="1.0" encoding="utf-8"?> to <?xml version="1.0" encoding="iso-8859-1"?> , as per the help doc this could be changed using the xmlAnonymizerBean.
My output still shows utf-8, Any pointers on thiswould be really appreciated.
Thank you. -
How to use secure connection parameter in file adapter
Hi all,
I have scenario like FIle to file using ftp protocal over secure connection(FTPS).
i have some doubts like for doing this interface wat infromation i required from my client.
iam able see the option FTPS(FTP USE SSL\TLS) for control connection & control and data conncetions.
if i check the use X.509 certificate for the client authentication
kestore (in the list i can see the some entrys for private keys )
X.509 certificate & private key(i can also see some entries for private key here )
my question am i use the this existing private key & certificates?
if yes which keys & certificates i have to use.
if no wat information i need like private key & certicates from client & how we installed those in the keystore providing by visual admin.
For appearing those entrys in value list of the above parameters key store & X.509 certificate & private key.
please let me know any basis activity involved over here other than keystore deployemnet.
please correct me if any thing wrongly mentioned.
Thanks in Advance.
Edited by: katakoti on Jul 7, 2011 7:36 AMHI Reddy ,
i already read that blog it nice blog. Few my doubts clarfied while reading the that blog.
my quetion is like weathe can we use "service_ssl" key sotre entry for any client FTP server for sending the encrypted files?.
i mean those entries in the keystore & X.509 Certificate and Private Key stanrd or client(sender or reciver) FTP specific
what deatils we require to do this scenario from client end & security team or basis team(firewall configuration like that). -
Use of range in case of XPATH for receiver determination.
Hi Experts,
I need to achieve the following using standard receiver determination.
The material number in the source message structure has to lie within a perticular range and that should decide the receiver of the message.
For example:
MT_SRC
|---- Ele1
|----
MaterialNo.
If MaterialNo is between 100000100 and 100001000 then it should be sent to BS_TGT1 else it should be sent to BS_TGT2.
Is it possible to achieve this using the standard conditional receiver determination using XPATH and if yes, how exactly?
Regards,
AmolHi Amol,
I think its possible. Never tried though for a range.
Go through this link and check out what is described under the section "Notes Regarding the Use of XPath Expressions"
http://help.sap.com/saphelp_nw04/helpdata/en/43/a513f2632c332ce10000000a11466f/frameset.htm
I am not sure whether it will work for two conditions though, i.e. for a range( Greater than 100000100, less than 100001000).
Just try and let us know.
Regards,
Sanjeev. -
ZIP FileName (Additional Files)
Hi, My sender FTP channel picks two files Main& Additional file suing adavanced options and zips it using Payloadzipbean and writes to the target without any mapping,however the name inside the zipped file is "MainDocument & File"
How can i get the original file name as in the source directory inside my zipped file? I think I need a module for this but not sure how to access the source filenames inside the module any help would be greatly appreciated.
Thanks,Thanks Ryan, as i cannot attach the screenshot here is how the soap header looks..
<Inbound Message>
<Soap Header>
<Soap Body>
<Payloads>
MainDocument (application/xml)
<File> (application/xml)
<Receiver Identification >
The two payloads when doubleclicked opens up the pdf documents, The dynamic Configuration contains the name of the Main Document i.e..
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">601070461-601070461-WB.pdf</SAP:Record>
</SAP:DynamicConfiguration>
Now when I use PayloadZipBean in my reciever File adapter the zip file is written as
Output.zip->when Unzipped>MainDocument &_File_ , with no extensions.
I have tried to include a custom module before PayloadZipBean to set the ContentType of the MainDocument and gave the parameter zip.filenameKey = contentType ,but still the Archive filename in the zip file does not change.
Kindly let me know if you need further info..struggling wid this ) i could send the screenshots to ur mail(if u ok to provide)
Many Thanks, -
File adapter become second step in the ccBPM (filename base on the input)
Hi XI Expert,
Could you help to advise me, what i should o with this scenario :
i have ccBPM scenario :
1. monitoring database table (using JDBC adapter), query filepath information and update
status accordingly after process.
2. read xml file (name and path base on the first step).
my problem is how to pass filepath and filename to file adapter, becase as i know file adapter (sender) only
can monitoring fix directory and file (patter).
Thank you
FernandHi,
It would be better if you elaborate your scenario.
Just check out the steps to create and display the file :
1 Create Material MM01 1 Create PR ME51N
2 Change Material MM02 2 Change PR ME52N
3 Display Material MM03 3 Display PR ME53N
4 List Extendable Materials MM50 4 Release individual PR ME54N
5 Stock Overview MMBE 5 Release Collective PR ME55
6 Flag for Deletion MM06 6 Create RFQ ME41
7 Enter storage locations MMSC 7 Change RFQ ME42
8 Create vendor (centrally) XK01 8 Display RFQ ME43
9 Change vendor (centrally) XK02 9 Print RFQ ME9A
10 Display vendor (centrally) XK03 10 Maintain Quotations ME47
11 Vendor Changes (Centrally) XK04 11 Comparitive statement ME49
12 Block Vendor (Centrally) XK05 12 Create contract ME31K
13 Mark vendor for deletion (centrally) XK06 13 Change Contract ME32K
14 Excise Master Maintenance J1ID 14 Display Contract ME33K
15 Create Purchasing Info Record ME11 15 Release Contract ME35K
16 Change Purchasing Info Record ME12 16 Print Contract ME9K
17 Display Purchasing Info Record ME13 17 Create PO ME21N
18 Changes to Purchasing Info Record ME14 18 Change PO ME22N
19 Flag for Deletion ME15 19 Display PO ME23N
20 Info Records Per Vendor MW1L 20 Release Individual PO ME29N
21 Info Records per Material ME1M 21 Release collective PO ME28
22 Create/ Change Service Master AC03 22 Print PO ME9F
23 Display Service Master AC04 23 Goods Receipt/Change /Display MIGO
24 List Display: Service Master AC06 24 Print of Material Document MB90
25 Invoice Verification MIRO
26 Park Invoice MIR7
27 Display Invoice MIR4
28 Cancel Invoice MR8M
29 Release Blocked invoice MRBR
30 Display of Invoice documents MIR5
Test Description: Procurement of Non-Stock Items Test Description: Procurement of Imported Gas in Bonded Warehouse
No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
1 Create PR with account assignment category ME51N 1 Create contract ME31K
2 Change PR ME52N 2 Change Contract ME32K
3 Display PR ME53N 3 Display Contract ME33K
4 Release individual PR ME54N 4 Release Contract ME35K
5 Release Collective PR ME55 5 Print Contract ME9K
6 Create RFQ ME41 6 Create PO (do not select GR based IV) ME21N
7 Change RFQ ME42 7 Change PO ME22N
8 Display RFQ ME43 8 Display PO ME23N
9 Print RFQ ME9A 9 Release Individual PO ME29N
10 Maintain Quotations ME47 10 Release collective PO ME28
11 Comparitive statement ME49 11 Print PO ME9F
12 Create PO with account assignment category (A for asset and K for cost center) and enter G/L a/c ME21N 12 Invoice verification (for customs duty, warfage , CVD) MIRO
13 Change PO ME22N 13 GR bonded MIGO
14 Display PO ME23N 14 Transfer the material Plant storage to unbonded MIGO/MB1B
15 Release Individual PO ME29N 15 Capture excise invoice J1IG
16 Release collective PO ME28 16 Print of Material Document MB90
17 Print PO ME9F 17 Invoice Verification MIRO
18 Goods Receipt/Change /Display MIGO 18 Park Invoice MIR7
19 Print of Material Document MB90 19 Display Invoice MIR4
20 Invoice Verification MIRO 20 Cancel Invoice MR8M
21 Park Invoice MIR7 21 Release Blocked invoice MRBR
22 Display Invoice MIR4 22 Display of Invoice documents MIR5
23 Cancel Invoice MR8M
24 Release Blocked invoice MRBR
25 Display of Invoice documents MIR5
Test Description: Procurement of Imported Gas in Non-Bonded Warehouse Test Description: Procurement of Gas (Domestic) in Manufacturing Location
No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
1 Create contract ME31K 1 Create Contract ME31K
2 Change Contract ME32K 2 Change Contract ME32K
3 Display Contract ME33K 3 Display Contract ME33K
4 Release Contract ME35K 4 Release Contract ME35K
5 Print Contract ME9K 5 Print Contract ME9K
6 Create PO (do not select GR based IV) ME21N 6 Create PO ME21N
7 Change PO ME22N 7 Change PO ME22N
8 Display PO ME23N 8 Display PO ME23N
9 Release Individual PO ME29N 9 Release individual PO ME29N
10 Release collective PO ME28 10 Release collective PO ME28
11 Print PO ME9F 11 Print PO ME9F
12 Invoice verification (for customs duty, warfage , CVD) MIRO 12 Create Inbound delivery VL31N
13 GR plant stocks MIGO 13 Change Inbound delivery VL32N
14 Capture excise invoice J1IG 14 Display Inbound delivery VL33N
15 Print of Material Document MB90 15 Create Shipment(Transport Planning) VT01N
16 Invoice Verification MIRO 16 Change Shipment VT02N
17 Park Invoice MIR7 17 Display Shipment VT03N
18 Display Invoice MIR4 18 Create Shipment costs VI01
19 Cancel Invoice MR8M 19 Change Shipment costs VI02
20 Release Blocked invoice MRBR 20 Display Shipment costs VI03
21 Display of Invoice documents MIR5 21 Goods Receipts MIGO
22 Capture and Post Excise MIGO / J1IEX
23 GR for free goods receipt MIGO
24 Post Excise for free goods MIGO / J1IEX
25 Print of Material Document MB90
26 Invoice Verification MIRO
27 Park Invoice MIR7
28 Display Invoice MIR4
29 Cancel Invoice MR8M
30 Release Blocked invoice MRBR
31 Display of Invoice documents MIR5
Test Description: Procurement of Gas (Domestic) in Trading Location Test Description: High Sea Sales
No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
1 Create Contract ME31K 1 Create Contract ME31K
2 Change Contract ME32K 2 Change Contract ME32K
3 Display Contract ME33K 3 Display Contract ME33K
4 Release Contract ME35K 4 Release Contract ME35K
5 Print Contract ME9K 5 Print Contract ME9K
6 Create PO ME21N 6 Receipt of Order from Customer Manual Process
7 Change PO ME22N 7 Create sales order SD process
8 Display PO ME23N 8 Automatic PR Automatic
9 Release individual PO ME29N 9 Display PR ME53N
10 Release collective PO ME28 10 Create PO ME21N
11 Print PO ME9F 11 Change PO ME22N
12 Create Inbound delivery VL31N 12 Display PO ME23N
13 Change Inbound delivery VL32N 13 Release individual PO ME29N
14 Display Inbound delivery VL33N 14 Release collective PO ME28
15 Create Shipment(Transport Planning) VT01N 15 Print PO ME9F
16 Change Shipment VT02N 16 Goods Receipt/Change /Display MIGO
17 Display Shipment VT03N 17 Print of Material Document MB90
18 Create Shipment costs VI01 18 Invoice Verification MIRO
19 Change Shipment costs VI02 19 Park Invoice MIR7
20 Display Shipment costs VI03 20 Display Invoice MIR4
21 Goods Receipts MIGO 21 Cancel Invoice MR8M
22 Capture and Post Excise J1IG 22 Release Blocked invoice MRBR
23 GR for free goods receipt MIGO 23 Display of Invoice documents MIR5
24 Post Excise for free goods J1IG
25 Print of Material Document MB90
26 Invoice Verification MIRO
27 Park Invoice MIR7
28 Display Invoice MIR4
29 Cancel Invoice MR8M
30 Release Blocked invoice MRBR
31 Display of Invoice documents MIR5
Test Description: Procurement Scenario in Haldia / Aegis Test Description: Procurement of Services
No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
1 Create Contract ME31K 1 Create PR( with Item category D) ME51N
2 Change Contract ME32K 2 Create PR ME51N
3 Display Contract ME33K 3 Change PR ME52N
4 Release Contract ME35K 4 Display PR ME53N
5 Print Contract ME9K 5 Release individual PR ME54N
6 Create PO ME21N 6 Release Collective PR ME55
7 Change PO ME22N 7 Create RFQ ME41
8 Display PO ME23N 8 Change RFQ ME42
9 Release individual PO ME29N 9 Display RFQ ME43
10 Release collective PO ME28 10 Print RFQ ME9A
11 Print PO ME9F 11 Maintain Quotations ME47
12 Receipt of Order from Customer 12 Comparitive statement ME49
13 Goods Receipt/Change /Display MIGO 13 Create contract ME31K
14 Print of Material Document MB90 14 Change Contract ME32K
15 Invoice Verification MIRO 15 Display Contract ME33K
16 Park Invoice MIR7 16 Release Contract ME35K
17 Display Invoice MIR4 17 Print Contract ME9K
18 Cancel Invoice MR8M 18 Create service PO ME21N
19 Release Blocked invoice MRBR 19 Change PO ME22N
20 Display of Invoice documents MIR5 20 Display PO ME23N
21 Release service PO ME29N
22 Release collective PO ME28
23 Print PO ME9F
24 Service Entry/ Acceptance ML81N
25 Invoice Verification MIRO
26 Park Invoice MIR7
27 Display Invoice MIR4
28 Cancel Invoice MR8M
29 Release Blocked invoice MRBR
30 Display of Invoice documents MIR5
Test Description: Procurement of Assets via Internal Order Test Description: Painting / Rework of Cylinders
No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
1 Create Capital Investment order KO01 1 PO Creation (Item Category L, Account Assignment K) ME21N
2 Create an AUC for the Internal Order KO02 2 Change PO ME22N
3 Release the Internal order KO02 3 Display PO ME23N
4 Create a Purchase order with account assignment 'F' and asssinging the suitable order number ME21N 4 Release service PO ME29N
5 Post Goods Receipt with reference to PO MIGO 5 Release collective PO ME28
6 Post Invoice Verification MIRO 6 Print PO ME9F
7 Do an initial settlement of internal order to AUC (automatic). Need not maintain settlement rule in the order for AUC KO88 7 Material transfer to vendor MB1B
8 Create an asset against which the order needs to be finally settled (Full settlement) AS01 8 Receive the material from vendor MIGO
9 Settlement rule need to be maintained in the order for asset number for full settlement KO02 9 Logistics Invoice Verification MIRO
10 Do a final(Full) settlement of the internal order to asset. 'Select the option full settlement' KO88 10 Park Invoice MIR7
11 Check the posted entries for the asset AS03 11 Display Invoice MIR4
12 Cancel Invoice MR8M
13 Release Blocked invoice MRBR
14 Display of Invoice documents MIR5
Test Description: Posting of Gas Gain / Loss at the end of the Month Test Description: Physical Inventory
No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
1 Create Physical Inventory Document and Post MI10 1 Create Physical inventory document MI01
2 Update Excise Records J1IG / J1I5 2 Change Physical Inventory Document MI02
3 Display Physical Inventory Document MI03
4 Enter Inventory count MI04
5 Recount MI11
6 Post difference count MI07
7 Count/ difference MI08
Test Description: Filling of Cylinders 8 Update Excise Records J1IG / J1I5
No. Business Process Steps Transaction Code
1 Run the Filling Transaction ZFILL
2 Check for the Material Document MB03
Test Description: Day End Excise Transactions
No. Business Process Steps Transaction Code
1 Update of Registers RG1 and RG23 (Part 1) J1I5
2 Escise Register Extraction J2I5
3 Print Excise Registers J2I6
4 Download Register Data J1IR
Test Description: STO Process Manufacturing to Trading Test Description: STO Process Trading to Trading
No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
1 Create PO ME21N 1 Create PO ME21N
2 Change PO ME22N 2 Change PO ME22N
3 Display PO ME23N 3 Display PO ME23N
4 Print PO ME9F 4 Print PO ME9F
5 Create Outbound delivery VL10B 5 Create Outbound delivery VL10B
6 Change Outbound delivery VL02N 6 Change Outbound delivery VL02N
7 Display Outbound delivery VL03N 7 Display Outbound delivery VL03N
8 Print of Material Document MB90 8 Print of Material Document MB90
9 Create Excise Invoice J1IS 9 Create Excise Invoice J1IJ
10 Goods Receipts MIGO 10 Goods Receipts MIGO
11 Capture and Post Excise J1IG 11 Capture and Post Excise J1IG
12 GR for free goods receipt MIGO 12 GR for free goods receipt MIGO
13 Post Excise for free goods J1IG 13 Post Excise for free goods J1IG
14 Print of Material Document MB90 14 Print of Material Document MB90
Test Description: STO Process Trading to Manufacturing
No. Business Process Steps Transaction Code
1 Create PO ME21N
2 Change PO ME22N
3 Display PO ME23N
4 Print PO ME9F
5 Create Outbound delivery VL10B
6 Change Outbound delivery VL02N
7 Display Outbound delivery VL03N
8 Print of Material Document MB90
9 Create Excise Invoice J1IJ
10 Goods Receipts MIGO
11 Capture and Post Excise J1IG
12 GR for free goods receipt MIGO
13 Post Excise for free goods J1IG
14 Print of Material Document MB90
Sr.no Transaction Menu Path
1 Create PR for Materials
(ME51) LogMMPurchasingRequisitioncreateEnt
er appropriate document type,item category(blank for materials),appropriate A/C ***.Cat,Del date,plant,pur grp,mat grp and Req tracking no and Requisitioner(not mandatory)press enterEnter MESC no. of the material or Description in short text/long text,Qty,unitpress enterEnter estimated unit pricepress enterEnter G/L A/C and Cost centre or ORDERdepending upon A/c ***. Categorypress enterSave. Note the PR no.
2 Create PR for Services (ME51) LogMMPurchasingRequisitioncreateEnter appropriate document type,item categoryD, appropriate A/C ***.Cat,Del date,plant,pur grp,mat grp and Req tracking no and Requisitioner(not mandatory)press enter Do you want to create outline?NoEnter job heading in Short text,service no or service descriptionin item 10,20,- - - - ,Qty,unit,estimated priceclick on OutlineEnter G/L A/C noand Cost centre or ORDERdepending upon A/c ***. CategoryClick on job headingclick on new sub groupCreate new subgroups such as Scope of work, Special conditions, etcSave. Note the PR no.
3 Check Release Strategy for PR (ME54) LogMMPurchasingRequisitiondisplayEnter PR no.Press Enter Select the line item and click on the Release Strategy (Green) iconNote the release strategy.
4 Create Service RFQ
(ME41) LogMMPurchasingRFQ/QuotationRFQCreateEnter Quot. Deadline,pur org,pur grp,plant, Click on Ref to Preq,Enter PR no.press enterSelect services Click on Copy+Dtails Click on Vendor adressSelect VendorPress EnterCheck vendor detailsSaveNote collective RFQ no.Press EnterNote the individual vendor RFQ no.Select second vendor and follow the same procedure for as many no of vendors as deesired.
If Quotations are to be compared with the BPCL estimate, then create RFQ for BPCL Estimateas a vendor (vendor no.300648)
5 Printing of RFQs(ME9A) LogMMPurchasingRFQ/QuotationRFQMessagesprint/transmitEnter individual vendors RFQ noExecutetick in the check boxclick on output
6 Reprinting of RFQ LogMMPurchasingRFQ/QuotationRFQchangeEnter RFQ no.enterclick on HeaderMessagesDelete the message NEU and create new message by writing NEUpress enterSaveenter printer nametick on print immediately & release after outputEnter.
7 Maintain RFQ
(ME47) LogMMPurchasingRFQ/QuotationQuotationMaintainEnter each partys Individual RFQ no.Enterselect the item and click on services Enetr the tax code Enter quotations of each party against each line item and saveEnter jurisdiction code. .
8
Quotation comparison
(ME49)
LogMMPurchasingRFQ/QuotationQuotationPrice ComparisonEnter collective RFQ no.Execute
9 Create PO wrt RFQ(ME21) LogMMPurchasingPur. Ordcreatevendor knownRef to RFQEnter Vendors RFQ noEnterSelect the items Copy+ Detailspress enterEnter jurisdiction codeSave. Note the PO no.
10 Create Service PO
Vendor known
(ME21) LogMMPurchasingPur. Ordcreate-vendor knownEnter vendor no, Pur org1000, Pur Grp, Item Cat.D, A/C ***.cat.K, Delivery Date, Plant, Material group (alpha numeric for services), Req tracking no. (Optional)Press enterAcknowledge the warningDo you want to create Outline? Press NOEnter the short text of the services in the headerEnter service no. or the short text of the services with quantity,Unit and Price.To write more details about services,select the line item & click on Long text for line(Paper and pencil symbol) OR double click on the service line item click on long text symbol against line item short textEnter G/L A/C and Cost CentreSaveenter Tax code 00press enterEnter jurisdiction code IN 00Note the PO number.
11 Check Release Strategy for PO(ME23) LogMMPurchasingPOdisplayEnter PO no.Press EnterGo backSelect the line item and click on the Release Strategy (Green) iconNote the release strategy.
12 Release PO(ME28) LogMMPurchasingPOReleaseEnter PO no in document no. and Release code Executeselect the POClick on Release + Save.
13 To paste a file in any long text Create a word document and save the same as RTF file.
To upload this file in the long text, click on TextUploadselect radio button on RTFClick on TransferGive menu path for the saved RTF fileClick on TransferGo backSave.
14 Create SES(ML81) Logistics Materials Management  Purchasing  Purchase order DisplayPurchase Order Select Purchase Order Follow on Functions  Service Entry Sheet  Maintain  Press Enter  Select the item Click on Create Entry sheet icon  Click Service sel icon  Press enter  Select items  Click on Adopt services icon  Enter the actual quantities  Save.
15 Release SES(ML81) Logistics  Materials Management  Purchasing  Purchase Order  Follow On Functions  Service Entry Sheet Maintain  Select the Purchase order No.  Press Enter  Double Click on Service Entry Sheet No.  Go Back  Click on Accept icon (green colour)  Enter appropriate release code as per authority  Save.
16 Logistic Invoice verification
(MR1M) Logistics  Materials Management  Purchasing Purchase Order  Display  Purchase Order Follow On Functions Log .Inv Ver.Enter Doc date, Gross inv amount,Press enetr . Check the tax code for TDS/WCT W.tax base (if applicable.If w.tax base amount is not mentioned the system will take Gross inv amount by default for calculating works contract tax) ),terms of payment & W tax code will get defaulted from vendor master, Click on header  Enter PO number in Allocation ,House bank and Payment method as C ( Cheque) Go Back Click on item list Check the green signal and then save.
17 Goods Issue(MB1A) Logistics  Materials Management Inventory managementGoods movement Goods IssueClick on To Reservation and enter Resservation no,if GI to be done wrt to reservation.Otherwise enter movement type,plant,slocpress enterEnter MESC no,Qty,Cost centre or ORDER as the case may be and SAVE.
L8 Goods Receipt
(MB01) Logistics  Materials Management  Purchasing Purchase Order DisplayPurchase Order  Follow On Functions Goods receiptBill of lading or delivery challan noclick on copy+details,Enter quantity to be receivedSave.
19 Electricity and other Statutory payments
(ME21) Create PO with Vendor known, order type FO, Item Category B and A/C ***.Cat K.Press enterEnter validity start and end dateEnterEnter short text, overall limit & expected valueEnterEnter G/L A/C, Cost CentreEnterSaveEnter tax codeEnterNote the FO order no.
For this order neither Service Entry nor Goods receipt is required. An Invoice can be directly processed in the system for making payment.
Carryout Logistics Invoice verification in reference to the purchase order. Though the cost center defaults from the purchase order, the same can be changed during the invoice verification.
20 LIV for FO order
(MR1M) Logistics  Materials Management  Purchasing Purchase Order  Display Purchase Order Follow On Functions Log .Inv Ver.
Enter Document Date, Reference, & Amount to
be paid. Press enter .Check the tax code for TDS/WCT.Click on header . Enter the PO number in Allocation/House bank and payment method. Go back.
Click on Item list  Select the invoice item by ticking in the check
box on the left  Click on Account Assignment  In the account assignment page  enter the amount you have entered earlier in the amount field (The amount can be distributed amongst various cost centres)  Go back  Indicator turns green  Save
21 Travel & Ticketting Create standard PO type NB with item category D and A/C ***. Cat K.Enter each bill as line item.While entering the G/L A/C and Cost centre , enter INDAIRLINES or JETAIRWAYS in the ORDER so that corporation can avail of bulk discount.
22 Outline Agreement Creation w.r.t. RFQ
(ME31K) Logistics Materials Management PurchasingOutline AgreementContractCreate
Click on Reference to RFQ Give the individual RFQ number against which the contract is to be created Press enter Give the validity start ,end dates and the target value of the contract. Press EnterSelect the material line item and click on Copy +Details .In case the account assignment is not given befor give the relevant account assingnment category K/F/P and then click on Copy Details Press Enter If the ssignment is not given give the required account assignment now . If it is to be maintained same for all the services click on Auto repeat AAGive the Jurisdiction code as IN00 . Check whether all the services have been copied from the RFQ along with the rates by selecting the material line item and then going to services screen (HammerSpanner) Save the contract . note the number
23 Create PO w.r.t. Contract
(ME21) Logistics  Materials Management  Purchasing Purchase Order Create  Vendor known Click on Reference to Contract  Give the Contract number in Outline agreentment field Press Enter Select The material line item and click on Copy +Details Press enter Say No when asked Do you want to create an outlineChange the short text as per the requirement and then click on Service Sel icon Press enter to select the services from the contract .Select the required services and then click on Services(Adopt Services icon). The quantities of the various line item are defaulted as 1 . Change the quantities as per the requirement. Press enter . Save the PO and note the number .
24 PO for one time vendor Create standard PO with vendor code 900000. Give correct vendor details. Save and release the PO. For one time vendor IV to be done and not LIV.
25 IV for one time vendor Logistics Materials Management  Purchasing  Purchase order DisplayPurchase Order Select Purchase Order Follow on Functions Invoice verificationEnter all details of billsEnter CancelEnter Amount ,Payment method,Payment method supplementEnterSimulate Save.
26 Cancel PO(ME22) LogMMPurchasingPurchase orderchangeEnter PO no.enterSelect the items to be cancelledClick on delete.
27 Close PO
(ME22) LogMMPurchasingPurchase orderchangeEnter PO no.enterclick on HeaderDetailsTick on complete DeliverySave
28 Print PO
(ME9F) Logistics  Materials management  Purchasing  Purchase Order Messagesprint/transmitEnter PO no.ExecuteTick in the check boxClick on outputOutput device LOCLtick on print immediately
29 Reprinting of PO LogMMPurchasingPurchase orderchangeEnter PO no.enterclick on HeaderMessages create new message by writing NEUpress enterSaveenter printer nametick on print immediately & release after outputEnter.
30 PO History
(ME23) LogMMPurchasingPurchase orderDisplayEnter PO no.Press Enter(Incase of metrials select the material line item . For services Go back to material screen Select line item & click on PO history(Graph symbol)
31 LD Deductions LogMMInvoice verification Invoice verificationClick on Enter credit memoEnter document date,vendor code,company code 1000,currencyClick on Memo iconEnter reason for LDClick on enterEnter the amount,payment method supplementpress enterClick on EditNew itemG/L AccountEnter G/L A/C 480070,click on Credit PostingPress EnterFill in the same amount & Business areaEnterSave.
32 Release of Retention Money After the final Invoice verification, Find out all the Invoicing documents from the PO history.
LogMMPurchasingPurchase orderDisplayEnter PO no.Press Enter(Incase of metrials select the material line item . For services Go back to material screen Select line item & click on PO history(Graph symbol)
Double click on the LIV documentsclick on Follow on DocumentsDouble click on the retention money documentDocumentDisplay->ChangeChange the base line date (6 months from the final bill) and remove payment block HSave.
By this procedure the payment shall fall due 6 months after the final bill or on the Base line date
33 Down payment Request AccountingFinancial AccountingAccounts payablePostingDown paymentRequestEnter Document date, document type KA, company code 1000,posting date, currency. vendor code, Trg .SP G/L Ind. A Press EnterEnter the amount of advance, Business area, Due on date, PO no against which the advance is being paid, item no 10 in the next field, Enter PO no preceded by * in the allocation field, Enter relevant text in the text field, Enter the relevant W.tax code(from D series)Press EnterAccept warning, if anyClick on more data from menuEnter house bank Save
34 Check Vendor Line items for above Accounting Financial AccountingAccounts payableAccountDisplay Line itemsEnter Vendor codeTick open items with special G/L indicators button, Go to selection criteria, Enter business areaEnterNote the displayed Vendor line items for Down payment request in open items
35 Clearing Down Payment AccountingFinancial AccountingAccounts payablePostingDown paymentClearingEnter Document date, posting date, company code, currency, Vendor code, Relevant Invoice document no against which the document is to be recovered, fiscal year, Enter PO no preceded by * in the Allocation field, Enter relevant text in the text fieldEnterMessage Correct the line marked line items appears, Double click the line item, Enter the relevant text, payment method supplementSave. For checking the Vendor line item for Down payment clearing, follow the same menu path as in Sr no. 31
36 Enter Credit Memo LogisticsMaterial Mgmt Invoice verification Enter Credit memoFill in the details: Date - Todays Date, Document Type - KA, Company code - 1000, Currency - INR, Vendor code - fill in vendor code Do not enter P.O No. Press Enter Fill in the amount to be deducted with withholding Tax code as Z0, Payment method as C, payment method supplement as applicable Invoice ref No Eight digit No as noted from invoice document and Necessary text in allocation. Press Enter In this screen, use path Edit New item GL Account(480070 for LD and 480000 for misc income), In the pop-up box press Radio button as Credit posting Fill in necessary GL Account as mentioned below Press enter  In this screen Give the same amount and fill in the Business Area where credit is to be given {In case of Credit, to be given for multiple business area/ GL account repeat} Press EnterClick on simulate (check the entries are Proper i.e. diff is zero.) Save Note and record Credit document No
You can revert back with a bit more elaboration of your scenario.
Regards,
Sushama -
Dynamic Destination based on data in message using the File adapter
I am unsure of where to start searching for a clue as to how to impement this. Any comments would be much appreciated.
Scenario
IDOC -
> XI -
> File adapter -
> File System
(DESADV) (Variable based on info in DESADV. ie Site)
Essentially I wish to use XI as a router and transformer for certain message types depending on the data within the message itself.
Is anyone aware of any documentation around this kind of scenario ?
Additional Notes
There is the possibilty of have up to 1000 different destinations from the same message, but the message will ONLY be sent to the site addressed within.
thanks in advance ..Hi Richard,
The scenario requirement is not yet very clear.
But if you want to route the Idoc to different receiver systems depending the payload value, you may configure it in ID with different business services and then using conditional Receiver Determination using XPath.
That is one way, and if you want to use the same receiver service and only 100 different target folders on the File System, then you can surely use the Variable Substitution for the Target Directory in NFS File Adapter. You can build the target path with from the payload value in variable substitution table under the advanced tab in File Adapter. Remember to set the "Create Target Directory" indicator under Target tab.
Hope one of these might be a solution for you. Let me know if you need more detailed information.
Regards,
Suddha -
Blank Lines at end of file when using Variable Substitution in File Adapter
Hi all,
I'm using variable substitution in a File Adapter, it's refers an element of message, like:
filename payload:MESSAGE_INTERFACE,1,FILENAME,1
The variable substitution is working right, but it's append a BLANK LINE at end of file.
Anyone knows how to solve this problem ?
Thanks in advance.Hi Regis,
I suppose you're using content conversion?
if so try adding
<b>endSeparator</b> = '0'
to your last element
this will delete the default line break at the end
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>
Maybe you are looking for
-
i cannot mirror from ipad or ipad air to a samsung smart tv via appletv.Any ideas please?
-
Error message and black scrren when I try to load new game.
Hi Recently I purchased Restaurant Empire 2 for my pc and I downloaded and installed the game but everytime I try to play it, the first screen loads then a black screen comes up with error message " error opening file SHADER/shadowmi/cubemap+shadow.p
-
Emailed jpegs cannot be opened by AOL users?
I never had this problem with iView but for some reason when I email pics (using the default JPEG profile) from Aperture (via Mail.app), AOL recipients cannot open or view my images at all. Has anyone experienced this problem/found a solution? Thanks
-
I created a PDF form that contained a button with the action of Run Java Script. the purpose was to preselect a deginated printer for the end-user. All worked well until Adobe Reader X. In Reader X, the printer is ignored and selects the users defa
-
Can BI Publisher 11.1.1.5 output native Excel 2007 format?
I've tried auto-generating an RTF layout template from a very simple data model, but the layout can only produce old Excel format. When I set it to Excel2007, I get the following error in my BIP log: [2012-03-08T11:31:16.457-08:00] [AdminServer] [WAR