Hi it is related to field mapping database feild to interface file fields

Use the following fields from BSIK to map the Pay Header data in the interface file.
Company code BSIK-BUKRS
Vendor BSIK-LIFNR
Fiscal year BSIK-GJAHR
Document # BSIK-BELNR
Document Date BSIK-BLDAT
Currency BSIK-WAERS
Amount in LC (local currency) BSIK-DMBTR
Payment Terms BSIK-ZTERM
Reference BSIK-XBLNR
Debit/Credit Indicator BSIK-SHKZG
Business Area BSIK-GSBER
• No more than 950 lines per header, if lines exceed 950 then need to create a new header, ensuring that the document is fully balanced (Debits = Credits)
o If the value of BSIK- SHKZG = ‘H’ then
Map ‘-’ to the subfield SIGN of the Amount_ Document _T field
Assign ‘C’ to the subfield DRCR of the Amount_ Document _T field
o If the value of BSIK- SHKZG = ‘S’ then
Map ‘+’ to the subfield SIGN of the Amount_ Document _T field
Assign ‘D’ to the subfield DRCR of the Amount_ Document _T field
o Save the total amount of each invoice in credit and debit separately.

Hi,
You can use this FM to get the list of all files
TMP_GUI_DIRECTORY_LIST_FILES
  DATA: TBL_FILES LIKE SDOKPATH OCCURS 10 WITH HEADER LINE,
        TBL_DIRS LIKE SDOKPATH OCCURS 10 WITH HEADER LINE.
  CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
       EXPORTING
            DIRECTORY  = P_DIRECTORY
            FILTER         = 'Test*.Txt'   "<< restricts to only TEXT files begining with Test
       TABLES
            FILE_TABLE = TBL_FILES
            DIR_TABLE  = TBL_DIRS.
After getting the files in the TBL_FILES... loop the table and read the files with GUI_UPLOAD FM
Thanks,
Sankar M

Similar Messages

  • Help with parsing a text string in address book and moving it to 'related person' field

    I am wanting to make a little applescript that will go thru my contacts and find data in the NOTES field and parse it slightly and move it to another field.  (sorry if parsing isn't the right word here)
    The data to be found is a GPS coordinate with this EXACT format:
    <Lat:12.345678><Lon:-12.345678>
    ...the only thing different from this example is the digits, and the number of digits.
    What I want to end up doing is deleting this data from the NOTES field, but leaving any other data, (this part sounds difficult to do to, to me!)
    And moving it to a related person field with the label gps, and the coordinate now reading exactly:
    12.345678,-12.345678
    (FYI, you can copy/paste a coordinate like this very fast into the maps app on iPhone and locate it instantly)
    Thanks for the help on this
    If this is too complicated I can break up the process into steps.  I know how to do some of it, but not sure about the parsing, and then delete just part of the notes field...
    Thanks!

    Hi,
    This script work here, try it :
    tell application "Address Book"
        repeat with thisContact in (get people)
            set tNote to note of thisContact
            if tNote is not missing value and "<Lat:" is in tNote and "<Lon:" is in tNote then
                set {GPS_value, newNote} to my getGPS_coordinate(tNote)
                if newNote is not "" then -- no error
                    set gpsField to (related names of thisContact whose its label = "gps")
                    if gpsField is not {} then
                        set value of (item 1 of gpsField) to GPS_value
                    else -- field "gps" is empty
                        make new related name at end of related names of thisContact with properties {label:"gps", value:GPS_value}
                    end if
                    set note of thisContact to newNote
                end if
            end if
        end repeat
        save
    end tell
    on getGPS_coordinate(this_note)
        set oldTid to text item delimiters
        set {tLat, tLon, newNote} to {"", "", ""}
        try
            set text item delimiters to "<Lat:"
            set tLat to text item 2 of this_note
            set text item delimiters to "<Lon:"
            set tLon to text item 2 of this_note
            set text item delimiters to ">"
            set {tLat, tLon} to {text item 1 of tLat, text item 1 of tLon} -- get values (lat... and long...)
            set text item delimiters to "<Lat:" & tLat & "><Lon:" & tLon & ">"
            set this_note to text items of this_note
            set text item delimiters to " "
            set newNote to this_note as string -- delete GPS coordinate in this note
        end try
        set text item delimiters to oldTid
        return {tLat & "," & tLon, newNote}
    end getGPS_coordinate

  • Download the Entire Ovi Maps Database?

    Just because I want to, I'd like to be able to download the entire Ovi maps database - every detail of every corner of the Earth, not just all the cities/countries available in Nokia Software Updater, which I've already gotten.  I figure that if all the roadways of every country in the world only occupy about 7-8GB on my 32GB drive, adding the terrain of the remaining unpaved/uninhabited regions of the world shouldn't add that much more.  Or, at least less than I have available room on my drive.  Is there an easy way to do this?

    On a related question I have downloaded ALL countries (around 9.7GB) but then the various REGIONS show the "Download" icon still active? My question is that if I have downloaded a country do I still need to download the regions as sizewise the data would appear to be already there.
    A check on one particular country/region/site (Beijing) showed no change from when I had "China" & then downloaded "Beijing" although the software happily loads this extra data onto the card. Now after having added about half the "regions" (worldwide) the card has over 15GB used (of 32).
    Am I correct in my assumption that "Country" covers ALL regions? Unfortunately this isn't explained anywhere & adding all of this data is most likely useless & could in fact slow down mapping!

  • Collection sort of relation CMP field

    can I sort collection of relation CMP field declarativly?
    in orion-ejb-jar.xml?
    now I can do it either in SessionBean code or by creation of one more method findByFK1 - additional work -((

    I have one cmp ejb call 'R' with primary key id.
    Another cmp ejb call 'RS' with primary key id as well. This RS suppose to represent status of the R record which one R record may have multiple status.
    I added one cmp field from toplink workbench call 'status' under R and another cmp field call 'req' under RS. I did a one to many mapping on 'status' with reference descriptor RS bean. Then, I added another one to one mapping on 'req' with reference descriptor R bean.
    I got the new ejb-jar.xml after saving the project with the new relationships. However I get the error (as described in previous posting) from ejbc.
    My two attempts:
    1) If I remove that 1:1 relationship, ejbc is ok but data cannot be retrieve properly.
    2) I tried to remove the
    <cmp-field>
    <field-name>req</field-name>
    </cmp-field>
    manually from the ejb-jar.xml under 'RS' bean, ejbc is ok as well but again, data cannot be retrieved.
    I looked at the demos provided by toplink 4.0 installation, apparently they were able to add a mapping without using 'add cmp field' (this function automaticaly generates the <cmp-field> tags..)
    Thanks,
    Ivy

  • Fields to be mapped for Idoc/Xi interface

    For customer collaboration we need to map the Idoc/Xi interface for following things
    In FS what field should be mentioned for following
         u2022     Integration SNC with R/3:
    u2022     ORDERS (PI) (Order Creation)
    u2022     ORDERSP (PI) (Order Confirmation)
    u2022     DESADV (PI) (ASN)
    u2022     Integration with the customer
    o     PROACT = new integration with SNC (PI)
    o     Product Forecast Notification
    o     ( Order ID Notification ) - To be evaluated for PO nrs.
    o     ORDERSP = AS IS
    o     DESADV = AS IS
    o     Proof of Delivery

    I am closing this Thread
    Thanks

  • When is nokia map database will be updated?

    some place in my country exist for a long time more then 5 years but yet in the nokia map doesnt seems to appear. fully blank at that part. i need go to there but there is no map for me. anyone know when nokia maps database will gonna update for malaysia?

    Hi
    Maybe this helps:
    http://www.neowin.net/news/internet-explorer-12-ui-overhaul-is-a-blend-of-chrome-and-firefox-adds-extension-support
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Nested Skip Logic: How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?

    How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?
    (This question was asked also in 2012 and 2013, but no answer has been provided.)
    THANKS
    Deborah

    Hi qwerty,
    Dun tink that creative customer support sucks cos I had been dealing with them in the past and I can say that their service are quite gd and fast. If you wanted a refund, I tink you need to contact the store that sells you the product. Dun tink creative will refund you though.

  • Tools for mapping database procedures

    Does anyone know if there is a tool, which would map database's procedures? I know that Oracle's schema builder does it for (tables, view, shapshots, quiries, and synonym). Unfortunately, Schema Builder does not do that for procedures. I need to see the hierarchical relationship among procedures. Any suggestions are welcome.
    Thanks in advance,
    Sonya

    Oracle Designer does this, but it is a very complex and expensive product and somewhat difficult to setup and use. Also, TOAD (Tool for Oracle Application Developers) has a View Dependencies feature that may do what you are looking for. TOAD is by Quest Software (www.quest.com).
    Russ

  • Limit on Task "Related Item" fields

    Good Afternoon,
    There is a field on a standard out of the box Task item in SharePoint 2013 Online called "Related Items" that a user can add links to related SharePoint items.  There seems to be a limit of 9 items that you can add.  After that,
    new items that you add are not stored to the task, cannot be dislayed displayed and the Version history does not show any new items added after number 9:
    Does anyone know if this limitation is documented anywhere and if there is a way to change the limit to a higher number?  Is this limit applicable to all 2013 Tasks or just SharePoint Online?  
    Kim Frehe

    Hi Kim,
    I can't find any documentation about the "Related items" maximum items, based on the sp.ui.relateditems.js (located in 15 folder on SharePoint server on-premise) the Related Items used, I think the maximum 9 items of adding and rendering is hardcoded
    in js file, it is hard or impossible to modify the js file. The limitation is related to "Related items" field, so it is applicable to all 2013 Tasks in SharePoint Online and On-premise.
    Thanks
    Daniel Yang
    TechNet Community Support

  • Relation and field ( or relational field) between VBRP + VBAP

    hi all,
    can anyone pls tell me the  relation and field ( or relational field)between VBRP + VBAP

    Hi,
      U can make use of VBFA  (Sales document flow)table for this.
    If you have the billing document number and item then provide them in the subsequent document (VBELN) and item(POSNN) fields of VBFA table and provide the preceding doc category as 'C' to get the sales order information.
    Similarly if u have the sales order number and item then pass them to the preceding doc and item fields of VBFA and pass the subsequent doc category as 'M' so that u will get the billing doc number.
    thasnks and regard

  • MAP Database to Application Mapping

    Experts,
    Can MS MAP(Microsoft Assessment and Planning ) tool be used to extract database to application mapping information for an environment.
    If yes, would it be able to extract info for MS Applications only or all the applications.
    Thanks

    Hi, 
    the MAP is possible to collect information from other software besides MS, for this you must install the SQL Management Studio, Connect the MAP Database "(localdb) \ maptoolkit" and execute the query.
    Do not forget to mark as resolved
    SELECT AllDevices_Assessment.HardwareInventoryCore.ComputerName,Win_Assessment.WindowsInstalledSoftwareFull.Name,Win_Assessment.WindowsInstalledSoftwareFull.Version,Win_Assessment.WindowsInstalledSoftwareFull.InstallLocation
    from AllDevices_Assessment.HardwareInventoryCore
    INNER JOIN Win_Assessment.WindowsInstalledSoftwareFull on (Win_Assessment.WindowsInstalledSoftwareFull.DeviceNumber = AllDevices_Assessment.HardwareInventoryCore.DeviceNumber)
    WHERE Name LIKE '%%'
    AND Name NOT LIKE '%Flash%'
    AND Name Not Like '%Reader%'
    ORder by ComputerName
    Virtual Machines 
    select AllVirt_Assessment.VirtualizationAssessment.ComputerName,AllVirt_Assessment.VirtualizationAssessment.VmachineType,AllVirt_Assessment.VirtualizationAssessment.VmTechnology,AllVirt_Assessment.VirtualizationAssessment.MachineStatus,HyperV_Inventory.HostGuestDetails.GuestName,Win_Inventory.Processors.NumberOfCores,
    Win_Inventory.Processors.NumberOfLogicalProcessors,Win_Inventory.ComputerSystemProduct.Name,ISNULL(AllDevices_Assessment.CategorizedDevices.IsVirtual,0) AS IsVirtual
    from AllVirt_Assessment.VirtualizationAssessment
    inner join AllDevices_Assessment.HardwareInventoryCore on AllDevices_Assessment.HardwareInventoryCore.DeviceNumber
    = AllVirt_Assessment.VirtualizationAssessment.DeviceNumber
    inner join HyperV_Inventory.HostGuestDetails on HyperV_Inventory.HostGuestDetails.DeviceNumber = AllDevices_Assessment.HardwareInventoryCore.DeviceNumber
    inner join Win_Inventory.Processors on Win_Inventory.Processors.DeviceNumber = AllDevices_Assessment.HardwareInventoryCore.DeviceNumber
    inner join Win_Inventory.ComputerSystemProduct on Win_Inventory.ComputerSystemProduct.DeviceNumber = AllDevices_Assessment.HardwareInventoryCore.DeviceNumber
    inner join AllDevices_Assessment.CategorizedDevices on AllDevices_Assessment.CategorizedDevices.DeviceNumber
    = Win_Inventory.ComputerSystemProduct.DeviceNumber
    Printer
    Select AllDevices_Assessment.HardwareInventoryCore.ComputerName,[Unused].[Printers].DeviceId
    from AllDevices_Assessment.HardwareInventoryCore
    inner join Win_Inventory.NetworkAdapterConfigurations on Win_Inventory.NetworkAdapterConfigurations.DeviceNumber
    = [Win_Inventory].[NetworkAdapterConfigurations].DeviceNumber
    inner join Unused.Printers on (Unused.Printers.DeviceNumber) = AllDevices_Assessment.HardwareInventoryCore.DeviceNumber 
    where [Unused].[Printers].DeviceId like 'HP%' or [Unused].[Printers].DeviceId  like 'EPSON%';
    Lucas Simoes Rezende MCP, MCTS , ITIL V3

  • Need a relative sequence (count of record) in an input file in ESB input fi

    I am using ESB to pick up text files and pass them to a stored procedure. I have multiple variable length records in the file. I pass each record to the
    output file adapter, along with the input filename. I would also like to get a relative record number for each record within the file. I use an xsd file
    to convert the input to XML. The entire file is at the root level, each record is an element. Is there a way to get a relative count of each element?
    Here is the xsd file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://TargetNamespace.com/Filein"
    xmlns:tns="http://TargetNamespace.com/Filein"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
    <xsd:element name="Root-Element">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <!--NXSDWIZ:J:\\UPLD5383.INM:-->
    <!--USE-HEADER:false:-->
    I need to map the relative record number to a field in the output.
    Is there a function similar to the get filename that would return this value to me?
    <xsl:value-of select='ehdr:getRequestHeader("/fhdr:InboundFileHeaderType/fhdr:fileName","fhdr=http://xmlns.oracle.com/pcbpel/adapter/file/;")'/>
    I use this in the xsl file to get the file name .

    does each record start with a new line? if it does a
    simple wc -l can help you. If not, you can pre
    process this XML file by first removing all the new
    line characters using sed and then adding new line
    characters after the end tag of the xml using sed and
    finally doing a wc -l . this would be a simple shell
    script. Not sure if you want to use Unix shell
    scripting to achieve this.The sheer nature of XML means that it does not conform to any visual formatting. i.e. An xml file containing...
    <employee><empno>3</empno></employee>
    is identical in XML terms to...
    <employee>
    <empno>3</empno>
    </employee>
    which is also identical in XML terms to...
    <employee>
    <empno>
    3
    </empno>
    </employee>
    which is also identical in XML terms to...
    <employee><empno>
    3
    </empno></employee>
    etc.
    You cannot rely on the number of CR's or CR/LF's in the file to count the records. Proper XML processing should be used for such a task.

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

  • Mapping Error- In IDoc to File scenario

    Hi Experts,
    Got the Mapping error for one interface (IDoc to file). After comparing with successful message found that the field value (TDLINE) is not availbale in first segment (E1EDT10) in idoc for this failed one.
    Mapping is :
    TDLINE -- Exists --- Creatif --- Receiver field(in the file)
    But here due to the the empty value in first segment the message is failed in XI system, next segment values is not trasmitted to the recever end(maping is the same above). To overcome this issue please suggest the suitable mapping design in IR.
    Regards
    Mahesh

    Hi,
    After your CreateIf, use a "IfWithoutElse" by selecting the properties "Keep SUPPRESS Values". To do that, do a right click on IfWithoutElse, choose "Properties".
    With this option, you will keep the fact that you have nothing in the source, and so the target context will have a "SUPPRESS" line.  I have not THE solution, so do your own test.
    If it's not enough, see also about the "mapWithDefault" (but that depends of your real rule).
    Regards.
    Mickael

  • Multi mapping.. is it possible File to Idoc & FIle .. its urgent?????

    Hi All,
    File to Idoc & File.
    I need to pick the file and i need to do multi mapping, so that from the file we can generate
    one idoc which has to go to SAP and
    one acknowledgment's file and sent back to partner.
    Based on the below blog, looks like we can't use Idoc adapter when the target message is Idoc using Multi mapping.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Can anyone suggest me how i can achieve this scenario without using BPM.??
    Regards
    Seema.

    Hi,
    The Multi mapping is possible without BPM but not for IDOC as its not part of Java Stack. IDOC adapter is on ABAP stack.
    As Raj have suggested,
    You could create two different Mappings one for file to IDOC and another for file to file as an acknowledgment.
    In Receiver determination you need to use multiple receivers as IDOC --R/3 receiver and the File receiver system.
    It will create the IDOC as well as push the acknowledgment to file also.
    But incase if you get any problem with sending the IDOC then also you will get successful acknowledgment via file. So directly there will not be any relation between these IDOC and File receivers as an delivery recipt of IDOC.
    Here either you have to use the IDOC acknowledgment feature or BPM or Alert notification to get the exact notification about the IDOC posting to receiver system.
    Please refer below links
    1. IDOC acknowledgment
    This Feature is Available under SP 18 and we are on SP16
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    This Feature is Available under SP 18 and we are on SP16
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    How to Handle Acknowledgments for IDoc (NW7.0)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    IDOC acknowledgements
    2. BPM
    File to IDOC with BPM
    File to idoc with BPM
    Problem in BPM implementation
    Use Aleaud in BPM
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    3. Alert Notification
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    Thanks
    Swarup

Maybe you are looking for

  • Fatal Error has occured and the application is being terminated

    It seems that Captivate is eating my projects.  I've started my second project (after completing my first without any errors) and I'm constintly getting corrupted files.  It set me back at least a few hours worth of work.  So I started creating backu

  • Please Help! New Cam - Seems to Be Locked

    Hi allI have the Creative Live Cam Optia #4 - Creative Live Cam Center version .3.0 running on Win XP. I have a basic problem. The cam doesn't record any images - ie it won't display my pic even when the cam is pointed at me - the screen has a lock i

  • Build distribution error - WINNT.H

    When I go to build a distribution for my project I get an error for WINNT.H. It says:     cviincludes.h - 20 errors                   "WINNT.H"[523,10) syntax error; found 'indentifier' expecting ','. In the WINNT.h it highlights a line    __inline U

  • Database import utility wizrd

    I have a need to move the data from certain tables(of schema A) to schema B.I would be moving only tables and no other objects.I am using oracle sql developer and thought there are 2 options: 1.database copy  2.datapump I have few questions: 1.Datapu

  • Find out the database port

    Hi, i test my database with a connect from the programm SQL*PLUS. Here I need no port. Now I want to test ist with the SQL Developer. Here I need the database port. I don't know the database port. Can you tell me how I can find out the database port?