Definning SPK (30) for BOM item in the tcode cs02
hello,Guru's
i want Tcode or Path
for definning special procurement key
30-subcontracting for
item in the tcode cs02
regards,
mys
Dear ,
Goto OPPQ
1.assign 30 in SP type,
2.procurement type F,
3 Special Procurement :L
4.As BOM Component
Activate Direct Procurement
Now in BOM CS01 or CS02, Sekect the item you are doing Subcotracting and in Basic tabe page u have Special P.Key filed .Aassing 30.
Hope this will work for your requirement.
Reward point if useful.
Regards
Jia
Similar Messages
-
Avoid automatic creation of purchase requisition for bom item N
Dear.
When I create a production order , for the components with bom item N the system create a purchase requisition. I need to avoid this automatic creation , do you know a solution to obtain this ?
Thanks.For the many people that have asked this question.
N item category in the BOM is always going to propose direct procurement. Through configuration I have not found a way to make it go away from the planned order. You can make it go away from the production order.
The IMG path:
Plant Maintenance and Customer Service
-> Maintenance and Service Processing
--> Maintenance and Service Orders
---> Functions and Settings for Order Types
----> Define Change Docs, Collective Purc. Req. Indicator, Operation No. Interval
Under the Res/PurRq -> Specify Never
In order make this setting effective, you must define the following
system message to error or warning, as it is stated on note 569984
Version Appl.A. No. Cat
00000000 C2 280 W
Please note that this setting is effective for reservations and
requisitions.
The best solution is to use BOM item category L with the bulk indicator set. You will not get any direct procurement proposals or planned orders and you can use long term planning to see the time phased MRP results. -
Define Additional Fields for Line Item Display
Dear gurus,
I'd like to ask for your help again, please. I've just added the field BKPF-USNAM to the list of fields of FBL1N using IMG:" Financial Accounting-> Accounts Receivable and Accounts Payable->Vendor Accounts->Line Items-> Display Line Items->Define Additional Fields for Line Item Display". When I run the report the field is correctly displayed but if I save the current layout and set it into the selection screen, the column appears is blank. And if I open the change layout window and click OK the column gets filled.
Is there another transaction that I must set new columns to FBL1N.
Thank you very much.
Paresh Jivani
Edited by: Jivani Paresh on Jul 31, 2009 9:16 AMHii,
When you will execute FBL1N, it will come up in standard format. if you want to see any specific fields,then you have to go to Change Layout button and choose from available fields as per your requirement and then execute.
For future reference, you can save this layout as a Variant and then you can directly execute that report using that variant.
Dhara D. -
Special procurement type for BOM item
Hi Experts
I am creating BOM using BAPI : CAD_CREATE_BOM_WITH_SUB_ITEMS
There is no field to update Special procurement type for BOM item in this BAPI.
Could you please suggest some way to update this.
Thanks in Advancehi Janardhan,
phantom assembly is the assembly which is not kept in stock rather it consumes directly.
Use of phantom assemblies are as below
Phantom assemblies are assemblies that have their own product structure, but whose assembly does not actually physically exist. The components of the phantom assembly are incorporated directly in the superordinate product. The product structure of the superordinate product contains a reference to the phantom assembly.
example - A car with music system.
During backflush, only the goods movement for the phantom assembly components are posted. The phantom assembly is marked as backflushed but does not trigger any goods movement.
Experts pl correct me if i'm wrong.
Regards,
Anil -
Function module for BOM item update
Hi,
Please enlightenn us, which FM is do the update for BOM item datas. ( current FM is updated line item one item then come out and log in again updating another line item , thus cause more error are facing.)
we want a FM to update one time all the line time and come out from the screen.
Thx
SathiyaHI
You Can use function module CSAP_MAT_BOM_MAINTAIN to process simple material BOMs.
To change BOMs, you can also use the following function modules:
CSAP_MAT_BOM_OPEN
CSAP_BOM_ITEM_MAINTAIN
CSAP_MAT_BOM_CLOSE
You can use FM CSAP_ORD_BOM_MAINTAIN to Maintain Order BOM.
With Regards
Naveen -
Batch classification for BOM items
Hi ,
I am developing a conversion program to upload the class and characteristics to a BOM item . The class type is a custom class which needs to be assigned to the BOM item along with the class and characteristics value . Is there any FM/Bapi which can create the classtype for the BOM item and assign the class and values . I have tried with the FM 'BAPI_OBJCL_CREATE' but was not successful. Any help would be highly appreciated .
Sanjeevthis program can create bom succcess.but add stpu(subitem) ,have some problem.
REPORT ZPDM_CREATEBOM .
DATA: i_stko like STKO_API01.
data: T_STPO like table of STPO_API01 WITH HEADER LINE.
data: T_STPU like table of STPU_API01 WITH HEADER LINE.
data: BOM_HEADER like BICSK.
DATA: return TYPE char100,
return2 TYPE char100.
i_stko-BASE_QUAN = 1.
T_STPO-ITEM_CATEG = 'L'.
T_STPO-ITEM_NO = '0010'.
T_STPO-COMPONENT = '52008022702'.
T_STPO-COMP_QTY = '10'.
APPEND T_STPO.
T_STPO-ITEM_CATEG = 'L'.
T_STPO-ITEM_NO = '0020'.
T_STPO-COMPONENT = '52008022701'.
T_STPO-COMP_QTY = '20'.
APPEND T_STPO.
T_STPU-POINTER = 20.
T_STPU-UPOSZ = '0001'.
T_STPU-EBORT = 'A1'.
T_STPU-UPMNG = '10'.
APPEND T_STPU.
T_STPU-POINTER = 20.
T_STPU-UPOSZ = '0002'.
T_STPU-EBORT = 'A2'.
T_STPU-UPMNG = '10'.
APPEND T_STPU.*
CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
EXPORTING
material = 'FERT005'
PLANT = '1000'
bom_usage = '1'
VALID_FROM =
CHANGE_NO = 'ECO200909096'
REVISION_LEVEL =
i_stko = i_stko
FL_NO_CHANGE_DOC = ' '
FL_COMMIT_AND_WAIT = ' '
FL_CAD = ' '
FL_DEFAULT_VALUES = 'X'
IMPORTING
FL_WARNING =
BOM_NO =
TABLES
T_STPO = T_STPO
T_DEP_DATA =
T_DEP_DESCR =
T_DEP_ORDER =
T_DEP_SOURCE =
T_DEP_DOC =
T_LTX_LINE =
T_STPU = T_STPU
EXCEPTIONS
ERROR = 1
OTHERS = 2 -
Hide "more" button in a list view, only works for first item in the list
I have the following code in a list view that outputs several dozen items in a web app. The code only works for the first item, how can I make it loop through and execute the test for each item in the list view? The {tag_hide more button} is a checkmark field that yields a numeric 1" if checked otherwise yields a numeric "0".
<div id="more-option">
<p class="right"><a href="{tag_itemurl_nolink}" class="btn btn-small btn-very-subtle">More →</a></p>
</div>
<div class="more-selection" style="display: none;">{tag_hide more button}</div>
<script>
if ($(".more-selection").text() == "1") {
$("#more-option").hide();
</script>What's the URL for the site where you are using this? Offhand, it looks like it should work with your first example so you are either placing the script before those elements are loaded or you might try wrapping your current javascript inside the:
$(document).ready(function() {
--- your existing javascript here
This make sure the code runs once all the html is loaded on the page. Without seeing a URL and debugging with the js console in Chrome I can't give you a solid answer.
But, I do know that you can probably do this with a lot less markup. Once we figure out what the actual problem is I have a better solution mocked up for you on jsfiddle.
When looking at my HTML code on jsfiddle, please realize I setup some dummy HTML and removed your tags and added actual values which would be output by your tags. The main thing I did was remove the whole div.more-selection and instead, added a "data-is-selected" attribute on your div.more-option element. Then, in my javascript for each div.my-option element on the page, we loop through them, find the value of that data attribute and hide that div if it's less than 1 (or 0).
Here's the fiddle for you to look at: http://jsfiddle.net/thetrickster/Mfmdu/
You'll see in the end result that only two divs show up, both of those divs have data-is-selected="1".
You can try pasting the javascript code near the closing </body> tag on your page and make sure to wrap my js inside a <script> tag, obviously. My way is neater on the markup side. If you can't get it to work it's likely a jquery conflict issue. My version is using the $(document).ready() method to make sure all the code is loaded before it runs.
Best,
Chris -
How to identify BOM items in the report
Hi,
I have a requirement from the user that they want to exclude all BOM items from the report which is showing all the Items.So how can i identify those items from the report query??
ThanksSELECT DISTINCT
DECODE (ooh.flow_status_code,
'PENDING_CUSTOMER_ACCEPTANCE', NULL,
'DRAFT', NULL,
'DRAFT_CUSTOMER_REJECTED', NULL,
'DRAFT_SUBMITTED', NULL,
ooh.order_number)
Ord,
ottt.name ord_type,
ooh.ordered_date Order_Date,
ooh.quote_number quote_no,
ool.line_number LNum,
ooh.flow_status_code Order_status,
-- hca.account_number Customer_number ,
ool.flow_status_code line_status,
PAB.PARTY_NAME bill_Customer_Name,
ACB.ACCOUNT_NUMBER bill_Customer_number,
PAS.PARTY_NAME ship_Customer_name,
ACS.ACCOUNT_NUMBER ship_to_Customer_Number,
ool.unit_selling_price selling_price,
ool.unit_list_price list_price,
ool.ORDERED_ITEM pNum,
ooh.booked_date Date_booked,
ool.Actual_shipment_date Ship_date,
ooh.header_id header_id,
mtl.description pDesc,
gcc.segment4 Revenue_account,
-- ooh.shipping_instructions,
REPLACE (ooh.SHIPPING_INSTRUCTIONS, CHR (10), ',')
shipping_instructions,
ool.schedule_ship_date SSD,
DECODE (ool.flow_status_code,
'BOOKED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_FULFILLMENT', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_RETURN_DISPOSITION', ool.ordered_quantity,
NULL, ool.flow_status_code,
'DRAFT', ool.ordered_quantity,
NULL, ool.flow_status_code,
'ENTERED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_RETURN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_RECEIPT', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SHIPPED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'PENDING_CUSTOMER_ACCEPTANCE', ool.ordered_quantity,
NULL, ool.flow_status_code,
'DRAFT_INTERNAL_REJECTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_SHIPPING', ool.ordered_quantity,
NULL, ool.flow_status_code,
'OFFER_EXPIRED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SUPPLY_ELIGIBLE_I', ool.ordered_quantity,
NULL, ool.flow_status_code,
'XXMI_WAIT_MSA', ool.ordered_quantity,
NULL, ool.flow_status_code,
'EXTERNAL_REQ_REQUESTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'DRAFT_SUBMITTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'LOST', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SUPPLY_ELIGIBLE', ool.ordered_quantity,
NULL, ool.flow_status_code,
'INTERNAL_REQ_OPEN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'INTERNAL_REQ_REQUESTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'EXTERNAL_REQ_OPEN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'PO_OPEN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SUPPLY_ELIGIBLE_E', ool.ordered_quantity,
NULL)
Qty_Remning,
DECODE (ool.flow_status_code,
'CLOSED', (ool.ordered_quantity * ool.unit_selling_price),
NULL)
INV_AMOUNT,
ool.ordered_quantity - NVL (ool.cancelled_quantity, 0) qua_ord,
(NVL (ool.ordered_quantity, 0)) * NVL (ool.unit_selling_price, 0)
Ext_value,
-- DECODE (Hod_def.Name,'Credit Card Auth Failure', 'Y','N',Hod_def.NAME,'Credit Card High Risk', 'Y','N',Hod_def.NAME,'Credit Check Failure', 'Y','N',Hod_def.NAME,'Credit Note Hold','Y', 'N') Credit_Hold ,
ooh.cust_po_number PONUm
FROM apps.oe_order_headers_all ooh,
apps.oe_order_lines_all ool,
apps.mtl_system_items_b mtl,
apps.org_organization_definitions ood,
apps.gl_code_combinations gcc,
AR.HZ_PARTIES PAH,
AR.HZ_CUST_ACCOUNTS ACH,
AR.HZ_CUST_SITE_USES_ALL SUB,
AR.HZ_CUST_ACCT_SITES_ALL STB,
AR.HZ_CUST_ACCOUNTS ACB,
AR.HZ_PARTIES PAB,
AR.HZ_CUST_SITE_USES_ALL SUS,
AR.HZ_CUST_ACCT_SITES_ALL STS,
AR.HZ_CUST_ACCOUNTS ACS,
AR.HZ_PARTIES PAS,
apps.oe_transaction_types_tl ottt,
apps.per_all_people_f papf
-- apps.OE_ORDER_HOLDS_ALL ooha,
-- apps.OE_HOLD_SOURCES_ALL ohsa
-- ,apps.OE_HOLD_DEFINITIONS Hod_def
WHERE ooh.header_id = ool.header_id
AND ool.org_id = NVL (:p_org_id, ool.org_id)
AND ool.flow_status_code != 'CLOSED'
--and ooha.header_id(+) = ooh.header_id
--and ooha.line_id(+) = ool.line_id
--and ohsa.hold_source_id = ooha.hold_source_id
--and ohsa.hold_id = Hod_def.hold_id
--and ohsa.RELEASED_FLAG = 'N'
AND ooh.attribute2 = papf.person_id(+)
AND ottt.language = 'US'
AND ooh.order_type_id = ottt.transaction_type_id(+)
AND ooh.open_flag = 'Y'
--and ooh.order_number = '40000791'
AND ooh.SOLD_TO_ORG_ID = ACH.CUST_ACCOUNT_ID
AND ACH.PARTY_ID = PAH.PARTY_ID
AND oOH.INVOICE_TO_ORG_ID = SUB.SITE_USE_ID(+)
AND SUB.CUST_ACCT_SITE_ID = STB.CUST_ACCT_SITE_ID(+)
AND STB.CUST_ACCOUNT_ID = ACB.CUST_ACCOUNT_ID(+)
AND ACB.PARTY_ID = PAB.PARTY_ID(+)
AND oOH.SHIP_TO_ORG_ID = SUS.SITE_USE_ID
AND SUS.CUST_ACCT_SITE_ID = STS.CUST_ACCT_SITE_ID
AND STS.CUST_ACCOUNT_ID = ACS.CUST_ACCOUNT_ID
AND ACS.PARTY_ID = PAS.PARTY_ID
-- and SOH.CANCELLED_FLAG ='N'
AND ool.inventory_item_id = mtl.inventory_item_id
AND ool.org_id = mtl.organization_id
AND mtl.sales_account = gcc.code_combination_id
AND ool.org_id = ood.organization_id
--and ooh.salesrep_id = jrs.salesrep_id
--&LP_INCL_QUOTES
GROUP BY DECODE (ooh.flow_status_code,
'PENDING_CUSTOMER_ACCEPTANCE', NULL,
'DRAFT', NULL,
'DRAFT_CUSTOMER_REJECTED', NULL,
'DRAFT_SUBMITTED', NULL,
ooh.order_number),
ottt.name,
ooh.ordered_date,
ooh.quote_number,
ool.line_number,
ooh.flow_status_code,
--- hca.account_number ,
ool.flow_status_code,
PAB.PARTY_NAME,
ACB.ACCOUNT_NUMBER,
PAS.PARTY_NAME,
ACS.ACCOUNT_NUMBER,
ool.unit_selling_price,
ool.unit_list_price,
ooh.shipping_instructions,
ool.ORDERED_ITEM,
ooh.booked_date,
ool.Actual_shipment_date,
ooh.header_id,
mtl.description,
gcc.segment4,
ooh.cust_po_number,
(NVL (ool.ordered_quantity, 0)) * NVL (ool.unit_selling_price, 0),
ool.schedule_ship_date,
DECODE (ool.flow_status_code,
'BOOKED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_FULFILLMENT', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_RETURN_DISPOSITION', ool.ordered_quantity,
NULL, ool.flow_status_code,
'DRAFT', ool.ordered_quantity,
NULL, ool.flow_status_code,
'ENTERED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_RETURN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_RECEIPT', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SHIPPED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'PENDING_CUSTOMER_ACCEPTANCE', ool.ordered_quantity,
NULL, ool.flow_status_code,
'DRAFT_INTERNAL_REJECTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'AWAITING_SHIPPING', ool.ordered_quantity,
NULL, ool.flow_status_code,
'OFFER_EXPIRED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SUPPLY_ELIGIBLE_I', ool.ordered_quantity,
NULL, ool.flow_status_code,
'XXMI_WAIT_MSA', ool.ordered_quantity,
NULL, ool.flow_status_code,
'EXTERNAL_REQ_REQUESTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'DRAFT_SUBMITTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'LOST', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SUPPLY_ELIGIBLE', ool.ordered_quantity,
NULL, ool.flow_status_code,
'INTERNAL_REQ_OPEN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'INTERNAL_REQ_REQUESTED', ool.ordered_quantity,
NULL, ool.flow_status_code,
'EXTERNAL_REQ_OPEN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'PO_OPEN', ool.ordered_quantity,
NULL, ool.flow_status_code,
'SUPPLY_ELIGIBLE_E', ool.ordered_quantity,
NULL),
DECODE (ool.flow_status_code,
'CLOSED', (ool.ordered_quantity * ool.unit_selling_price),
NULL),
ool.ordered_quantity - NVL (ool.cancelled_quantity, 0)
-- DECODE (Hod_def.Name,'Credit Card Auth Failure', 'Y','N',Hod_def.NAME,'Credit Card High Risk', 'Y','N',Hod_def.NAME,'Credit Check Failure', 'Y','N',Hod_def.NAME,'Credit Note Hold','Y', 'N')
-- (hz_loc.Address1||','||hz_loc.Address2||','||hz_loc.City||','||hz_loc.State)
HAVING (ool.ordered_quantity - NVL (ool.cancelled_quantity, 0)) >
SUM (NVL (ool.shipped_quantity, 0))
ORDER BY 1, 2, 3; -
Table for Open items of the customer
Hi all ,
In whch table can the open items of the customer are stored.
thankscheck BSID table for open items and BSAD for cleared items
alll the best -
A/R invoice PLD for BOM items need to hide the unit price
Dear All,
Our customer would like to have an A/R invoice like this: if the invoice has any BOM item, the unit price of child items should be hid. That means, I need to determine, if the item is the child of its parent, hide the unit price of it. Is there any way for me to know which item is the child item in A/R invoice PLD? I cannot find a column like status of item in the table that tells me this item is a regular item and that item is the child of an item. Thanks a lot.
Regards,
YukaThanks for your reply. The problem is, an item in the invoice might be the child item or the regular item.
e.g, we have item A and B, they the child item of C. In the invoice, the customer may order 5 item C then add 10 item A as well.
Then the invoice will like this
C 5
A 5
B 5
A 10
Then they would like to hide A 5 B 5 but display A 10 as regular item. -
Defining complex validations for flex items
Hi,
We've defined a flex regions and a number of flex items. We would like to define more complex validation logic at the entity object level, whereby we'd like to reference both 'fixed' entity attribute values as well as values of the flex items.
Could you please indicate how this can be achieved in the validateEntity method of the EntityImpl.java class.
We know beforehand which flex items will be displayed based on the value of one of the fixed entity attributes (e.g. if the attribute request_type='assist' then display flex items A and B, if request_type='info' then display flex items D, E and F). We use flex items because the number of request_types and corresponding 'dynamic' attributes is too large (and subject to frequent additions, deletions or modifications) to incorporate in a fixed static db table structure.
If you can suggest alternatives to using JHeadstart flex items, these are more than welcome, of course.
Many thanks beforehand,
IbrahimDear Steven,
First of all many many thanks for your prompt reply. We can use JSF EL expressions to conditionally render flex items. I'd like to illustrate my question with a simple example:
We have three fixed entity attributes displayed:
RequestType
Birthday
Sex
and two flex items (rendered at runtime for a specific runtime value of RequestType):
Smoker (Y/N)
Weight
Before saving the record I'd like to check a number of validation business rules that depend on the fixed entity attributes as well as the two flex items being displayed.
Consequently, I'd need to be able to access the flex item values provided by the user, inside my validateEntity method (right ?).
I can define simple validations for the flex items, but I can only access the flex item value and possibly the DependsOnItemValue.
PS: When I define a flex item of type 'inputtext' and try to access its value using a bind variable in the validation query of the flex item e.g.
:ItemValue = 'blabla'
Suppose the user fills in the value Abracadabra, the validation logic substitutes as follows:
Abracadabra = 'blabla' (which generates an Oracle error). I'd expect the following substitution to take place:
'Abracadabra' = 'blabla' -
Saving a Template BOM Item using the oInventoryGenEntry object
Hi
I am trying to do a Good Receipt using the DI Object, It always works if the item is not a BOM object but if its a BOM parent I get an error :Item is not set as Inventory Item. The error continues to show me that the problem occurred on an Item that is a child Item of the BOM, This happens especially when the BOM TreeType is Template. According to my understanding, As long as he parent Item of the BOM is set as inventory Item, every item should work fine.
I can't set the child items as Inventory items because they are just components to build the parent Item.
Please help. How can I solve this
Private Function UpdateStock() As Integer
Dim oAdjustmentIn As SAPbobsCOM.Documents
Dim txtItemCode As SAPbouiCOM.EditText
Dim txtStdCost As SAPbouiCOM.EditText
Dim txtSize1 As SAPbouiCOM.EditText
Dim txtSize2 As SAPbouiCOM.EditText
Dim txtExtQty As SAPbouiCOM.EditText
Dim errDescript As String
Dim Result As Integer
Dim CurrentStock As Double
Dim iRow As Integer
Dim tmp As String
Dim i As Integer
Dim StkItem As String
Dim GLAccount As String
Try
oAdjustmentIn = oDICompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
oAdjustmentIn.DocDate = Now
oAdjustmentIn.Reference2 = "2"
oAdjustmentIn.JournalMemo = "Adjustment In"
'oAdjustmentIn.PaymentGroupCode = "1"
oItem = oAdjustmentInForm.Items.Item("13")
oMatrix = oItem.Specific
txtItemCode = oMatrix.Columns.Item("1").Cells.Item.oMatrix.RowCount).Specific
If txtItemCode.Value = "" Then
i = oMatrix.RowCount - 1
Else
i = oMatrix.RowCount
End If
For iRow = 1 To i
DocType = New PGG_IBT(mo_ParentAddon)
txtItemCode = oMatrix.Columns.Item("1").Cells.Item(iRow).Specific
StkItem = txtItemCode.Value
oAdjustmentIn.Lines.ItemCode = StkItem
oAdjustmentIn.Lines.AccountCode = GLAccount
oAdjustmentIn.Lines.Quantity = 2
oAdjustmentIn.Lines.Price = myPrice
If iRow <> i Then
oAdjustmentIn.Lines.Add()
End If
Next
Result = oAdjustmentIn.Add()
If Result <> 0 Then
errDescript = oDICompany.GetLastErrorDescription()
SBO_Application.MessageBox("Error creating interbranch Receive " & errDescript)
End If
UpdateStock = Result
Catch ex As Exception
UpdateStock = -1
SBO_Application.MessageBox("Error in Class PGG_Inventory, function UpdateStock() " & ex.GetBaseException.ToString)
Finally
GC.Collect()
End Try
End FunctionHi Ian
Thanks for the insight, how ever, if I do a Goods Receipt direct in SAP Business One, the Item saves nicely and everything works. It even looks as though the BOM child items are not affeted. But when I use the DI object I then get an error, I don't know what the DI Object is doing different from what SB1 is doing.
There is no doubt in my mind that the Template BOM item can be saved with the Goods Receipt because I am doing it direct in SBO client and it works. I just need to be able to do it via the Di Object
Please help if you can think of another reason why this is happening
Regards
Dumisani -
Unable to create delivery for BOM items not in stock??
Hi Experts,
We have created a sales order with Parent item and its 3 BOM items, with pricing doen at BOM items. Of the three BOM items, stock exists for only 1 item. When we are trying to create the delivery, it is bringing only the stock item in delivery overview and not the items without stock. We would like:
1. System to bring all the items while creating delivery. It may not permit picking and PGI till the stock is brought in system.
2. System to not allow creating delivery till stock exists for all the required items.
For the non-stock items, system is not allowing to carry out the availability check also. It can give a future date and confirm the quantity for future delivery!!
Please provide your expert opinions asap. Points would be awarded to all helpful answers.
Regards,
Peeyoosh.Hi Peeyoosh,
had you a look at the customizing of your item categories for delivery? Did you use the standard item category TAN? Perhaps the customizing of "availabilty check for delivery item" and "Check quantity 0" in your category for delivery will bring you forward.
Regards Thomas -
Document flow for BOM item components missing
Hello,
I would like to seek help on the following:
I am creating a process where in I can create sales order (OR type) with reference from a sales order (like quotation type). I successfully configured the needed and was able to create one.
However, I have noticed that if I used BOM products (where there is a header and item components) and check the document flow per line items, only the header BOM (line item position 10) has document flow reflecting the reference order quotation type while the its components doesnt show such.
Below is an example of the document flow:
Bom Header (line itemk position 10):
Document Quantity Unit Reference value Currency
Buffer Buyin 111111 / 10 1 EA 0.00 USD
--> Product Order 222222 / 10 1 EA 0.00 USD
Line Items Component
(line itemk position 20):
Document Quantity Unit Reference value Currency
--> Product Order 222222 / 20 1 EA 0.00 USD
(line itemk position 30):
Document Quantity Unit Reference value Currency
--> Product Order 222222 / 30 1 EA 0.00 USD
Thus, in above illustration, the line item component document flow has a missing data that would reflect the reference sales order. Please advise if what needs to be configure here.
Thanks,
RiaHello Amit,
The current scenario is like this:
1. Reference sales order (OR but assumed as QT type) has item category YYBS for normal material and ZTAR for header BOM and YYBS as components.
2. When these sales order (OR but assumed as QT type) is being reference to create actual orders to customers (OR type) the normal material will be changed from YYBS to YZBS while BOM will have ZTAR header and components YZBS. This is the reason why I told you that its like the normal material.
I checked the copy control line item settings as yes, document flow is ticked.
Thanks,
Ria -
How to change delivery block for all item in the schedule lines via va32
dear sap expert:
i onle can change delivery block for one sales order item in the schedule line every times via va32,it will take so many time because there are hundreds of item in a sceduling agrrement. how to change all the item one times.
please give me a way to resovle the problem.
best regards.dear:
the fast change function cann't resovle the problem,i first double click the item of schedule agreement ,then select the schedule lines option, finally in the delivery block input the reason of bolck.
best regards.
Maybe you are looking for
-
Adobe Muse page is shifting to the left
Hello, I love Adobe Muse and have been using it for some time now. I HAVE had this problem before but it was due to elements being placed outside of the page area, so of course I investigated that first. Unfortunately, I'm still having that problem a
-
Transfer of Free of cost unit at 10% markup to Main product
Dear Gurus, we are consumer products industry and offer bundle scheme i.e. one unit free on the purcahse of one unit.Let assume our main unit is LCD TV and free of cost unit is BD player. both units have common Division and common profit enter. we of
-
Hi, To build ejb jar files, we can include all beans (including bean class, home, inteface, and other java classes) of the application into one jar file. Or we can make ONE jar file for EACH bean (including only bean class, home and interface. NOT ot
-
Consolidating MacBooks and updating systems. Help?
So, my husband and I decided to move down to one MacBook and instead we purchased an ipad. His MacBook is newer and works much better (early 2008 model). I easily moved my music and documents over to his computer already. I can't move my photos ye
-
my app freezes up after 2 moves withy mouse. can't close it or go to another app. has anyone had this problem. it worked 2 days ago. i'm on cloud and running Yosemite on a mac?