Routing based on Document Offset in FCC

Hi Experts,
The input is a flat file. I am using FCC to get each line of the file into a Node
FCC used is(Relevant details):
Recordset Structure:Record,*
Record.fieldNames: Value
So, Value will have each line of the input.
I am using a Java Mapping to convert the FCCed input to an intermediate structure. Many condition checks are involved in the Java Mapping. The intermediate structure is used for graphical mapping.
The above scenario is same for 2 of the interfaces: A and B. And they both get files from the same directory.
But the Java Mapping and Interface mapping is separate for both interfaces.
Only way to know whether the file is for interface A or B is the first line of file.
The condition I put in Interface determination is
If Record->Value=ABC execute Interface mapping of interface A.
Even after this condition check, Interface mapping is getting executed for wrong file.
Is there any alternate way to solve this problem?
Thanks,
Vishal

And the Interface determination once activated,I am unable to see the condition there even in edit mode!!
So does it mean that the condition vanishes once you activate the object? If yes then it normally happens due to JAVA version of your desktop....try doing the same thing from other desktop...

Similar Messages

  • File content conversion Document offset not working?

    hi All,
    I have a flat file which i need to convert into an xml using content conversion.
    The document consists of 18 lines as shown below:-
    #HEADER_ARCDLX3098   OMD.I.170 0000000000000002#HEADERFECHADOC A 8
    HEADER A 25
    CLAMOVIM A 3
    MOTIVMOV N 4
    CENTRO A 4
    DEPOSITO A 4
    PROVEED A 10
    DEPRECEP A 4
    MATERIAL A 18
    CANTIDAD N 13
    UNMEDIDA A 3
    FLAGDEIMPRESION A 1
    TRANSPORTISTA A 12
    CHOFERPATENTE A 50
    CENTRORECEPTOR A 4
    MATERIALRECIBIDO A 18
    NUMERWMS A 16
    #DATA10521000          12345678            12210521000          12345678            12210521000          12345678            122#EOF
    the first 17 lines are to be ignored. And only the 18th line to  be taken.
    The 18th line however, contains multiple records based on fixed field length.
    For example the above example contains 3 records - "10521000          12345678            122" , "10521000          12345678            122" and "10521000          12345678            122".
    I tried to do a content conversion with document offset. However, it doesnt seem to work. There is no error and the xml is created without ignoring the first 17 lines.
    xml.documentOffset
    17
    this is what is given in the content conversion.
    Please help.
    thnx,
    Ninu

    Hi,
    Under Document Offset parameter, specify the number of lines(in ur case its 17) that are to be ignored at the beginning of the document.
    This enables you to skip comment lines or column names during processing.
    This should work. check the below link:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6713ec3f914ddee10000000a1553f7/frameset.htm

  • Running Aging reports based on Document date in 2007

    Hi All,
    I have an issue while running the Receivables aging report in the 2007 version. The customer usually runs the reports based on the document date. Document date holds more importance in their case.
    However, in the 2007 version, the aging report is totally governed by the posting date. For example, if I change the aging date, the posting date also changes to the aging date and viceversa. If I want to change the aging date to 01/31/09, the posting date u2018Tou2019 automatically changes to 01/31/09 and when we run the report, it will bring in all transactions until the posting date of 01/31/09.
    But, the requirement is to leave the posting date as blank and give the document date u2018Tou2019 01/31/09. This will then pull all transactions until the document date of 01/31/09 irrespective of the posting date.
    As a result, when you run the balance sheet with the document date of 01/31/09, receivables show a different balance. This discrepancy is due to the fact that AR Receivable aging report forces to keep the Aging date = Posting date.
    This was not the case in SAP 2005 version where we were allowed to key in the aging date and the document date to get results based on document date.
    This is very critical as they have recently upgraded from 2005 to 2007 and they are unable to reconcile the balances out of Balance sheet and Aging.
    Please advise.
    Thanks,
    Payal

    Hi Jitin,
    We tried that as well but no luck. There is still a discrepency between what the aging shows and what the BS shows. When we put the Aging date as 01/31/09 and Document date as 01/3109, the posting date 'To' is automatically filled with 01/31/09, so it basically searches for all transactions with the posting date 01/31/09 and document date 01/31/09. This is not the requirement as we do not want to consider the posting date at all while running the aging.
    I also have some screenshots if I can share. I am not sure if I should report this to SAP for further investigation or am I missing something here.
    Thanks for your help.
    Regards,
    Payal
    Edited by: Rui Pereira on May 1, 2009 10:48 AM

  • F110- Check Sort Based on document number

    Hi All,
    We are using the program RFFOUS_C to print check when we are doing the payment run F110.
    Presently, checks are sorted as per vendor name (Name 1) while printing. We need to print check sorted based on document (Invoice) number, field BELNR. SO, that checks are printed in the same order as we have entered invoices.
    But the field BELNR field for sorting is not available in the application REGUH (Correspondence), which is a natural way to check print sorting. (In customizing FBZP, "Payment method in Company Code" form data, Sorting of corrpondence)
    Is there a way, we can sort check based on the invoice number (BELNR). .
    Thanks
    Ron
    Edited by: Ron on Jan 7, 2010 1:34 PM

    Hey Ron,
    In Free Selection tab on F110 tcode, Pick Field name as BKPF-BELNR (Document number). Now create the proposal and do the payment run.
    Thanks
    Raghuram

  • Created column not showing in the Document Library View for a Custom Content Type based on Document

    We have a custom content type based of Document Content Type. The OOTB "Created" column does not show up in the view as well as in the Site Settings -> Columns.
    But it shows up in the Display Form and Edit Form of the Item at the bottom "Created at " by " " and "Modified by" at by ""
    Would anyone know how to make this column appear as part of the view ?
    thanks,
    Harsh

    Hi,
    They should by default be possible to add to a view. The only reason they would disappear from the UI if someone has changed the attribute of the Field to hidden = true. You can verify that with PowerShell and if so you can use PowerShell to revert the setting
    to false.
    $w = Get-SPWeb http://dev13$f = $w.Fields.GetFieldByInternalName("Created")$f.Hidden$f.Hidden = $false$f.Update()

  • How to do document offset in Simple Plain to XML for Zip file Sender side

    Hi,
    Scenario is .zip file to IDOC, A idoc per a record. .Zip file has simple Plain structure like below. Tab delimiter.
    Name  number   code   country   Rating  Item
    ABC    123        C4        IND           I2        PRD
    ABD    123        C4        IND           I2        PRD
    ABE    123        C4        IND           I2        PRD
    I am using Adpater Module  and  Header is generating  a IDOC (total 4 IDOCs) in ECC. I would like to use similar to file 'document offset ' option in Adapter Module to skip the header row. so, I need only 3 IDOCS.
    plain2XML and using MsgTransfermationBean.
    I tried with
    xml.documentSkipFirstRows=1
    xml.documentOffset=1
    xml.addHeaderline=0
    I came to know that  above all for STRUCTURAL Plain parameters so no use.
    I checked this http://forums.sdn.sap.com/thread.jspa?threadID=1223739
    http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm
    Could you please help me with proper parameter to skip the header/first record of the file.
    Thanks
    shoukat

    Hi Shoukat,
    Try with the following parameter:
    xml.processFieldNames = fromFile
    As of SAP Help: "means that the field name information is located in the header line of the file to be converted."
    Hope this helps,
    Greg

  • How to split the IDOCS based on document number change whit out BPM

    Hi all,
    Thanks,for giving the responce..
    Scenario:File to IDoc.
    Problum1 : How to Split the IDocs based on document number change in the source file with out BPM.My file contains document numbers like
    20000092
    20000092
    20000092
    50000050
    50000050
    50000065
    I want 3 IDocs in target system.i.e 1 for 20000092,20000092,20000092
                                                       2 for 50000050,50000050
                                                       3 for 5000006
    By using external definations i am getting 6 IDOCs insted of 3.
    Problum 2:Is there any chnges/modifications in Directory when we are using external definations.
    Could u plz provide me the step by step process(Repository/Directory) with using of external definations.
    Thanks in advance.
    Regards,
    KP

    HI,
    for this no need of BPM.
    You can think of Idoc bundling concept to acheive this-just you need to do the external definition to change the idoc occurence
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    to achieve for each document no, one idoc, you can write small user defined function in the mapping with context handling you an achieve this.
    For this e.g
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Regards,
    Moorthy

  • Select Switch Executive Route based on Socket Index

    Hi,
    I have a sequence set up in TestStand which simultaneously tests up to 4 UUT's. In order to run a current measurments, I need to be able to switch each device through the DMM. I have the routes properly configured in Swith Executive, and everything runs fine when I switch manually using the Test Panel feature. What I need to do now though, is choose which device is routed to the DMM based on its test socket number. 
    So, for the "Measure Current" test step on "Test Socket 0", I go to the Properties>Switching window and just select "Connect_UUT0" route group. This works fine for a single test socket, but how can I dynamically switch route when I have more than one UUT?
    I'm aware of the "RunState.TestSockets.MyIndex" variable, but I can't seem to select a route based on this. ie: In "Routes to Connect" I typed "Str(Connect_UUT)+Str(RunState.TestSockets.MyIndex)" after I read a similar solution on this forum, but I just get an error.
    I'd really appresciate some help on this,
    Thanks,
    Kevin
    Solved!
    Go to Solution.

    Hey Kevin,
    You shouldn't need to do Str(Connect_UUT). You're likely getting the error because it's trying to interpret Connect_UUT as a variable instead of a string. Try this instead:
    "Connect_UUT"+Str(RunState.TestSocks.MyIndex)
    I think that will work, but let us know if you run into any more trouble!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Based on document type , editable schedule qty in me22n, me52n

    Dear Gurus,
    based on document type , the schedule qty field under delivery schedule tab to be editable, at present it is in greyed out mode, is there any config settings are dev if so whatever please share with more details

    Hi,
       As of my knowledge, the change mode screen layout cant be defined based on document type. You can make the field as editable or non editable  in the field selection key AKTV (for both PR and PO).
       An alternate method is explained in the KBA: 2048405 - How to control the field layout
       If you still want to make the field selection based on document type in ME22N / ME52N, then you may go for development.
    Regards,
    AKPT

  • T-code or SAP Table Sales report based on Document Pricing Procedure

    Hi Experts,
    Please suggest me some SAP Standard T-code or Sales Report based on Document Pricing Procedure and Sales Area.
    Or suggest me SAP Table for the above mentioned combination. Thanks in advance.
    With Best Regards,
    Bharat B

    Hi
    There is no standard t code available. You have to go for Zee using the below tables
    first you need to get the VBAK-KALSM(Pricing procedure)or VBRK-KALSM  next you have to pass the VBAK-KALSM to table T683V-KALSM(field) now you will get all the Document Pricing Procedures (KALVG) assigned to these pricing procedures along with sales area.
    So using these tables you can get the required data.
    regards
    Prashanth
    Edited by: Prashanth@SD on Jan 18, 2011 7:58 AM

  • Need a output based on document no and company code

    Hello All,
    I am new to BI and appreciate your cooperation
    I have a requirement where in I need a total count based on Document no and company code in the Report where in a document no can exist in multiple company code
    Say for eg
    Doc No CompanyCode
    123456          1000
    123456          2000   
    222222          2000
    333333          2000    
    Now I need the count based on document no and company code in the report. Kindly advice
    Thank you
    Poonam

    Hi Poonam,
    I don't know if this is possible in Query Designer level..
    Here is my suggestion:
    1. Create a new infoobject that will be used for the combined Doc No and Comp Code
    2. In transformation level, create a field routine that will CONCATENATE the Doc No and Comp Code in the infoobject you have created in STEP 1
    3. In Query Designer, make a FORMULA VARIABLE and choose REPLACEMENT PATH (select the infoobject you have created in STEP 1)
    4. In replacement path tab, choose INFOOBJECT, then ATTRIBUTE, and select CONSTANT 1 (forgot the exact name but there is constant 1 something in the selection)
    5. Create a global CKF with this formula (FORMULA VARIABLE * 1), this is necessary because sometimes the FV doesn't work without doing this
    6. Use the global CKF in your keyfigure structure, it will show the number of UNIQUE combination of Doc No and Comp Code
    Regards,
    Loed

  • Crystal report refresh based on document ID

    Hi All,
    i am able to do webi report refresf based on document id but i am not able to find crystal report refresh based on document ID BO SDK API on JAVA.
    please help me on this?
    the below code is for webi report refresh :
    ReportEngines engines = (ReportEngines) Esession.getService("ReportEngines");
    ReportEngine widocRepEngine = (ReportEngine) engines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
    widocRepEngine.setLocale("en_US");
    DocumentInstance doc = widocRepEngine.openDocument(documentId);               
    doc.refresh();

    Well, first, the ReportEngine code you are using is only for Webi and Deski.  You may want to start by looking at the RAS and Enterprise sections of the this [wiki|http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications]

  • How do I open a web based PDF document on my iPad?

    I am unable to open web based PDF documents as I fear Apple does not trust PDF documents on the Web.

    Hi Rick,
    Did you try attaching screenshots to your reply to the email from this forum?  Because the Adobe forums do not accept any type of attachments for security reasons, your photo attachments did not get through.  Sorry about that.
    But I think I know what you saw when you tried to open one of the PDF Application Forms on the Alberta (Canadian) government web site.
    Did you see a message like this in Safari on your iPad?
    Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting  http://www.adobe.com/go/reader_download.
    If so, the PDF form is a special type of form called a "dynamic XFA form".  The message is displayed when a dynamic content is not supported by a PDF viewer.
    As far as I know, there are no iOS apps that support dynamic XFA forms. The mobile version of Adobe Reader does not support dynamic XFA forms.  Neither does Safari or iBooks on iOS.  It's the limitation of mobile PDF viewer apps.
    To recap
    Dynamic or static XFA forms - Use the desktop version of Adobe Reader or Acrobat on a Mac or Windows computer.
    Most PDF documents and non-XFA forms - Use the mobile or desktop version of Adobe Reader.
    Please note that Apple iOS apps (such as Mail, Safari, and iBooks) do not display filled form data or annotations (sticky notes, highlight, etc.) at all.  If a PDF document/form is first opened in Mail, Safari, or iBooks, you need to use the iOS "Open In" feature to open it in Adobe Reader for iOS.
    How to open PDF documents in Adobe Reader for iOS (iPad on iOS 7 or 8 version)
    (This is the same FAQ document that I mentioned in my reply #2 above.)
    In this particular case, using the "Open In" feature to transfer the PDF Application Form from Safari to Adobe Reader for iOS does not help.  Because Adobe Reader for iOS cannot display the dynamically generated content of the XFA form from the Alberta government web site.
    But you should be able to open other "regular" PDF documents (just like the one that I provided as a sample link) in Adobe Reader for iOS.
    Hope this helps.  Please let us know if you have additional questions.

  • Router based activity  and method call issue

    Hi All
    Iam presently working of Router based task flow(Bounded task flow) and page fragments
    here in above router based task flow i have used the method call.
    In above method call i return status ,and on basis of that status i redirect it to success page or error page(the success and error page are page fragments i.e. .jsff page).
    i have done the drag and drop of the above mentioned router based task flow in my jspx page in a facet as a region.
    below is the code for the my jspx page
    <af:region value="#{bindings.testtaskflowvalidations.regionModel}"
                           id="r1"/>but my problem is that the method call which i included in above router based ,that method is not called(method call is not being happened).
    So what changes i need to make so that the method is being is called.
    currently iam using jdevloper 11.1.1.4.0
    Thanks and Regards
    Bipin Patil.
    Edited by: Bipin Patil on Jun 29, 2011 1:59 AM

    Hi
    iam not getting any kinds of server errors.
    below is my router code
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="ValidationTaskFlow">
        <default-activity id="__1">ValidationTask</default-activity>
        <managed-bean id="__25">
          <managed-bean-name id="__24">validationBean</managed-bean-name>
          <managed-bean-class id="__27">com.test.Validate</managed-bean-class>
          <managed-bean-scope id="__26">pageFlow</managed-bean-scope>
        </managed-bean>
        <router id="ValidationTask">
          <case>
            <expression>#{pageFlowScope.Validationstatus == 'true'}</expression>
            <outcome id="__2">success</outcome>
          </case>
          <case>
            <expression>#{pageFlowScope.Validationstatus == 'false'}</expression>
            <outcome id="__3">fail</outcome>
          </case>
          <default-outcome>fail</default-outcome>
        </router>
        <view id="validationsuccess">
          <page>/pages/main.jsff</page>
        </view>
        <view id="validationerror">
          <page>/pages/hashkeyvalidationerror.jsff</page>
        </view>
        <method-call id="ValidationStatusSupplier">
          <method>#{pageFlowScope.validationBean.onBeforePhase}</method>
          <outcome id="__9">
            <fixed-outcome>ValidateFlow</fixed-outcome>
          </outcome>
        </method-call>
        <control-flow-rule id="__10">
          <from-activity-id id="__11">ValidationTask</from-activity-id>
          <control-flow-case id="__12">
            <from-outcome id="__14">success</from-outcome>
            <to-activity-id id="__13">validationsuccess</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__16">
            <from-outcome id="__15">fail</from-outcome>
            <to-activity-id id="__17">validationerror</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__19">
          <from-activity-id id="__20">ValidationStatusSupplier</from-activity-id>
          <control-flow-case id="__23">
            <from-outcome id="__21">ValidateFlow</from-outcome>
            <to-activity-id id="__22">ValidationTask</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
        <visibility id="__18">
          <url-invoke-allowed/>
        </visibility>
      </task-flow-definition>
    </adfc-config>

  • Counting Posted docuemnt in FI based on Document Type

    Hello Team,
    As a part of audit trail...I need to count all the posted FI documents based on document type and Company code. Table BKPF does not meet my requirement as it takes lot of time to count the documents and even not possible to get the break-up. is there any report / T.Code with with i can achieve my purpose.
    Please reply.

    Hi,
    1. Go to T-code TAANA and click on Start table analysis (F8).
    2. Enter BKFP as table name and click the push button "Analysis variant". In the next popup,  click     on "Ad Hoc Variant" button.
    3. Select the fields Company code, Fiscal year, Doc type and continue.
    4. Select the new variant and continue.
    5. Select the run in background option and proceed.
    6. Click on Immediate and the save the job
    7. Click on Job (F9) to see the job status
        Once job finish click on back
    8. Double click on AD-HOC to see the results.
    Regards
    Rohidas Shinde

Maybe you are looking for

  • Excel-File not Open in new window

    Hello, i have created a new iView. This iView includes an excel-File. If I open this iView the excel-File will be opened in a new window. Is it possible to integrate the excel-File into the iView, so that the excel-File will be in the iView when I op

  • Is it possible to insert text in a picture in Lightroom?

    Is it possible to insert text in a picture in Lightroom?

  • CUA compatibility with 620 and Netweaver

    Hi All, We are planning to install CUA in production Since we don't utilized much Solution manager 3.2. We planned to use solution Manager as CUA master / parent and NetWeaver servers 2004 as child. But I am not sure if we can use 620 as master and 6

  • System fonts not showing in Font Book

    I am using Font Agent Pro as a font manager and am wondering if there's a conflict with it and Apple's Font Book. I cannot get the system fonts to show up in Font Book and, hence, those (System) fonts don't show in Apple apps, e.g., Safari, Grapher,

  • Photoshop CS2 registration

    how can i fix it thas Photoshop CS2 don't want the registration anytime?