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.
--Thanks

Hi 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,

Similar Messages

  • Dynamic Configuration of File Adapter

    Hi,
    XI Version 3.0 SP13, Planning to upgrade to SP14
    In my scenario I need to pick up files from 4 static locations and based on the file name and pick up type(file/ftp) I can find out the destination's connectivity information from a Cross-Referencing table(Based on MS-SQL Database table- I can get this using look API) in this table we maintaining more than 100 destinations(host/user_name/password etc).
    Now I need to set the connectivity information dynamically at runtime. I know this is not possible with Standard XI but does anyone thinks this is possible by any technical way using with XI.. Adapter Modules or Java Proxies?
    This is very Critical to win the war with other inhouse middleware tools. Please let me know your thoughts and comments...
    thanks,
    Laxman Molugu

    Laxman,
    Go through this url's. They might be handy for you:
    Dynamic filename in XI
    Dynamic  File Name for Receiver File Adapter
    ---Mohan

  • How to generate file name dynamically in receiver FIle adapter? Please help

    Dear Experts,
       I have a scenario where I need to generate output file with the name dynamically pulled from the XI payload.
       In receiver File communication channel I don't see any option where we can specify the XML path for the file name.
       For example:
       If my inbound XML structure (inbound interface) is like below:
       <filename>file123.txt</filename>
       <RootNode>
             <Element1>Product123</Element1>
       <RootNode>
      From this I need to pick the filename value and generate the output file with the same value.
      How can I achieve this? Please help!
    Thanks & Regards
    Gopal
    Edited by: gopalkrishna baliga on May 3, 2011 1:10 PM

    Gopal,
    You can use DynamicConfiguration class for this.
    You need to write UDF for this and with input of filename you want to set and map this UDF to the top level node.
    Refer the below famous blog from Micheal:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    You can also use Variable substitution to get value from payload, search SDN on this.
    --Divyesh Vasani

  • Passing file name dynamically to the file adapter

    Hi All,
    I'm using a file adapter to create a file from the XML message after mapping in XI. The file name is given in the file adapter configuration. Is it possible to have the file name as a part of the message and pass it to the file adapter dynamically? Or is it possible to have the file name in some variable or something in XI (like a BPM variable) and pass it to the adapter for every message?
    Does someone have any idea?
    Thanks,
    Sandeep

    Hi Sandeep,
    This is possible.
    For creating filenames dynamically for your sender, you will have to crate a variable name ( eg: %VAR%) as you file name and then you will have to give the name of your file under variable substitution. Just check this link for more info,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    In the case of receiver file adapaters, you have 5 options for file creation like,
    1.Create
    2.Append
    3. Add time stamp
    4.Add Counter
    5. Add Message ID
    You can choose any of these options or you can do it dynamically from you payload. Just check out this help link for more info,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Hope this helps

  • 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,
    Martin

    Hi 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 mail adapter

    Hi,
    how can I set the filename of a mail attachment dynamically in a receiver mail adapter (also dynamically configured)?
    I had to uncheck the "keep attachment" because of our scenario.
    If I check this box I get a .xml file which I can rename with the MessageTransformBean (but not dynamically?) but I get to much files in the mail.
    Now I get a .dat file and want to rename it dynamically in e.g. dynamicName.txt.
    Can you give me some input how to do that?
    Thanks in advance
    Dominic

    Hi
    <i>isn't it possible to set the filename of the attachment in the message-mapping?</i>
    --->
    Try writing this UDF so to get the name in mapping
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,a); // a - parameter given to UDF that specifies filename
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Hope this helps

  • 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,

  • Problem:obtaing file name using Dynamic configuration of file adapter

    hi all
    I am using Dynamic configuration for getting file name.
    I am getting Dynamic configuration in SXMB_MONI containg file name, but payload is empty unlike file i am sending.

    Hi All,
    Basically my requirement to get Filename in idoc segments in order to validate the posting at month end.
    Its an File to idoc scenario- GL Posting.
    Please check attached UDF and it gives error. Kindly help. Thanks

  • Dynamic filename configuration via custom EJB

    Hi Experts,
                        We are doing a poc on whether we can do the dynamic filename configuration,i.e. set the file name dynamically in a custom EJB deployed on the server and called in the sender comm. channel of any J2EE based adapter.
    The requirement is for some interfaces, there is no mapping requirement other then setting the filename dynamically, which maybe based on a certain value of the input file or a specific portion of string in the payload.
    The custom EJB takes the namespace and attribute as input parameters along with other string manupulation parameters to determine the receiver file name. That is if we are using sender JMS adapter, we can have namespace = http://sap.com/xi/XI/System/JMS and attribute as DCJMSMessageProperty1. The bean would read the value and perform the manipulation based on certain other input parameters and set the file.
    There is one particular bean : AF_Modules/DynamicConfigurationBean but it does not allow us to manipulate the filename.
    Any help would be much appreciated.
    Regards,
    Shiladitya

    Hi,
    please refer to the following links for your reference
    Re: Reading Dynamic Configuration information in side adapter module.
    Re: Dynamic Filename in File adapter
    Regards,
    Bhanu

  • 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
    Fernand

    Hi,
    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&#61664;MM&#61664;Purchasing&#61664;Requisition&#61664;create&#61664;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)&#61664;press enter&#61664;Enter MESC no. of the material or Description in short text/long text,Qty,unit&#61664;press enter&#61664;Enter estimated unit price&#61664;press enter&#61664;Enter G/L A/C and Cost centre or ‘ORDER’depending upon A/c ***. Category&#61664;press enter&#61664;Save. Note the PR no.
    2 Create PR for Services (ME51) Log&#61664;MM&#61664;Purchasing&#61664;Requisition&#61664;create&#61664;Enter appropriate document type,item category’D’, appropriate A/C ***.Cat,Del date,plant,pur grp,mat grp and ‘Req tracking no’ and ‘Requisitioner’(not mandatory)&#61664;press enter&#61664; ‘Do you want to create outline?’&#61664;No&#61664;Enter job heading in Short text,service no or service descriptionin item 10,20,- - - - ,Qty,unit,estimated price&#61664;click on ‘Outline’&#61664;Enter G/L A/C noand Cost centre or ORDER’depending upon A/c ***. Category&#61664;Click on job heading&#61664;click on ‘new sub group’&#61664;Create new subgroups such as ‘Scope of work’, ‘Special conditions, etc&#61664;Save. Note the PR no.
    3 Check Release Strategy for PR (ME54) Log&#61664;MM&#61664;Purchasing&#61664;Requisition&#61664;display&#61664;Enter PR no.&#61664;Press Enter&#61664; Select the line item and click on the Release Strategy (Green) icon&#61664;Note the release strategy.
    4 Create Service RFQ
    (ME41) Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;RFQ&#61664;Create&#61664;Enter Quot. Deadline,pur org,pur grp,plant, &#61664;Click on ‘Ref to Preq’,Enter PR no&#61664;.press enter&#61664;Select services &#61664;Click on ‘Copy+Dtails’ &#61664;Click on Vendor adress&#61664;Select Vendor&#61664;Press Enter&#61664;Check vendor details&#61664;Save&#61664;Note collective RFQ no.&#61664;Press Enter&#61664;Note the individual vendor RFQ no.&#61664;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 Estimate’as a vendor (vendor no.300648)
    5 Printing of RFQ’s(ME9A) Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;RFQ&#61664;Messages&#61664;print/transmit&#61664;Enter individual vendor’s RFQ no&#61664;Execute&#61664;tick in the check box&#61664;click on output
    6 Reprinting of RFQ Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;RFQ&#61664;change&#61664;Enter RFQ no.&#61664;enter&#61664;click on Header&#61664;Messages&#61664;Delete the message ‘NEU’ and create new message by writing ‘NEU’&#61664;press enter&#61664;Save&#61664;enter printer name&#61664;tick on print immediately & release after output&#61664;Enter.
    7 Maintain RFQ
    (ME47) Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;Quotation&#61664;Maintain&#61664;Enter each party’s Individual RFQ no.&#61664;Enter&#61664;select the item and click on ‘services’&#61664; Enetr the tax code&#61664; Enter quotations of each party against each line item and save&#61664;Enter jurisdiction code. .
    8
    Quotation comparison
    (ME49)
    Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;Quotation&#61664;Price Comparison&#61664;Enter collective RFQ no.&#61664;Execute
    9 Create PO wrt RFQ(ME21) Log&#61664;MM&#61664;Purchasing&#61664;Pur. Ord&#61664;create&#61664;vendor known&#61664;Ref to RFQ&#61664;Enter Vendor’s RFQ no&#61664;Enter&#61664;Select the items&#61664; ‘Copy+ Details’&#61664;press enter&#61664;Enter jurisdiction code&#61664;Save. Note the PO no.
    10 Create Service PO
    Vendor known
    (ME21) Log&#61664;MM&#61664;Purchasing&#61664;Pur. Ord&#61664;create-vendor known&#61664;Enter vendor no, Pur org’1000’, Pur Grp, Item Cat.’D’, A/C ***.cat.’K’, Delivery Date, Plant, Material group (alpha numeric for services), Req tracking no. (Optional)&#61664;Press enter&#61664;Acknowledge the warning&#61664;Do you want to create Outline? Press “NO”&#61664;Enter the short text of the services in the header&#61664;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 &#61664;click on long text symbol against line item short text&#61664;Enter ‘G/L A/C’ and ‘Cost Centre’&#61664;Save&#61664;enter Tax code ‘00’&#61664;press enter&#61664;Enter jurisdiction code ‘IN 00’&#61664;Note the PO number.
    11 Check Release Strategy for PO(ME23) Log&#61664;MM&#61664;Purchasing&#61664;PO&#61664;display&#61664;Enter PO no.&#61664;Press Enter&#61664;Go back&#61664;Select the line item and click on the Release Strategy (Green) icon&#61664;Note the release strategy.
    12 Release PO(ME28) Log&#61664;MM&#61664;Purchasing&#61664;PO&#61664;Release&#61664;Enter PO no in document no. and Release code &#61664;Execute&#61664;select the PO&#61664;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&#61664;Upload&#61664;select radio button on RTF&#61664;Click on ‘Transfer’&#61664;Give menu path for the saved RTF file&#61664;Click on Transfer&#61664;Go back&#61664;Save.
    14 Create SES(ML81) Logistics&#61664; Materials Management &#61664; Purchasing &#61664; Purchase order Display&#61664;Purchase Order Select Purchase Order &#61664;Follow on Functions &#61664; Service Entry Sheet &#61664; Maintain &#61664; Press Enter &#61664; Select the item &#61664;Click on Create Entry sheet icon &#61664; Click Service sel icon &#61664; Press enter &#61664; Select items &#61664; Click on Adopt services icon &#61664; Enter the actual quantities &#61664; Save.
    15 Release SES(ML81) Logistics &#61664; Materials Management &#61664; Purchasing &#61664; Purchase Order &#61664; Follow On Functions &#61664; Service Entry Sheet&#61664; Maintain &#61664; Select the Purchase order No. &#61664; Press Enter &#61664; Double Click on Service Entry Sheet No. &#61664; Go Back &#61664; Click on Accept icon (green colour) &#61664; Enter appropriate release code as per authority &#61664; Save.
    16 Logistic Invoice verification
    (MR1M) Logistics &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order &#61664; Display &#61664; Purchase Order&#61664; Follow On Functions &#61664;Log .Inv Ver.&#61664;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, &#61664;Click on header &#61664; Enter PO number in Allocation ,House bank and Payment method as C ( Cheque) &#61664;Go Back &#61664;Click on item list &#61664;Check the green signal and then save.
    17 Goods Issue(MB1A) Logistics &#61664; Materials Management &#61664;Inventory management&#61664;Goods movement &#61664;Goods Issue&#61664;Click on ‘To Reservation’ and enter Resservation no,if GI to be done wrt to reservation.Otherwise enter movement type,plant,sloc&#61664;press enter&#61664;Enter MESC no,Qty,Cost centre or ORDER as the case may be and SAVE.
    L8 Goods Receipt
    (MB01) Logistics &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order &#61664;Display&#61664;Purchase Order &#61664; Follow On Functions &#61664;Goods receipt&#61664;Bill of lading or delivery challan no&#61664;click on ‘copy+details’,Enter quantity to be received&#61664;Save.
    19 Electricity and other Statutory payments
    (ME21) Create PO with Vendor known, order type FO, Item Category ‘B’ and A/C ***.Cat ‘K’.&#61664;Press enter&#61664;Enter validity start and end date&#61664;Enter&#61664;Enter short text, overall limit & expected value&#61664;Enter&#61664;Enter G/L A/C, Cost Centre&#61664;Enter&#61664;Save&#61664;Enter tax code&#61664;Enter&#61664;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 &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order &#61664; Display &#61664;Purchase Order&#61664; Follow On Functions &#61664;Log .Inv Ver.&#61664;
    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 &#61664; Select the invoice item by ticking in the check
    box on the left &#61664; Click on Account Assignment &#61664; In the account assignment page &#61664; enter the amount you have entered earlier in the amount field (The amount can be distributed amongst various cost centres) &#61664; Go back &#61664; Indicator turns green &#61664; 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 &#61664;Materials Management &#61664;Purchasing&#61664;Outline Agreement&#61664;Contract&#61664;Create
    Click on Reference to RFQ &#61664;Give the individual RFQ number against which the contract is to be created &#61664;Press enter &#61664;Give the validity start ,end dates and the target value of the contract. Press Enter&#61664;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’ &#61664;Press Enter &#61664;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&#61664;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) &#61664;Save the contract . note the number
    23 Create PO w.r.t. Contract
    (ME21) Logistics &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order Create &#61664; Vendor known&#61664; Click on Reference to Contract &#61664; Give the Contract number in Outline agreentment field &#61664;Press Enter &#61664;Select The material line item and click on Copy +Details &#61664;Press enter &#61664;Say No when asked “Do you want to create an outline”&#61664;Change the short text as per the requirement and then click on Service Sel icon &#61664;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&#61664; Materials Management &#61664; Purchasing &#61664; Purchase order Display&#61664;Purchase Order Select Purchase Order &#61664;Follow on Functions &#61664;Invoice verification&#61664;Enter all details of bills&#61664;Enter &#61664;Cancel&#61664;Enter Amount ,Payment method,Payment method supplement&#61664;Enter&#61664;Simulate &#61664;Save.
    26 Cancel PO(ME22) Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;change&#61664;Enter PO no.&#61664;enter&#61664;Select the items to be cancelled&#61664;Click on delete.
    27 Close PO
    (ME22) Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;change&#61664;Enter PO no.&#61664;enter&#61664;click on Header&#61664;Details&#61664;Tick on complete Delivery&#61664;Save
    28 Print PO
    (ME9F) Logistics &#61664; Materials management &#61664; Purchasing &#61664; Purchase Order &#61664;Messages&#61664;print/transmit&#61664;Enter PO no.&#61664;Execute&#61664;Tick in the check box&#61664;Click on output&#61664;Output device ‘LOCL’&#61664;tick on print immediately
    29 Reprinting of PO Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;change&#61664;Enter PO no.&#61664;enter&#61664;click on Header&#61664;Messages&#61664; create new message by writing ‘NEU’&#61664;press enter&#61664;Save&#61664;enter printer name&#61664;tick on print immediately & release after output&#61664;Enter.
    30 PO History
    (ME23) Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;Display&#61664;Enter PO no.&#61664;Press Enter&#61664;(Incase of metrials select the material line item . For services Go back to material screen &#61664;Select line item & click on PO history(Graph symbol)
    31 LD Deductions Log&#61664;MM&#61664;Invoice verification&#61664; Invoice verification&#61664;Click on ‘Enter credit memo’&#61664;Enter document date,vendor code,company code 1000,currency&#61664;Click on ‘Memo’ icon&#61664;Enter reason for LD&#61664;Click on enter&#61664;Enter the amount,payment method supplement&#61664;press enter&#61664;Click on Edit&#61664;New item&#61664;G/L Account&#61664;Enter G/L A/C ‘480070’,click on ‘Credit Posting’&#61664;Press Enter&#61664;Fill in the same amount & Business area&#61664;Enter&#61664;Save.
    32 Release of Retention Money After the final Invoice verification, Find out all the Invoicing documents from the PO history.
    Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;Display&#61664;Enter PO no.&#61664;Press Enter&#61664;(Incase of metrials select the material line item . For services Go back to material screen &#61664;Select line item & click on PO history(Graph symbol)
    Double click on the LIV documents&#61664;click on ‘Follow on Documents’&#61664;Double click on the retention money document&#61664;Document&#61664;Display->Change&#61664;Change the base line date (6 months from the final bill) and remove payment block ‘H’&#61664;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&#61664;Financial Accounting&#61664;Accounts payable&#61664;Posting&#61664;Down payment&#61664;Request&#61664;Enter Document date, document type KA, company code 1000,posting date, currency. vendor code, Trg .SP G/L Ind. ‘A’ &#61664;Press Enter&#61664;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)&#61664;Press Enter&#61664;Accept warning, if any&#61664;Click on more data from menu&#61664;Enter house bank &#61664;Save
    34 Check Vendor Line items for above Accounting&#61664; Financial Accounting&#61664;Accounts payable&#61664;Account&#61664;Display Line items&#61664;Enter Vendor code&#61664;Tick open items with special G/L indicators button, Go to selection criteria, Enter business area&#61664;Enter&#61664;Note the displayed Vendor line items for Down payment request in open items
    35 Clearing Down Payment Accounting&#61664;Financial Accounting&#61664;Accounts payable&#61664;Posting&#61664;Down payment&#61664;Clearing&#61664;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&#61664;Enter&#61664;Message ‘Correct the line marked line items appears, Double click the line item, Enter the relevant text, payment method supplement&#61664;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&#61664;Material Mgmt &#61664;Invoice verification&#61664; Enter Credit memo&#61664;Fill in the details: Date - “ Today’s Date”, Document Type - “ KA”, Company code - “1000”, Currency - “ INR”, Vendor code - “fill in vendor code” Do not enter P.O No. Press Enter&#61664; 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&#61664; In this screen, use path Edit&#61664; New item&#61664; 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 &#61664; 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&#61664;Click on simulate (check the entries are Proper i.e. diff is zero.) &#61664;Save&#61664; Note and record Credit document No
    You can revert back with a bit more elaboration of your scenario.
    Regards,
    Sushama

  • Filename with FTP adapter

    Hi,
    Is there any one who knows how to specify the filename dynamicly in the File Adapter?.
    I can only see that i can specify the filename as a constant and just add a time stamp. But the case is that i need to specify the name dynamicly using some data from the payload.
    /Jakob

    Hi Boris,
    You are right. I checked with some my friends in SAP and they told me right now its possible only to manuplate the payload.
    One other solution for this problem is to do post processing. For example write your files using MessageID or counter as "File construction mode" and then call a batch pgm or some pgm using "Operating system command" from the receiver file adapter which renames all the files written to a particular folder.
    Regards,
    Sridhar

  • File adapter doubt

    i have doubt regarding file adapter
    can a file adapter work dynamically?
    for example: we are configuring one file name and a path.
    whether multiple files can be taken from the path dynamically when using file adapter.
    Message was edited by:
            allen washburn

    Hi Allen -
    On the sender file adapter side you have the wildcard options (e.g. *, ?) and in addition you can set exclusion masks to exclude files with a certain pattern.   You can set additional folders too for additional files in a different location (<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm">Additional Files</a>)
    On the receiver side, you can use <a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm">Variable Substitution</a> to dynamically set the filename and path based on message content (payload or header).
    Regards,
    Jin

  • Sender File Adapter - Dynamic Filename?

    Dear All,
    I have a simple requirement to retrieve a file named "XXX_ddmmyy" from an FTP site. The FTP site administrator will place a new file everyday. The date is part of the filename.
    I can find a lot of information on how to set the Filename for a "Receiver File Adapter", but none about dynamically setting of the filename for a "Sender File Adapter".
    Can you help please?
    Kind Regards
    Farshad

    Hi,
    You have mentioned over here that the requirement is to get the file "XXX_ddmmyy" from an FTP site.
    Is that site strictly for keeping files related to your requirement only or lot of other files are also being placed???
    If its strictly related to your requirement then you can use the filename "*.extension" and set the processing mode as "delete" so that once the File Adapter picks the file it will be automatically deleted.
    But here disadvantage is that the file wont be no longer present in FTP site once it is picked by File adapter.
    Thanks,
    Lekshmi.

  • Dynamic Filename on Receiver File Adapter

    Hi,
    I am running XI 3.0 SP 14.
    The scenario is
    SAP R/3 (IDOC) > XI (Receiver File Adapter)> FTP Server
    There is no mapping on the XI side, we just drop the IDOC XML on to the ftp server.
    I would like to configure a dynamic file name on the Receiver File Adapter where if the 'MSATZ' Field
    within the E1EPD04 segment of the IDOC is populated then I would like to send a separate
    Filename than the one specified on the 'File Name Scheme'.
    Has anybody done this or any suggestion how I should go about this please.
    Thank you.
    Warm  Regards,
    Ranjan

    Hi Guys,
    When I tried to create the User defined function as below, I got the Null value for the "StreamTransformationConstants.DYNAMIC_CONFIGURATION" object.
    My code looks like this,(this is part of the debuging code)
    Start
    public String Create(String a,String b,Container container){
    if (container.getTransformationParameters() == null)
    return "conf.null";
    if (container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION) == null)
    return "Dynamic.null";
    return b;
    --End
    On the output I get the value "Dynamic.null". I do not know why the object value is Null.
    Any suggestion pls.
    Thank you.
    Warm Regards,
    Ranjan

  • File-adapter with Dynamic Directory/Filenames in Header-variables

    Hi,
    I have looked through the file-adapter documentation. And it says that you can use wildcards/regexpressions/dynamic file and directory names using the file-adapter-wizard. Also you can use the header-variables to specify the file and directory names at run-time.
    Is it also possible to use the dynamic names using the header-variables?
    I want to create a process that I can give in the file/directory-names at run-time and that it will look for a file using the wild-cards to pickup. Since at run-time I often do not know the name of the file, since it might contain a sequence or date/time-stamp. But I do know the location and the structure of the file name (that is specified at config-time).
    The same question for outbound: if I specify a name in the header-variables with forexample '%seq%' in the name, like 'filename_%seq%.XML', will it then create the file with the sequence?
    Thanks in advance.
    Regards,
    Martien

    Hi,
    I've been trhough this document over and over again, but did not find anything on how to do it actually. But I found out that the file-outbound-header wsdl does not contain a directory element after generation by the wizard. But you can add it afterwards.
    Also you can replace the location attribute in the jca:address element of the adapter-wsdl by mcf properties (host, username, password) and override them by copying the values to the partnerlink using bpelx:properties.
    I planned to put the details in my blog.
    Regards,
    Martien

Maybe you are looking for

  • Bsp page can't be displayed

    Hello, I am learning bsp, using sap Sap tutorials. Problem I have is that I can't display the BSP pages. The first exercise is very simple and I was working at my place  on mini sap system. In the office on system 6.4, and internet explorer version 6

  • How do I reset the RESTRICTIONS Passcode on iPhone 4s

    My teenager got to this before I did! How do I reset the Restrictions Passcode on his iPhone? Will this even work to restrict web content? I could swear that I remember being able to do this via iTunes when the phone was plugged in, but that function

  • Displaying text editor

    Hello Experts, I have a pushbutton on a screen and clicking on that would display a text editor along with long text of that pushbutton.I dont know how to create container etc, so I am not able to make out how to solve this problem.Can anyone please

  • Black screen comes when is use panaroma mode in my ipod touch 5g

    when i had purchased it was working fine but nw after 1 week whenever im trying to use panaroma mode the camera brighness automatiaclly get reduced & dont see anything but when i cancel it and use ormal camera then it is working fine

  • Installing only 99%

    I have installed the DVD three times but it comes back with the same message Some of the application components are missing from the application directory. Please reinstall the application.  I have a new Mac.  I note tha tthe DVD pops out at 99% inst