Updating BOMs via DTW
Hello,
I am trying to update my BOMs via DTW. There is a tick box called "Hide BOM Components on Printoutu201D on the SALES BOM that i would like to tick but it doesnt seem to have a mapping in the DTW template. I've tried adding a column called "HideComp" to the ProductTrees template but DTW does not recognize this or allow me to manually map the feild.
What can i do? Any suggestions are much appreciated.
Greeshma
HI Joseph,
If i tick what you suggested in the Document SEttings then the Component items of the Sales BOM can still be seen when you are adding the document in SAP but you just cannot see their indivdual prices. When you do a print preview of the document the component items still show. I do not want them to show on the physcial printout of the document-whether it is a SAles Order or Invoice.
Kind regards,
Greeshma
Similar Messages
-
Hi to all,
Can any one provide me sample program to update BOM via Function Module CSAP_MAT_BOM_CREATE.
As i already have created the program , but run time error is coming KEY_INCOMPLETE for CSAP_MAT_BOM_CREATE.
as i have already search the SDN , but cant get any specific answer for that.
Note: itab_bom_header and itab_bom_item_details are of same line type as
i_stko and t_stpo with data.
DATA: wa_bom_header TYPE zia_str_bom_header,
wa_itab_bom_item_details TYPE zia_str_bom_item_details.
IF itab_bom_header[] IS NOT INITIAL .
READ TABLE itab_bom_header INTO wa_bom_header INDEX 1 .
ENDIF.
*---- BOM header data structure
DATA: BEGIN OF tstko OCCURS 0.
INCLUDE STRUCTURE stko_api01.
DATA: END OF tstko.
DATA: wa_tstko LIKE LINE OF tstko.
*---- BOM items table
DATA: BEGIN OF tstpo OCCURS 0.
INCLUDE STRUCTURE stpo_api01.
DATA: END OF tstpo.
DATA: wa_tstpo LIKE LINE OF tstpo.
**---- Object dependencies table
Basis data
*data: begin of tdep_data occurs 0.
*include structure csdep_dat.
*data: end of tdep_data.
Description
*data: begin of tdep_descr occurs 0.
*include structure csdep_desc.
*data: end of tdep_descr.
Source
*data: begin of tdep_source occurs 0.
*include structure csdep_sorc.
*data: end of tdep_source.
Sequence
*data: begin of tdep_order occurs 0.
*include structure csdep_ord.
*data: end of tdep_order.
Documentation
*data: begin of tdep_doc occurs 0.
*include structure csdep_doc.
*data: end of tdep_doc.
CALL FUNCTION 'CALO_INIT_API'
EXPORTING
FLAG_DB_LOG_ON = 'X'
FLAG_MSG_ON = 'X'
FLAG_API_API_CALL_ON = ' '
FLAG_COLLECT_MSG_ON = ' '
EXTERNAL_LOG_NO = 'API'
DEL_LOG_AFTER_DAYS = '10'
DATA_RESET_SIGN = '!'
EXCEPTIONS
LOG_OBJECT_NOT_FOUND = 1
LOG_SUB_OBJECT_NOT_FOUND = 2
OTHERS = 3
LOOP AT itab_bom_header INTO wa_bom_header.
wa_tstko-BASE_QUAN = wa_bom_header-base_qty.
wa_tstko-BASE_UNIT = wa_bom_header-BASE_UOM.
wa_tstko-BOM_STATUS = wa_bom_header-BOM_STATUS.
ENDLOOP.
LOOP AT itab_bom_item_details INTO wa_itab_bom_item_details.
wa_tstpo-item_categ = wa_itab_bom_item_details-item_category.
wa_tstpo-item_no = wa_itab_bom_item_details-bom_itm_number.
wa_tstpo-component = wa_itab_bom_item_details-component.
wa_tstpo-comp_unit = wa_itab_bom_item_details-uom.
wa_tstpo-comp_qty = '10'.
wa_tstpo-valid_from = wa_itab_bom_item_details-valid_from.
wa_tstpo-itm_ident = wa_itab_bom_item_details-item_id .
APPEND wa_tstpo TO tstpo .
ENDLOOP.
FM to create BOM
CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
EXPORTING
material = wa_bom_header-material
plant = wa_bom_header-plant
bom_usage = wa_bom_header-bom_usage
VALID_FROM = wa_bom_header-VALID_FROM
CHANGE_NO =
REVISION_LEVEL =
i_stko = tstko " bom header
FL_NO_CHANGE_DOC = ' '
FL_COMMIT_AND_WAIT = ' '
FL_CAD = ' '
fl_default_values = 'X'
IMPORTING
fl_warning = fl_warning
bom_no = bom_no
TABLES
t_stpo = tstpo " bom item
T_DEP_DATA = tdep_data
T_DEP_DESCR = tdep_descr
T_DEP_ORDER = tdep_source
T_DEP_SOURCE = tdep_order
T_DEP_DOC = tdep_doc
T_LTX_LINE =
T_STPU =
EXCEPTIONS
error = 1
OTHERS = 2
IF sy-subrc <> 1.
WRITE 'error'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF fl_warning EQ 'X'.
WRITE 'done'.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
please can any one provide me the solution for that.
i shall be thankfull to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Aug 18, 2011 3:01 PMThanks for reply,
i have debug my program and found that run time error is coming at GET_MAST function module.
but i have already checked that MATNR and STLNR is already filled before reaching to that FM.
GET_MAST
IF NOT SET IS INITIAL.
IF WA-MATNR IS INITIAL
AND WA-STLNR IS INITIAL.
RAISE KEY_INCOMPLETE.
ENDIF.
IF WA-MATNR <> SPACE
AND WA-STLNR <> SPACE.
RAISE KEY_INVALID.
ENDIF.
please can any one provide me the solution for that.
Regards
Pavneet Rana -
Updating Warehouse Infor via DTW
Hi,
I'm having some diffuclties in updating my warehouse info particularly the warehouses average price per item.
Example:
Item.txt has
RecordKey ItemCode
1 A1
2 B1
3 C1
WhseInfo.txt has
RecordKey WhseCode LineNum ToAvgPrc FrmAvgPrc
1 1 0 1.00 2.00
1 2 1 1.00 2.00
1 3 2 1.00 2.00
1 4 3 1.00 2.00
2 1 0 3.00 2.00
2 2 1 3.00 2.00
2 3 2 3.00 2.00
2 4 3 3.00 2.00
3 1 0 2.00 2.00
3 2 1 2.00 2.00
3 3 2 2.00 2.00
3 4 3 2.00 2.00
Whenever the uploads begins, I always ended-up with this kind of error 'Field cannot be updated (ODBC -1029)Application-defined or object-defined error65171' and this error occurs only for some item. With the data shown above, only Item C1 would have that kind of problem.
And the reason why I wanted to do the update via DTW is I don't want to have an accounting entry for this update.
Is there anybody could explain or help me on this.
Thanks in advance.I got your point and I'm aware that. I actually assumed that it would be the next subject, but apparently (based from the actual data that I have) for some items even if FrmAvgPrc and ToAvgPrc is the same, DTW upload is ok and for some items that have difference, upload was unsuccessful. And when I chose to eliminate/delete the item that causes the error, upload was successful.
Here is the actual data;
Item.txt
RecordKey ItemCode
RecordKey ItemCode
1 000000200T
2 000100000P
3 000100000T
4 000100200T
WhseInfo.txt
RecordKey LineNum StandardAveragePrice WarehouseCode
RecordKey LineNum StandardAveragePrice WarehouseCode
1 0 899.05 ACE01
1 1 899.05 ACE02
1 2 899.05 ACE03
1 3 899.05 ACE04
2 0 200.89 ACE01
2 1 200.89 ACE02
2 2 200.89 ACE03
2 3 200.89 ACE04
3 0 0 ACE01
3 1 0 ACE02
3 2 0 ACE03
3 3 0 ACE04
4 0 25.33 ACE01
4 1 25.33 ACE02
4 2 25.33 ACE03
4 3 25.33 ACE04
item 000100200T cause the problem and the rest are not, aside from that, item 000100000P and 000100000T doesn't have any changes with the item cost while 000000200T and 000100200T do have. and all item has history of transaction. and leaving LineNum column as blank doesn't made any effect at all. -
Updating Serial # Location via DTW???
Hi, we recently had to relocate some inventory from one location to another. During initial upload we populated the serial # location during goods receipt. I now need to change that location for about 100 serial numbers. Is there a way to do this via DTW?
Hi Joe........
Location field for Serial or Batch No. details is editable and you can edit it anyhow but only by going through Inventory> Inventiory Management> Serial/Batch Details and which you can not update through DTW.
But SAP allows you to enter the correct location while uploading data through DTW of Marketing docs.
But unfortunately you cannot update the location through DTW where you want to update it. You have to do it one by one manually........
Regards,
Rahul -
Link Goods receipt with PO via DTW
Hi,
I am uploading the goods receipt via DTW, using the Purchase Delivery templates. I need to link the receipt document with the PO. IS there any way to do it?
TKs
AdrianaSuda,
Tks for your quick response. The test box was not checked. I just did it again and the operation was succesfully but I does not update records in inventory, po and goods receipts.
The PO has two items, first items with 7 serial numbers and the second item with 5 serial items. In the serial template I am entering the serial number in Internal serial , the record key and the Base line numbers , 0 and 1
When I did the test was with only one item. Does this make any difference?
Tks
Adriana -
It's not possible upgrade master data via DTW in SBO 2007.
Hi to everybody,
I was trying to upgrade de BP master data via DTW, but its not possible. I cheched the chechbox "Update" but I got an error saying "This entry already exists in the following tables (ODBC - 2035)".
The change I try to do is in the address contact.
Thanks.
Daniel
Edited by: Philip Eller on Jun 20, 2008 10:32 AMHi Daniel Rivas,
Regarding this issue, please kindly check the following
-> Whether there are duplicated records in the import file. If there are two rows for the same name, please remove one of them and this file can then be imported successfully.
-> LineNum should be filled correctly. It should be sequential number which begins from the quantity of existing contact persons. For example if there are 10 contact persons for a specific BP, and you want to add another 10 new contact persons, the LineNumber should start from 10 to 19.
-> In DTW Wizard step 3, select the checkbox 'Add all Items into Schema if can't find corresponding item when updating' under Target Data tab. You can refer to Note 789315 for information on the functionality of this checkbox.
Hope this helps.
Regards, Summer
SAP Business One Forums Team -
How to set default bill to/ship to flag for addresses imported via DTW?
Hi experts,
I'm currently preparing the initial import of Business Partner Master Data but I'm struggeling a bit with the logic behind the dtw templates.
From my perspective the best way should be to import first the Business Partners general information and then import all addresses with the seperate address template. But how is it possible to define the default bill to and ship to addresses in this template!?
As alternative way I thought about importing the default ship to and bill to addresses with the general master data and import all additional addresses with the address template. But the geneal BP template seems lacking some fields like street no for example!? What means these addresses will miss this information.
What is your recommened way in this case?
Thanks in advance for any hints!Hi,
Check SAP notes:
1300954 - How to Update BP Addresses correctly via DTW.
979116 - How to import BP addresses and set the default
Thanks & Regards,
Nagarajan -
Active Items Master via DTW?
Dear Experts,
Anyone know which field should I use to do the Active / Inactive item master data via DTW?
I'm trying Valid(ValidFor) in OITM table and say "Y" or "N" and import via DTW.
It imported succesfully but dit not update in the front end on SAP B1
Thank you.Hi Mickey......
Instead of 'Y' and 'N' use 'tYES' and 'tNO' for ValidFrom and To
and for Inactive use tYES and tNO for Frozen
Regards,
Rahul -
Importação de contas a receber via DTW.
Olá Experts!
É possível importar contas a receber via DTW sem as notas fiscais de saída? Estou tentando importa dados de contas a receber com boletos, mas o DTW apresenta um erro dizendo que não é possível importar sem documentos correspondentes.
Um abraço a todos!Boa tarde.
A importação via dtw tanto contas a pagar como contas a receber é feito utilizando a importação de lançamentos contábeis manual.
No caso do contas a receber, você deverá debitar cliente e creditar saldo inicial de sistema.
Utilizar as planilhas de importação chamadas JournalEntry.
Qualquer coisa me da um toque.
At. Junior - NMS -
Software update check via iTunes with error message (1664).
I had a recent experience with my new Ipad '4'. It is running IOS 6.0.1. When I perform a software update check via iTunes, it returned a message saying that an unknown error had occured (1664). When I connect my iPad 2, and did the same check, it returned the nomal "softawre is current version (IOS 6.0.1)" message. However when I checked the software update via Settings in my Ipad '4'. it returned the msaage "your software is up to date". I had completely rebooted (totally switched off) the Ipad '4' and it still gave me the same message via Itune. not sure what is truly going on here.
The above is from here:
Resolve iOS update and restore errors - Apple Support -
My ipod touch 4g doesn't show option for ios update in setting-general page. Can i update it via itunes by connecting it to computer?
Try:
- iOS: Not responding or does not turn on
When it says place the iPod in recovery mode ue one of these programs:
For PC
RecBoot: Easy Way to Put iPhone into Recovery Mode
If necessary:
Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
For MAC or PC
The Firmware Umbrella - TinyUmbrella
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
Load FIFO Inventory Beginning Balances via DTW
Hello all,
we are trying to load the initial inventory stock of an all FIFO item company in B1 8.8 SP00 PL14 hotfix1.
The OITW StockTaking template does its job via DTW.
But then the Inventory Transactions - Initial Quantities... - Inventory Posting step requires to enter an item price regardless of the price source selection, which seems to defeat the purpose of DTW.
Is this the correct procedure?.
Thanks,
Denes.Workaround:
create a price list to hold the item cost and select option "By price list" in "Price Source for Whse Inv Posting".
The price field in the next window will be filled with the value from the newly defined price list.
Now we can reconcile without entering the item price manually. -
How to import Incoming Payments via DTW
Hello all,
I am importing opening balances for Customers via DTW. My client wants to import all the open Invoices at their original amount, and then import the incoming payments against them to have them net out to the correct remaining balance. I already know how to import the invoices. I'm looking at using the PaymentDrafts template in DTW for the Incoming payments but I could use some guidance. Can anyone provide and example of the data required to both import the incoming payments and apply them to the appropriate AR Invoice?
Thanks,
don shieldshi donald,
Check this link to resolve ur doubts.
Import Incoming Payments with DTW
Import Incoming Payments with DTW
also check this SAP Note
Note 1162513 - How to link an Incoming Payment to an Invoice via the DTW
Jeyakanthan
Edited by: Jeyakanthan A on Apr 30, 2009 10:31 PM -
Function Module to Change / Update BOM Line Items
Hi,
I need a Function Module to Change / Update BOM Line Items.
Please help.
Thanks.Try this FM - CSAP_MAT_BOM_MAINTAIN
-
Import Advance Payments via DTW
Hello Expert,
as written in the object i need to import Advance payments (not against any invoice) via DTW.
Can i import only the template Payments as a stand alone?
the error i get is: no matching records found and here is an example of the template:
RecordKey CardCode TransferAccount TransferSum DocCurrency DocNum DocRate DocType DocDate DueDate HandWritten
0 S000082 100.40.000 492.30 GBP 0.0000 rSupplier 20110218 tYES
1 C000470 100.30.000 247.59 EUR 1.0961 rCustomer 20110218 tYES
Thanks for your help
Edited by: AAM_London on Feb 22, 2011 12:05 PMHi,
It is possible. Are you looking for payment on account . You have to use two templates,
1. Payments
2. Payments accounts
and customer and supplier cannot be imported in one template the Incoming payments for Customer and Outgoign payments for suppliers.
Regards,
Rakesh N
Maybe you are looking for
-
THIS IS MY SITUATION: I WAS SCANNING MY COMPUTER WITH "AVAST" (THE ANTIVIRUS) AND SUDDENLY I RUNNED OUT OF BATTERY...THE MOMENT I TRY TO RESTART, THE FOLLOWING MESSAGE APPEARS: WINDOWS FAILED TO START. A RECENT HARDWARE OR SOFTWARE CHANGE MIGHT BE T
-
Action Links vs. HTML Links - Can you make both open in a new window?
We are creating some reports that and are trying our best to keep them short and to the point. My requirement is that I pull a list of top accounts based on prior year revenue values. That piece is covered. Now that I'm trying to make sure the sales
-
Chinese text while downloading to excel
Hello Everyone, I have one alv report in which text is coming into Chinese language. When i download my alv data to excel, chinese text is getting converted into #### characters. Anyone having idea how to download the chinese text from alv into excel
-
Problem with sound when import from Premiere into After Effects
Hi! I imported a sequence from a Premiere Pro project using File -> Import -> Adobe Premiere Project... The video in the sequence showed up in the After Effects project as a composition. However, the composition did not include the sound from the se
-
Exchange rate from web...
Hi there, I remember once i attended an ORACLE demo on forms9i. They shown that forms9i can ba attached with existing free exchange rate lib. This will allow users to see current exchange rate in the financial market. can some one give me the step an