DTW Query

Hi,
I have two interfaces to SAP (Company Z)
Company X(Online Order Management) - COmpany Y(SAP) - Company Z(Warehouse Management)
There will document flowing in and out of SAP to these interfaces.
Does DTW have this functionality? if yes can you explain the step by step procedure to map and transfer data to the specified destinations?

Kreddy,
This is a duplicate post to the one you have in the SAP Business One SDK Forum.  Please do not post duplicates.  Also, this forum is for questions related to the SAP Business One Integration for SAP NetWeaver or B1i.  Any questions related to the Business One SDK or DTW should not be posted in this forum.
Thank you,
Eddy

Similar Messages

  • Query related to DTW

    Hi,
    I am trying to import data thru templet file bt saving then in .csv ext, Error pertains in case were filed is of drop down TYype.
    So My Question is how to update the dropdown filed vales thru DTW in case od Employe master data.

    Hi Pankaj,
    If you want to import the values of the drop downs you will have to know what the value part of the combo box is. You can get this by switching on your sytem information under the view menu. Then go to the employee screen and select the value in the combo box. then you can hover over the combo with your mouse and the value should display in the status bar.
    Hope it helps,
    Adele

  • Error in Updating the Prices through DTW

    Hello Expert,
                         I am getting an error while updating the item prices through DTW.
    I upload all the items in SAP and prices in Price List 01
    Now I create One more Price List with Other name and want to update the Price in this Pricelist for all items through DTW
    but system giving an error "this entry is already present in Table(ODBC-2035) Application Defined or Object Defined ErrorItems"
    SAP 8.8
    PL 5
    Regards
    Atif

    What Neetu suggests is great.  However, you will run into problems if your users have deleted a price list.  Perform the following query as suggested:
    SELECT T0.[ListNum], T0.[ListName] FROM OPLN T0
    Copy this to excel and create a further column called 'RealNumber' or something
    Start numbering cells in this new column from 0 to whatever you need to cover all the lists from the database.
    The number in the 'Real Number' column is the one you should insert into the LineNum field in the prices spreadsheet.
    Hope this helps.  Reply if you need more guidance.
    Regards
    Bob

  • Duvida DTW com tabelas de usuário.

    Boa noite,
    Estou com um problema referente a usar o DTW em uma tabela de usuário. Eu queria fazer update em 1 campo apenas de uma tabela de usuario, utilizei o template da tabela que possuía varias campos, porem só queria atualizar 1 campo. Fui fazer um teste e exclui os campos que eu não queria atualizar e no teste deixei apenas 2 campos o Codigo e a Data (que eu queria atualizar). Porem quando rodei o DTW ele apagou todos os outros campos e deixou somente esses 2 preenchidos. Minha duvida é se fiz algo errado ou se tenho que preencher todos os campos que contenham informação se não eles serão apagados?
    Obrigado

    Discussão movidade de Comunidade SAP em Português (Portuguese Language Community) para SAP Business One (Português)

  • Closing Sales Order through DTW

    I want to close Sales Order using DTW, because the are a lot of open sales orders and is to much work to do it manually. I would do a query to the SBO DB to get the fields into the template. What fields would be needed to do it???

    hector,
    good question.
    You can raise a ticket to
    SAP in service market
    place before procedding
    further with closing of
    sales order.
    Hope it will solve the
    problem.
    Jeyakanthan

  • Query to determine which customer invoices are subjected to apply payment

    Hi you all experts.
    I have two tables (OINV and a custom made named DEPOSITS) the first one as you know keeps the record of all customer invoices. The second one keeps record of last payment from customers (this table is filled before applying payments and it consists in only two fields: ClientID and Amount.
    I will upload incoming payments through DTW, but since I only have the amount of the payment and not the invoices to where this money will be posted; I come to you for advice.
    For instance, my Customer1 just pay 5,000USD and has following invoices (in order of DueDate):
    - InvoiceA: 1,000
    - InvoiceB: 700
    - InvoiceF: 3,000
    - InvoiceD: 5,000
    - InvoiceC: 10,000
    I need to create a query that gaves me wich Invoice (with the higher due date) can be cover with the amount given, and if cannot be covered completely, to apply the remaining balance of the Deposit and keep the invoice open as partial paid.
    The expected result from this would be:
    - Invoice A: 1,000 PAYED. Remaining balance of payment 4,000USD.
    - Invoice B: 700 PAYED. Remaining balance of payment 3,300USD (4000-700)
    - InvoiceF: 3,000 PAYED. Remaining balance of payment 300USD (3300-3000)
    - InvoiceD: 300 PARTIALLY PAYED. Remaining balance of payment 0USD (300-300)
    Thanks a lot,
    Israel.

    Hi Israel,
    Query may only do calculation column wise easily. How about just create left part. The calculation between lines can be done by Excel formula after export the query result.
    Thanks,
    Gordon

  • Is there a way to remove additional BP Address in BP Master Data using DTW

    Hi,
    While updating the BP addresses using DTW it got duplicated. Is there a way to remove those Shipto/ Billto addresses which got duplicated. Individually it is possible to remove but using DTW can I create a template?
    Thanks.
    Kishor

    You need to first check if the address line actually exists.  What you have got from Natalia is a guideline which you have to apply to your context.
    Query the CRD1 table and check which line number you want to delete and if it really exists
    The query below will give you cardcode, address type (billto or shipto), Address Name and LineNumber. 
    If you run this query wthin SBO, if you see a blank on the linenum column that means linenum 0.
    SELECT T0.[CardCode] AS 'BP Code', T0.[AdresType] AS 'Address Type',
    T0.[Address] AS 'Address Name', T0.[LineNum] AS 'Row Number'
    FROM  [dbo].[CRD1] T0

  • Error while importing data in DTW

    hi,
       while importing the data for items in DTW the option for browsing templates differs from normal DTW. "query params" the odd structure displayed in the tree structure when we select the data source file.for items alone i had this type of tree structure.after selecting the source file i got the error as "itemNo  is missing". even though the itemcode is entered.i couldn't import the file.

    hi,
       i refered to your note.absolutely tat was the error i got.i checked the 1st workaround.but i couldn't import the file and i got the same error itemNo is missing.
    but while checking the 2nd workaround i couldn't uninstall the DTW.there is a window opened by displays the following information.
    "The following applications are using files that need to be updated by this setup.close this applications and click retry to continue".if i ignore this window i got the error msg as
    "another application has exclusive access to the file C:\ProgramFiles\SAP\DataTransferWorkbench\dtw.mdb.please shutdown all the applications and retry".
    if i click retry, the same error was displayed again and again.if i cancelled i got the error as "fatal error during installation".

  • DTW - Business Partner Master Data

    Hello, i'am having some problem concern to import of marter data of BP, in  OCPR - ContactEmployees and CRD1 - BPAddresses.
    I'am using ODBC and using the query structure like in the .scv files.
    I do the import and DTW don't give error message and do nothing... DTW run for a while and do nothing... I´m using 8.82 SBO.
    Here is an example:
    select
    P.AdrNr as ParentKey,
    null as LineNum,     
    P.AdrNr as CardCode,     
    P.Ansp as Name,     
    P.Abt as Position,     
    null as 'Address',     
    P.Tel1 as Phone1,     
    P.Tel1 as Phone2,     
    null as MobilePhone,     
    P.Fax as Fax,     
    P.EMail1 as E_Mail,     
    null as Pager,     
    null as Remarks1,     
    null as Remarks2,     
    null as 'Password',     
    null as PlaceOfBirth,     
    P.GebDat as DateOfBirth,     
    CASE WHEN (P.Anr='Herr') THEN 'M'
          WHEN (P.Anr='Frau') THEN 'F'
          ELSE 'E'
    END as Gender,     
    P.Pos as Profession,     
    P.Tit as Title,     
    null as CityOfBirth,     
    null as Active
    from M.M.Tablex P

    Silvio,
    try to insert one BP only by using 2 fields for example cardcode and cardname and see if it will start or finish
    do not try to insert too many data in order to find which is the problem and what makes the conflict
    connect to a TEST database and do not tick the Test Run checkbox

  • Problem with using DTW for SAP BO PL11

    Hello, experts!
    I'm using SAP B1 8.8 PL 11, Microsoft SQL Server 2008 Standard Edition.
    I have a script, which put data for Item Master Data import into temporary table, after that I want to transfer this data via DTW into SAP B1 database.
    There are some new rules for DTW beginning from PL 10; I've adapted my script - removed RecordKey and replaced it with ParentKey everywhere in child tables.
    But when I try to use DTW with ODBC connection, and press Test in form, where query should been specified, in result table values for first column are spreaded for the second one: first column ItemCode and second column ItemName are equal to Item Code (http://s39.radikal.ru/i083/1009/0b/b7071404dc99.jpg). But in SQL:http://s001.radikal.ru/i195/1009/1c/3cb40e506842.jpg
    If I don't press Test and just use it, it shows me a lot of import errors like "Invalid XML Wrong value for column" and shows that Column received shifted value from neighbour column (i.e. ItemName column received value from ItemCode column).
    My table has following structure (all column names were copied from appropriate template file, bundled with DTW, saving the order):
    CREATE TABLE [dbo].[tmpsapb1_Items](
       [ItemCode] [varchar](50) NOT NULL,
       [ItemName] [varchar](60) NOT NULL,
       [ForeignName] [varchar](1) NOT NULL,
       [ItemsGroupCode] [varchar](10) NULL,
       [CustomsGroupCode] [varchar](1) NOT NULL,
       [SalesVATGroup] [varchar](2) NOT NULL,
       [BarCode] [varchar](8000) NOT NULL,
       [VatLiable] [varchar](1) NOT NULL,
       [PurchaseItem] [varchar](1) NOT NULL,
       [SalesItem] [varchar](1) NOT NULL,
       [InventoryItem] [varchar](4) NOT NULL,
       [IncomeAccount] [varchar](1) NOT NULL,
       [ExemptIncomeAccount] [varchar](1) NOT NULL,
       [ExpanseAccount] [varchar](1) NOT NULL,
       [Mainsupplier] [varchar](1) NOT NULL,
       [SupplierCatalogNo] [varchar](17) NULL,
       [DesiredInventory] [varchar](1) NOT NULL,
       [MinInventory] [varchar](1) NOT NULL,
       [Picture] [varchar](1) NOT NULL,
       [User_Text] [varchar](1) NOT NULL,
       [SerialNum] [varchar](1) NOT NULL,

    Your temporary table will be the first trouble maker. ItemCode length is 20 for example. Check the item master table structure and recreate your temporary table.
    Thanks,
    Gordon

  • Update minimal quantitiy in warehouse via DTW

    I want to update the minimal quantity for the default warehose for each Item (OITW table +OITM) הןש DTW.
    Not all warehouses is automaticly connected to all items.
    I want to use the DTW. I created an excel files.The first excel file contains the items i want to update (by the OITM - Items template) , and the second file (by the OITW - ItemWarehouseInfo template) contains the items list (the same as in the first file) , the warehouse code of the defualt warehouse for each item and the minimal quantity. Only when I fill the "LineNum" column with the velue of the visual line num  -1  of the default warehouse as it  appears in the "Item Master Date">"Inventory Data" .
    This information is not evalable in the database, so how can i prepare the excel files for the import?
    I need an answer ASAP.

    Hi Sara,
    I don't think there is an automated way of getting that information.  There is not a line number (or visual line number) within the OITW table. 
    If the warehouses were automatically added to the items and the codes were the default 01, 02, 03 etc then you could have done something with it, as the Warehouse number less 1 would have been what we needed for the LineNum column.  However as there is no specific order I'm afraid I can't see how you could do that.
    If you create a query on OITW (just showing Item Number and WH) and export that to excel, is the exported order the same as the visual order?  As you may be able to manipulate that in Excel.
    Regards,
    Adrian

  • How to Import  Excisable Item Details -  through Item DTW ?

    Hi All,
       Throught Item DTW, How can import  the Excise related information in Item Master like - excisable item check, Chapter ID,Accesable value etc ?
    Rgds
    Swapnil

    Hi ,
        i have one more solution to Import Excisable Item through DTW.
    First Update Excisable field 'Y'  (SQL  Query ) then Create user define fields for excisable and then  import data by DTW  to these UDF's.
      after that from SQL Query you can updates all excisable fields by  these UDF's.

  • Query for allowed payment methods of BP

    Hi there,
    i would like to make a query where i get all allowed paymentmethods of a BP. Unfortunatly i do not know in which table i can find this information. The query for checking the standard paymentmethod is quite easy but i do not know in which table i get the information of the allowed (checked) paymentmethods.
    thx for your help.
    best regards
    Manuel

    Another question: is there an easy way to update all BP (so that it is allowed) with a paymentmethod without using DTW?
    If I try it with an update query i think it is not the right way because it is not really an update of an existing record it's adding a new allowed paymentmethod.
    br
    Manuel

  • DTW of open items

    Hi Experts,
    I have a query related to DTW, Is it possible to migrate the open item list of the BP using DTW.
    (Here in our scenario we need to import all the open invoices/ orders / deliveries related to the BP open balances)
    If it is possible please tell me the name of the template used .
    Regards
    Swapna.g

    Hai!
    It is quite possible, use templates oInvoices,oOrders,oDeliveryNotes
    Regards,
    Thanga Raj.K

  • DTW How to Import Journal Entries

    I am attempting to test import some journal entries, but I cannot get DTW to work.
    I need help with the .csv format (date format, account code format, any crucial fields i need)
    I also need to know what could be causing DTW to constantly crash, and freeze after an action is performed.
    This is my current setup:
    OJDT Journal Entries.csv
    1,08/31/2014,Test 1,BN,,,,,,,,,,,,,,,,,,
    2,08/31/2014,Test 2,BN,,,,,,,,,,,,,,,,,,
    3,08/31/2014,Test 3,BN,,,,,,,,,,,,,,,,,,
    JDT1 Journal Entries_Lines.csv
    1,,,1000-00-00,1000.2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    1,,,2120-00-00,,1000.2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    2,,,1000-00-00,255.95,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    2,,,2120-00-00,,255.95,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    3,,,1000-00-00,165123.5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    3,,,2120-00-00,,165123.5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Is the JdtNum field supposed to be the next journal entry number sequence? i.e. 36745,36746...
    I would hope the import would automatically select the next available je number.
    Thank you for any help.

    Hi Nadeem,
    OJDT -
    JdtNum
    TaxDate
    VatDate
    DueDate
    Memo
    JdtNum
    TaxDate
    VatDate
    AutoVAT
    Memo
    1
    20140831
    20140831
    20140831
    Test
    JDT1-
    ParentKey
    LineNum
    AccountCode
    Debit
    Credit
    JdtNum
    LineNum
    Account
    Debit
    Credit
    1
    0
    OACT.ACCTCODE
    100
    1
    1
    OACT.ACCTCODE
    100
    is your GL segmented ? If yes, get the acctcode value and not 1000-00-00 .
    Try to run a query for the accountcode -
         select AcctCode From OACT
    Hope this helps.
    Regards,
    Darius

Maybe you are looking for

  • The iPod can not be synced. The disk could not be read from or written to.

    I try several time to send my song list from libraly to iPod. But it's show me that " The iPod can not be synced. The disk could not be read from or written to. " About this problem i try to do manythings follow some reply for advice me. but i still

  • Have an iPhone 4 and a 3GS ? Make a real world reception test ...

    Hi, I read many tests about the iPhone 4 reception issue and mine exhibits the same behavior : if I am in an area where the signal is barely 5 bars, it goes down to 1 if I touch the bottom left corner. If I grip my iPhone 3GS in the same conditions,

  • Any clue how to tell firefox that .qfx files should start quicken 2007?

    Firefox 3.6.3 (Mac) only knows about .ofx files from Quicken. I find no obvious way to add .qfx to the list, and the dialog ("open with this app", "always do this from now on) has no effect. eh? == This happened == Every time Firefox opened == Later

  • Cursor Bulk Collect

    Hello All, I have a doubt regarding Cursor bulk collect. Both the versions are working fine. 1st Version: DECLARE   CURSOR c1 IS (SELECT t2 FROM test10);   TYPE typ_tbl IS TABLE OF c1%rowtype;   v typ_tbl; BEGIN   OPEN c1;      FETCH c1 BULK COLLECT

  • Flash Builder 4.7 Debug Configuration Bug

    I just updated to Flash Builder 4.7 today and ran into an annoying bug that did not exist with 4.6. I always have many debug configurations when developing mobile apps, ie. iPhone, iPad, iOS on device. When I tried to create these configurations this