Importing Sales Orders through DTW
Hi,
I´m trying to imports Orders through DTW, I wonder if it is possible to define de the Base Document, in this case the Sales Quotations
Thanks in Advanced
Aridane,
The DTW uses the Documents object, as well as Document Lines, etc., and the properties exposed in this object. If the "Base Document" property is exposed per the Documents object in the SDK Help Center, then yes you should be able to import it. The property of BaseEntry is exposed via the Document_Lines object. This is equivalent to the the BaseEntry in the DTW template Document_Lines.csv.
HTH,
Eddy
Similar Messages
-
Import of Sales Order through DTW
Dear All
I am having problems in importing Sales Orders through DTW. I have used the template 'oOrders' and enter the required data in the 'Document' and 'Document-Lines' files.
When, I run the DTW and uploaded the Sales Orders, it was imported successfully. But when I search in SBO, no Sales Order was created.
I have also, unchecked the box 'Test Run', but still it doesnot posted any Sales Order.
Kindly, help me in this regards
Thanks and Best Regards
NabeelDear Gordon
Thanks for your prompt response.
In the 'Documents' template, I filled the following columns:
RecordKey CardCode DocDate DocDueDate
1 AAJ-KAC-6 20081203 20081203
In the 'Documents-Lines' template, I filled following columns:
RecordKey ItemCode DocDate DocDueDate Price Quantity Tax Code
1 701-0020-0000 20081203 20081203 10 10 X0
I, also tried to post the Sales Order manually by entering the above data and SO was posted. But it is not posting through DTW.
Thanks and Best Regards
Nabeel -
Importing sales order throgh DTW
hi,
i have imported sales order through DTW.there was no error and it came as imported successfully.but 0 objects were imported.can any help me
with regards
priyahi all,
i had an another doubt in DTW.the customer code is in numeric(for example 001).when i enter this number it takes as 1 in that cardcode field(in csv file).while importing it displays the error as invalid BP code.whether the cardcode should be in alphanumeric ?
regards,
priya -
Sales Order through DTW with Approval
Dear All,
Had any one uploaded Sales Order through DTW with Approval"
Regard,
Divya SinghDear Divya Singh,
I don't think that is logical to DTW document with approval. You probably better to DTW drafts and then going through approval procedure.
Thanks,
Gordon -
Uploading Purchase Order Against the Sales Order through DTW
Hi Experts,
I searched the forum but could not see anything regarding this.
Can I upload Purchase Orders against the Sales Orders using DTW upload facility? Manually we do it through the Logistics Tab in Sales Order.
Thank you in advance.
Kind Regards,
ICHi,
You can use the BaseType, BaseEntry and BaseLine columns for this in the row level template (DLN1):
BaseType: it's the Object Type of base document (ORDR.ObjType) which is '17' in case of Sales Order
BaseEntry: it's the Document Entry of the base document (ORDR.DocEntry)
BaseLine: it's the row number of the line in the base document (RDR1.LineNum)
If you import your Delivery Notes with this info, the link to the Sales Order will be updated just as if you used Copy To in SAP.
Regards,
Nat -
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 -
Importing of Open sale order through DTW
Hi Experts,
Please explain how to upload open sale quotation,sale order,delivery,A/R Invoice.And what are the templates names for this.
Regards'
silpaHi Silpa n,
try to search the steps how to upload the open documents in the help file of DTW template. Here is the definition of the template and how to have it:
User-Defined Templates
Data Transfer Workbench provides users with default templates for all the objects in SAP Business One, which do not include user-defined fields. This release supports the import of user-defined fields for all the user-defined fields supported by SAP Business One DI API.
Use
As of Release 2005, SAP Business One Data Transfer Workbench allows the users to generate Microsoft Excel templates as the new interfaces.
There are situations where the user may need properties of the interface that are not provided by our templates. For example, in the case of User Defined Fields, the user can go to the Interface Maintenance tool to add the desired fields.
The user may also want to reduce the fields in the templates or rearrange the sequence of the fields. Interface Maintenance tool also allows users to remove unnecessary fields and rearrange them in the desired order.
After maintaining the interfaces, the user could generate new templates based on the new interfaces.
Procedure
1. To use the Interface Maintenance Tool, you need to first go to the menu bar and select Advanced à Maintain Interface to open the Maintain Interface window.
2. In the left frame, there is a drop-down list of all the business objects that are supported by the DTW. Each object contains one or more structures. For example, oChartofAccounts has one structure and oBusinessPartners has seven structures. To add or delete fields from these structures, right-click on a field and select Add Field or Delete Field. If you select Add Field, a list of fields will appear on the right frame. Double-click on a field from the list to add. Before it is added, the application will check if there is duplication. You can only add the fields that appear on the list.
3. To create a new template based on the new interface, right-click on a structure and choose Create Template for the Structure.
To view the existing templates that are provided with the installation, go to Start à Programs à SAP Business One à Data Migration à Templates
Rgds, -
Importing Sales orders and Invoices thru DTW
Hi every one,
I am facing a unique problem when using DTW to import sales orders and invoices through DTW.
I am using the two templates- Documents and Document Lines. But the imported Invoice or the sales order(In both cases) the dicount field in the row is taking a negetive discount value. Let me elaborate....
1. I am taking a BP which has been alloted a Particular pricelistcode in the BP Master.( say it be Purchase price).
2. Now In the Doc_lines Template I have put the value in the price column- (eg. Rs. 500).
3. Now the itemcode used in the template is already having a masters and the prices are also defined in SAP B1. Say the Purchase price defined for the item is Rs.400
4.When I am importing the order/nvoice then the discount field in the row automatically takes a value of -25%, the unit price has the value Rs.400 and the Total Field shows Rs.500.
( this Implies that the price I have suggested to Import i.e. Rs500 is some how not taken by the system. The system takes the price defined for the BP and then adjusts it with the price suggested by the user during import) So a negetive discount is taken.
On the other hand if the same procedure is followed for an item where the prices are not updated in the master data then there is no such problem. the unit price field reflects the price which is given in yhe template.
please suggest a way to get out of this problem.Hi Debraj,
Try the following..
In Admin > System init > Document Settings > General Tab ..Calculate the Row total using Unit price ....... leave this unchecked
Also, at the Document_lines template fill the discount column with 0
Suda -
Importing Sales Order with Tax
I have to import sales Order into Order Management with tax details. Sales Order Interface does not capture the tax amount that is passed through the interface. Looks like EB Tax should be set up to calculate the tax after order is imported. I don't want tax to be calculated again in Oracle application as it is already calculated in the external system. I want tax amount to be accounted but not calculated in Oracle application.
Please let me know your suggestions, to capture the tax information in Oracle application
Thanks,
Priya.So , Login to DTW .
with the Desired Database and Login Credentials.
Goto - > Templates - > Customized Templates
Select The Object .
Right Click on the object needed and choose Create Template for the Structure .
Then use this template for import .
Hope it helps
Thanks
Ashish Ranjan -
Price is not being updated when creating a sales order using DTW oOrders
Hello experts,
When I create a sales Order using DTW (oOrders), the information in the input files document.csv and document_lines.csv is updated with no problem, except the price. The price is being ignored from the input files.
Is there something that I must considered when trying to update the price of a sales order using the DTW?
The field "price" was mapped in the source and target fields in DTW.
Here is the document_lines.csv
RecordKey,LineNum,AccountCode,Address,ItemCode,LineTotal,Price,Quantity,ShipDate,WarehouseCode,TaxCode
RecordKey,LineNum,AccountCode,Address,ItemCode,LineTotal,Price,Quantity,ShipDate,WarehouseCode,TaxCode
1,1,_SYS00000000059, ,30PA08-0360-25,1,11.2,3,20110702,V08,A5
1,2,_SYS00000000059, ,30PA08-0707-25,1,15.2,3,20110702,V08,A5
1,3,_SYS00000000059, ,30PA08-0707-22,1,18.3,3,20110702,V08,A5
And the document.csv:
RecordKey,DocEntry,CardCode,DocDate,DocDueDate,DocTotal
RecordKey,DocEntry,CardCode,DocDate,DocDueDate,DocTotal
1, ,c-6167,20110702,20110702,2
Thank you for your help
Jorge ManzoHi,
Try to re-create your dtw using my template,and use text tab when saving your template.
SO-Header
RecordKey CardCode CardName Comments DocDate DocDueDate DocNum
RecordKey CardCode CardName Comments DocDate DocDueDate DocNum
1 24-25 MANUFACTU 24-25 MANUFACTURING 4/5/2010 4/15/2010 11142
SO-LINE
RecordKey linenum itemcode qty uom PriceAfterVAT Price SalesPersonCode
RecordKey linenum itemcode qty uom PriceAfterVAT Price SalesPersonCode
1 0 SHAFT HEX 7/8" 1 pc 4536 4050 CRIS
Note : Line -(LINE NUM and QTY is important upon computation of Price if SO is ITEM TYPE Document.
hope this will help you!
Regards,
Darius -
Problem in importing Sales Order with udf in the rows
Dear All,
I am having problem in importing Sales Order with udf in the rows. I mean it is getting imported but the udf values in the rows is not getting updated. But the udf values in the header is getting updated. I am using SAP 8.8 Pl 10.
Can anyone guide me what to do in this scenario?
Regards,
GarySo , Login to DTW .
with the Desired Database and Login Credentials.
Goto - > Templates - > Customized Templates
Select The Object .
Right Click on the object needed and choose Create Template for the Structure .
Then use this template for import .
Hope it helps
Thanks
Ashish Ranjan -
Dear All,
We are creating credit memos against QM notification (type q1) and it is working also.
The requirement is that through VA01 t code either credit note sales doc type
should not allow or without notification no sales order should not save.
To handle this I have added VBAK-QMNUM in incompletion procedure for credit note sales doc type and it
is also working. But while creating sale order through QM02 order it is showing incomplete for
notification no but in sales tab field of notification is not showing.
As per logic if I create sale order through QM02 notification no should should copy but it
is not working. plz advice what can I do.
regards,
sp shuklaDear Divya Singh,
I don't think that is logical to DTW document with approval. You probably better to DTW drafts and then going through approval procedure.
Thanks,
Gordon -
Importing Contact Persons through DTW
Hi,
I´am trying to import Contact Persons through DTW. These "Contact Persons" belong to Business Partners that already have "Contact Persons". I want to add new contact persons to these Business Partners. The problem that instead of adding those Contact Persons, the DTW is updating the Contact Persons that already exists.
I have two files, Business Partners and Contact Employees. In this first one I´m using two fields (Recordkey and Cardcode). In the second one, Contact Employees, i´m leaving blank the field "linenum". I´m also setting in the third step of the DTW process, the option of "Add all items into Schema if can´t find corresponding item when updating". In the 5 step I choose Update objects"
Thanks in advancedAridane,
Apologies ... I misunderstood what you were asking. If you look at the sample temple for Contacts that are related to Business Partners at ...
..\Program Files\SAP\Data Transfer Workbench\Templates\Data preparation examples\20. TestCase2_Test Data for Update function\oBusinessPartners\ContactEmployees.csv
Here you can see that you have to relate the RecordKey of the ContactEmployee to the RecordKey for the Business Partner. If there are multiple contacts for the same Business Partner, the RecordKey is repeated as in the example and you increment the LineNum for each different Contact.
HTH,
Eddy -
Creation of Sales orders through EDI
Hello,
We have a problem when creating sales orders through EDI.
We are getting IDOCs with a delay of 1 second.Before
creating sales orders through the posting function
module IDOC_INPUT_ORDERS, we need to validate for
reference Purchase order number in the IDOC. If there is
any sales order in the database with the Purchase order
number in the current IDOC that sales order should be
blocked.
We already put a validation in the User-Exit of the
posting function module. Because of the frequency of
IDOCs we receive, this validation is getting failed.
Can anybody tell me, how to process only 1 IDOC at any
given point of time before the Posting process.
Thanks,
Madhusudan.Hi Sanjeev,
Thank you very much for helping me out in this problem.Still I haven't got the solution.
I tested the above mentioned configuration option by putting the Check Purchase Order Number field to 'A' in the transaction VOV8. But while creating sales orders, it is giving only information message. Is there any other way, to restrict the Duplicate PO value through configuration setup.
can you also explain how to use Enqueue and Dequeue FMs in the inbound posting function module.
Regards,
Madhusudan.
Message was edited by: Madhusudan Budati
Message was edited by: Madhusudan Budati -
Dates fields issue in the sales orders through IDOC
Hi all,
I'm trying to create a sales order through Inbound IDOC using IDOC_INPUT_ORDERS.
I have 2 custom fields in the sales order which are date fields.
I'm populating them from the IDOC segments(using E1EDKT1-tdid, E1EDKT2-tdline) in the user-exit just before the call trasacation statement. These dates are not coming for a few orders... but are getting populated normally for few of them.
But the tricky part is that... if I process the same IDOC for the second time.. the order created is having the dates.
My issue is that.. i need all the orders to be populated with the dates which IDOC have.
Could anyone please help me with this issue.
All the answers/replies are highly appreciated!!
Thanks for you help!hi,
the following may be of help
There are 2 major exceptions to the batch input internal table. All text data from the segments E1EDKT1/2 and E1EDPT1/2 are not part of the batch input session. Text elements from these segments are posted directly to the data base AFTER the sales order has been created (please note: in order that item texts are posted correctly to the sales order the field POSEX from segment E1EDP01 MUST be transmitted). Also, configurable material information from the IDOC is exported to a global memory and therefore will not be part of the batch input session. Configurable material data is performed in Form CHECK_CONFIGURATION and the data is exported to global memory in the following code:
Exportiert IDOC Daten ins globale Memory
export IDOC data to global memory
call function 'CUXC_IDOC_TO_MEMORY'
tables
cfg_instref = xe1curef
cfg_ref = xe1cucfg
inst = xe1cuins
part_of = xe1cuprt
value = xe1cuval
exceptions
error = 1
others = 2.
One extra piece of useful infomartion if you wish to debug the process is to set your breakpoints at the following points
for Function module IDOC_INPUT_ORDERS
include LVEDAF0F..
CALL TRANSACTION 'VA01' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO xbdcmsgcoll.
Now input_method is A foreground process and N for background processing but try changing it to P (pass through mode)
If you have breakpoints in va01, e.g. MV45AF0B_BELEG_SICHERN,(the part where the sales document is saved)
they will be hit, e.g
perform userexit_save_document_prepare.
perform userexit_save_document.
Lastly, don't forget using program SDJEDI , see note 380603 for more information on this
Hope this is useful
Paul Quinn
Maybe you are looking for
-
Up-to-date Display Driver for Dv6-3077CA​?
I recently bought an HP Dv6-3077CA (Intel Core i5 2.26GHz, 4GB DDR3 ram and 1GB ATI Radeon HD 5650)and was looking to play some Starcraft II the other day when I noticed that many of the Graphics options were grayed out and unchangeable. My first ste
-
Experts, How is tax generally calculated on a P O - Is it based on the vendor zip code and region ? And then after it is caluclated, where can we know as to what account it gets posted to ? And how is the tax calculated in case of service entry ? is
-
Enable Cuda on 7.2.2 - Greyed out won't let me select
I just moved over to the CC from CS6. I have been doing EVERYTHING on the forums and for some reason it still won't load. My specs: OSX 10.9.2 GeForce GT 650M 16gb RAM 2.3 GHz INtel Core i7 Premiere 7.2.2 Cuda Driver: 5.5.28 (but I've tried most rece
-
Package Configuration via SQL Server For a Reporting Queue
The scenario is a reporting queue for a web application. Currently when a user queues a report it stores the parameters in a table by queue ID. When that report is set to run the database creates a dtexec command with all the parameters. We use this
-
Hi, I'm using xml and JMS to query a remote system. One of the values in the remote system that I am interested in is a boolean value. I do not know this field is defaulted in the remote system so I want to use a Boolean object to represent it. I.e I