How to define CSV to Document

Hello experts,
I'm looking for a scenario "how to define CSV to Document, etc:Order,Quatation..."
Can someone please send me a sample or a link?
I tried to use B1i Guide but the information is not enough
Best Regards
Nir

Hi Nir,
did you set up the File Inbound configuration according to your object definition of the F.AnySystem?
I suppose you created an F.AnySystem object for the incoming CSV file. The mapping into B1 object is easier, if you use the same local object ID as in B1 (e.g. 22 for puchase order).
Please open your created scenario with the Graphical scenario Design (SAP B1iSN Tools -> Development Tools -> Graphical scenarion Design) , select your Bizpackage and the Bizstep.
In the opening window B1iSN DesignTime-Diagramm check, that every element is displayed in "green", especially:
- Sender ObjectType
- FileInbound
If there is any red or yellow color in it, it means that something of your configuration is missing.
If the FileInbound is not set up correctly, the inbound file will not be recognized as your defined F.AnySystem SenderObjectType.
Please focus on FileInbound and maintain:
- ObjMap (Define own, generate own and save own in exact order)
- Format : Here you need to specify with kind of file is sent towards B1iSN, e.g.:
       SysType = F.AnySystem
       Inbound Formats = DSV
       Character encoding = ISO-8859-1
       DSV Object Identifier = e.g FieldName, if name of File is equal to field Object Id as defined in SenderObjectType
       DSV Object identifier Parameter = this entry needs to fit, what you defined in ObjMap
       DSV Field Delimitter = ;
       DSV Field Wrapper = "
As last step you need to map the column names of the CSV file into XML format as described in chapter Inbound Format conversion  of B1iSNGuide 04 on page 44 for section DSV.
Please have a look into the B1iSN guide again, you will find every information needed to tranform an CSV file into F.AnySystem object and into B1 object.
Best regards
Bastian

Similar Messages

  • How to define certain document type (BKPF-BLART) for certain movement (101)

    Sometimes ( I think it is becuase of the tcode)  certain purchase 101 movements create a WA type FI document and some other times purchase 101 movements create WE type FI documents. I have seen a table ( accessing from omba transaction) in which for diffenent tcode´s we have either WE or WA. If we always use migo transaction why sometimes in bkpf we have migo_tr, migo_gi, ....;....
    How should I do in order to create always WE FI documents for purchase 101 movements?
    Thanks in advance.

    Check the settings in SPRO-MM-Inventory Management-Number assignemnt-Define number ranges for accounting documents.
    Here you assign accounting document type to tcodes.
    Normally , WA is used in receipts for MB1C/MIGO_GI tcode - for e.g for 561 mvmt type.
    SAP recomends keeping this setting as it is.
    SAP help text copied here for reference:
    Define Number Assignment for Accounting Documents
    In this step, you set the number ranges for the accounting documents which are created when goods movements or inventory differences are posted.
    Accounting documents in inventory management
    For accounting-relevant goods movements, the system creates two different documents:
    material document
    accounting document
    Both the material documents and the accounting documents have their own document numbers. When inventory differences are posted, the system also creates an accounting document for the physical inventory document.
    In this step, you only maintain the number assignment for accounting documents.
    Document types
    Accounting documents are split into document types to allow differentiated document number assignment, which is the basis for distinguishing between the various accounting operations. A number range is assigned to each document type. In a company code, you have to define number intervals for each number range and fiscal year.
    In inventory management, the transaction determines which document type is used.
    Example: Goods receipt for purchase order
    Requirements
    You have already defined the company code.
    Default Settings
    In the standard SAP System, the following document types are predefined for inventory management:
    WA  for goods issues, transfer postings, other goods receipts
    WE  for goods receipts with reference to purchase orders
    WF  for goods receipts with reference to production orders
    WI  for inventory differences
    WL  for goods issues with reference to deliveries (SD)
    WN  for net posting of goods receipts
    PR  for revaluation documents
    Each document type is already assigned a number range. In company code 0001, number intervals are defined for each number range both for the current and the previous fiscal year.
    Number range 49 with the year-related interval 4900000000 to 4999999999 is assigned to the document types for all goods movements, except goods movements with reference to purchase/production orders.
    Document type WE is used for goods receipts with reference to purchase orders and production orders. This document type is assigned number range 50 with the year-related interval 5000000000 to 5099999999.
    Please note that net postings of goods receipts (document type WN) are not active in the standard SAP System. If you want to post goods receipts net, you have to assign document type WN (instead of WE) to the transaction MB01.
    Document type WI is used for posting inventory differences. This document type is assigned the number range 01 with the year-related interval 0100000000 to 019999999999.
    SAP Recommendation
    Activities
    1. Check whether you can use the standard settings.
    2. If not, you have to add new document types to satisfy your requirements:
    a) Define a new document type under Financial accounting document
    b) types.
    c) Assign a number range to the document type.
    d) Under Financial accounting number ranges, define the year-related number intervals for the given number range in your company code. If you do not want to use the year-related number assignment method, enter 9999 in the Year field.
    e) Under Allocate document type to transaction, assign the relevant document type to the transaction codes of inventory management.
    Document type PR (revaluation documents) is already assigned.
    Notes on transport
    You transport number range objects as follows:
    Choose Interval -> Transport in the accounting document Number Range screen.
    All intervals for the selected number range object are deleted in the target system first. After the import, only the intervals you export are present. The number statuses are imported with their values at the time of export.
    Dependent tables are not transported or converted.
    All other activities are linked to the automatic transport.
    Edited by: Saurav on Jan 24, 2011 6:03 PM

  • How to define document protocol for Custom/Generic message of ASCII types

    We need define for B2B document protocol for Custom over Generic message type to receive/process ASCII message (either fixed or indefinite length) from Trading Partner, can anybody tell us if you have done it with detailed example and instruction:
    1) In creating protocol revision/document definitions, do I need an Edifecs .ecs file? if yes, how to create the format for indefinite string? if not what I should put in document
    definition for 'IDoc ecs File' ? (we actually we may have two different types
    of ASCII message, not sure how to differentiate them)
    2) Does Identifying expression need message/document translated into XML first ? since it's for
    'Identifying XPath Expression' which implied existence of XSD
    3) Please provide detailed example you accomplished this in B2B
    Thanks in advance for any help!

    Yes its something on the similar lines but looks like this comparator needs to be at some specific place.
    I tried to implement comparator interface in the custom domain data type class but it still throws the same exception.
    Looks like RowComparator needs to be defined somewhere. any idea where?
    The complete exception is below:
    Caused by: oracle.jbo.JboException: Cannot find compare routines for test.MyString
         at oracle.jbo.RowComparator.compareValues(RowComparator.java:108)
         at oracle.jbo.RowComparator.compareRows(RowComparator.java:146)
         at oracle.jbo.RowComparator.compare(RowComparator.java:158)
         at java.util.Arrays.mergeSort(Arrays.java:1270)
         at java.util.Arrays.mergeSort(Arrays.java:1281)
         at java.util.Arrays.mergeSort(Arrays.java:1281)
         at java.util.Arrays.sort(Arrays.java:1210)
         at oracle.jbo.server.ViewObjectImpl.sortRows(ViewObjectImpl.java:6752)
         at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:995)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1177)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1331)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1249)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1243)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6715)
         at org.calwin.view.bean.Table.tableSorting(Table.java:46)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)

  • How to define namespace with one XSD using in two different DB-Locations ?

    I'm not clear,How to define namespace, targetnamespace, schemaLocation or NoNamespaceSchemaLocation
    when using one common schema.xsd-definition
    in two different database-locations for exchange xml-documents?
    when insert xml-document I've got an error ORA-30937
    do you have an good exsample ?
    thanks
    Norbert
    schema :
    <xs:schema
    xmlns="http://sourcehost.com/namespace"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:oraxdb="http://xmlns.oracle.com/xdb"
    targetNamespace="http://sourcehost.com/namespace"
    xml-document :
    xmlns="http://Sourcehost.com/namespace"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:SchemaLocation="http://sourcehost.com/namespace http://desthost:8080/sys/schemas/PUBLIC/ADRESSEN.XSD">
    SQL> insert into ADRESSEN values
    (XMLType
    (bfilename ( 'XMLIMPORT_DIR', 'adressen.xml')
    , 0 )
    --> error :
    ORA-30937: No Schemadefinition for "SchemaLocation" (Namespace "http://www.w3.org/2001/XMLSchema-instance") in übergeordnetem Knoten "/ADRESSEN"

    Norbert
    The schema location used to register the XML schema with XML DB does not need to be a valid URL for accessing the XML Schema
    I can use the same URL , for instance
    http://xmlns.example.scom/xsd/myXMLSchema.xsd
    on machines dbserver1, and dbserver2. The only reason some people choose to use the hostname / portnumber convention is that this makes it possible to validate the XML Instance documents against the copy of the XML schema stored in the XML DB repository using an external tool like XMLSpy without have to add entries to XMLSpy's OASIS catalog files.
    I am concerned about the message you are getting. That's not correct AFAICT but I'd need to see the complete XML Schema and Instance to be sure.

  • How to define variable for value range in Bex Query?

    Hi
    How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
    Example: On runtime user select one of the following condition:
    1)User want to those records where amount is greater than $1000
    2)User want to those records where amount is greater than $1000 and less than $5000
    3)User want to those records where amount is greater than and equal to $1000

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • How to define a persistant queue in glassfish v2.x

    Hi Everyone,
    I just wanted to ask how to define a persistent queue in glassfish v2.x.
    Basically I want that, if there are un-consumed messages in the queue and the goes goes down, the messages will still be there once the queue comes up.
    I haven't seen where I can configure these features, or whether it's a default setting.
    If you can provide some screen shots for the configuring that'd be great.
    If glassfish can't do it what other similar program can I use?
    Thanks

    Hi Peter,
    You can find all information you need on Oracle Application Server JMS in the documentation:
    http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14427/jms.htm
    Including the ports if I'm correct. There's some nice links to HOW-TO documents as well.
    I'm not that well familiar with JMS myself, but if I'm not mistaken it should not matter where you define your queues or topics, since they should be looked up through JNDI anyway. But please someone correct me if I'm wrong.
    HTH,
    Bas

  • Define Actions for Document Output - Activate / link std. Interactive Forms

    Hello,
    The transactions 'Actions for Document Output' help tells me the following:
    If the processing type External Communication is used for document output using SAP Interactive Forms, the following configuration needs to be done:
    SRM Document (Action Profile)      Form Name            Format
    Purchase Order (BBP_PD_PO)      BBP_PO_ADB       BBP_PO_ADB_PRN
    The interactive forms are available in our SRM system. Still up on searching the forms for f.e. the Purchase Order definition it can not be found. Only smartforms are listed. How come?
    Has the setting in transaction 'PDF-based Forms for SAP ERP' -> 'Activate PDF-Based Forms' got anything to do with this?
    Kind regards,
    Tim

    Hi Jay,
    I tried searching for it where you should link the form with the BUS object.
    Following path (PO): Cross-Application Basic Settings -> Set Output Actions and Output Format ->  Define Actions for Document Output -> Action Profile: BBP_PD_PO -> Tab: Processing Types -> Smart Forms Print -> Search for Form doesn't include the Interactive forms.
    I just realised: I need to add a new entry 'External Communication', would this entry be applicable for all communication methods? Thus fax + print + e-mail? And how did you go about setting it up, i suppose adding an 'external communication' entry next to the smartform entries in the std. SAP BBP_PO would be double (system wouldn't know which 1 to choose).
    Kind regards,
    Tim

  • How to block or restrict document type

    Hi friends
    How to block or restrict document types .
    My Business people will not use document types in feature

    Hi,
    The documentation about the authority check within posting is given in the online documentation for the posting ta eg. FB01:
    Perhaps you would like to read the documentation from IMG on the authorization:
    Financial Accounting > Financial Accounting Global Settings > Document > Document Header > Check Display Authorization for
    Document type
    Defining Authorizations for Document Types
    Use
    You can define a special authorization for every document type. To do this, you need to determine what document types in which
    form employees are allowed to process. Authorizations are checked for the following activities:
    Posting documents
    Document display and line item display
    Changing documents
    Programs that evaluate documents.
    The system does not check the authorization for document types that are not assigned an authorization group.
    Procedure
    In Customizing for Financial Accounting, carry out the activity Maintain Enter an authorization group in the document type. You then assign autho For each document type, you can specify whether users are required to enter.
    The same for check of the authorizations of gl accounts.
    PLease check in OMR4 and in OBA7 that for the document types the athorizations groups are maintained.
    F_BKPF_BLA Accounting Document: Authorization for Document Type
    F_BKPF_BES Accounting Document: Account Authorization for G/L Account.
    For example:
    The transaction FB01 includes the above objects - you can see this in Trx. SU24, also as transaction F-02 is a parameter transaction with the original being FB01 these objects would be valid for F-02 also.
    Please also refer to the following NoteS
      150496     F_BKPF_BLA: Authorization for document types
      198238     FI reporting: Authorization check for documen
    I hope this helps to solve the problem.
    Regards
    Ravinagh Boni

  • How to define interface of IDOC?

    IDoc outbound: 
    In step 1, a new file is generated with the transferred IDocs by the IDoc Interface. In the second step,
    the program ¡°rfcexec¡± (synchronous RFC) with the path to an executable program is called (here:
    ¡°out.script¡±) and also the path to the IDoc file. ¡°out.script¡± thus contains the path and name of the
    file as an input value. In step 3, it therefore calls the external system, which reads the file in step 4.
    After successful processing of the IDoc file, the external system must delete the IDoc file. The call
    command in ¡°out.script¡± depends on the external system.
    I quated this from relative document,I want to know how to define 'rfcexec' and 'out.script' looking forward to ur reply,
      best regards

    Hi Aparajitha,
    Master_idoc_distribute for sending outbound IDOCs.
    Thanks,
    Anil

  • How to define Substitution rule for Businee area

    Hi experts,
    Could you please guide me to define substitution rule for Business are.
    Below is the requiremnt :
    I want to assign different business area for this cost centre.
    While posting document in FB01, we are entering cost centre in line itme. Businee area is picking from cost centre master.
    Example : Cost centre 11310 and businee area Y020.
    Businee area Y020 is picking from cost centre 11310 while posting document.
    I want to assign different business area for this cost centre.
    For that I want to define substitution rule.
    I have defined substitution rule and activated in comapany code but it is not working. Please guide me how to define Substitution rule for the same.
    I have defined prerequisit as Comapny code = 2053 and Cost centre =11310 and transaction code = FB01 then
    Substitute business area with Y045.
    It is not working .
    Please guide me where I did mistake and how to rectify the same.
    Thanks in advance for your quick response and points will also assign for helpfull answer.
    Regards,
    Amar

    Hi Paul,
    Thaks for your reply.
    Yes, you are correct. SAP is changing this back to BA from Cost centre.
    Why can't we use Substitition for the above issue.
    Then what is solution for my issue.Please suggest any alternative solution.
    Thanks in advance for your help.
    Regards,
    Amar.

  • New to FrameMaker ~ How to define elements?

    I'm new to FrameMaker and was hoping somebody could help me. I've just uploaded a huge document from Microsoft Word into FrameMaker and I'm having issues with elements. Does anybody know how to define an element for the entire document? When I go into "element validation" on the side toolbar, I keep getting notices that my entire document is undefined.
    Hope this made sense! Thanks in advance!

    Hi Jen, Russ's advice is sound, but do you know that you *need* structured FM?
    If so, then that structured model should be known by your org and you should have a structured template (an existing FM doc with structured content will do...)
    You then need to create the conversion table (you've done that) and start assigning to the structure model you were given in the structured template.
    If you don't have any structured content or a structured template, you're probably working harder than you have to.
    If you do have those things, then you'll need to understand your structure model (either the EDD or element definition document or the DTD, the Document Type Definition). That will be critical to understanding what the conversion document is supposed to do.
    Finally...if this is the only document you have to convert, you may find that you're working really hard to do something you are not likely to do again. You might want to consider contracting out, as it may save you money, and will definitely save you time.
    -Matt
    BTW, if you're looking to learn all of this, we offer classes in Str FM Authoring, EDD Creation, Conversion, and Structured App Development...

  • Confidential documents in KM: How to secure individual employee documents

    Hello KM experts!
    We store W2 documents that we get from a third party as pdf files in a folder in KM. There are a couple of thousand documents every year that we need to store in KM and make them available for employees. The file names are encrypted and consist of a bunch of numbers - you would not be able to tie a document to an employee by looking at the file name.
    The third party company sends us an index file that ties the document name to an employee number.
    We upload this index file to a custom table in SAP backend.
    We have developed a custom web dynpro application that looks up the employee number of the logged in user at runtime and then gets the associated documents from the custom table and displays the W2 statements for that user.
    This is all working according to user requirements.
    Here is our issue:
    The pdf files are all stored in one folder in KM that has read access for group everyone!
    We have disabled the standard navigation iView to ensure nobody can browse the KM folders but the documents itself are still not secure enough.
    One could still view somebody elses W2 statement by constructing the correct URL path - it would be tough getting a hit with the encrypted file names but still possible.
    Any idea on how we could secure the documents better?
    Uploading them to each users personal folder would be an idea but how to go about that? We would need for each year a folder in the personal folder of the user as users can filter W2 statements by year in the custom web dynpro application. In addition we would need to have a program that creates those year folders automatically and based on the index file puts the files into the correct personal folders.
    A quite crazy idea that I have is to create a service specific user and assign read access of the W2 folder and all pdf files to only that user. In the web dynpro application I would then access the pdf files only with that service user but I have no idea if that is even feasible.
    Sorry for the long description of the problem but any help is appreciated.
    I will surely reward points for useful and problem related answers - just dumping some help/SDN links that have nothing to do with the issue will not yield any points!
    Thanks,
    Harald

    Hi Harald,
    so you get as well from me a link at sdn.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e2ddd63d-0b01-0010-46bb-e092790068cb
    it is a code sample for Implementing a Read-Only Security Manager.
    And don't forget to reward a lot of points.
    All joking aside.
    The main point is what you have mentioned: defining a repository with read permission to everybody means everybody can access the files even they doen't have a role with an Navigation iView. You can as well use Explorer do enter the WebDAV Url to this repository and everybody can access the pdf files.
    There are a few of conceptionals solutions for your issue.
    One solution could be to implement your own security manager. See the URL with a code sample. You have to assign this security manager to your repository instead of using the aclSecurityManager.
    Your own security manager has to read the portal user name, afterwords the employee numer of your W2 table and have a look in your W2 index table if the user is allowed to open the file.
    The advantage of implementing your own security manager is you can now use every portal / km service and iView. That means you can use TREX for indexing, your can use the KM Navigation iView and so on.
    The disadvantage: for every file in the repository the security manager will be called. That's why this coding (of your security manager) must have a (very) good performance.
    Best Regards
    Frank

  • How to define the size of private folder in Easy DMS?

    Hi,
    I have to ristrict the user to keep  the data in private folder after the maximum limit
    please help me how to define the private folder size in easy DMS.
    after the limit user is not able to keep data in private folder.

    Hi,
    This can be done in SAP Customization / SPRO
    Pl. check :
    Cross-Application Components>Document Management>Control Data>Define Document types
    Here the size limit can be defined.
    Also check : http://scn.sap.com/community/plm/document-management/blog/2014/06/20/how-to-create-dir-and-document-type-in-dms
    Hope this helps
    Regards,
    Remi

  • How to define Approval Hirearchy for Fixed Assets?

    Hello All,
    Couls someone please tell me How to define Approval Hirearchy for Fixed Assets which should be different as compared to normal item purchase.Reply me ASAP
    Regards
    Aditya

    Hi,
    The AP invoice approval used AME rules for finding the approver. You can base you AME rules on virutally anything.
    In this particular case, you can base your AME rules on one of the followings:
    1. If any of the Distribution Accounts contain Fixed Assets natural account
    2. You can define a separate document category which should be used with invoices for FA Purchase and use the category in AME rules to find approver
    3. You can have a DFF at the Invoice Header level to indicate that this is a fixed asset purchase invoice and have this DFF to be used in AME rules.
    Gajendra

  • How to define job for V_V2

    Can anybody tell step by step "how to define job for V_V2"?
    Thanks in advance for the answers.....

    BElow there exist a good document:
    http://www.scribd.com/doc/39230554/Background-Job-Scheduling-in-SAP#source:facebook

Maybe you are looking for