Incorrect quantity updates of sub-order in collective order
Hi,
We are using Cable solutions ver: 4.6c. When the quantity of the leading order is changed (co02), the sub-order quntities are not changing accordingly. Let me explain you in detail.
Following are the settings in Material Master.
Material BaseUoM AsseblyScrap ProcurementType SpecialProcurement MatType
MAT1 FT 11.5% E - inhouse FERT
MAT2 FT E - inhouse 52 - Collective Order HALB
MAT3 LB F - External 10 - consignment ROH
Following is the BOM structure for Leading Material MAT1 with base qty 1000FT
Component Qty UoM
MAT2 1000 FT
Following is the BOM structure for MAT2 with base qty 1000FT
Component Qty UoM
MAT3 7.280 LB
If I create a production order for MAT1 with qty 1000 - system adds 11.5% scrap and the final qty = 1115 and at the same time it creates a production order for MAt2 with qty 1215 (this is another issue - it suppose to be 1115 but it adds 100 more, dont know why). Now if go to change mode and change the qty for MAT1 to 10000 then the target qty = 11150, but the Qty for for order of MAT2 = 5529 - which is incorrect, it is suppose to be around 11150.
One thing i noticed is - if Assembly scrap for MAT1 is removed in Material master then the Quantity of the MAT2 is updating correctly.
Anyone had this kind of issue before? Please let me know the solution to this problem.
Thanks in advance.
Is any one there who can help me on this problem. I am waiting.....
Thanks in advance
Similar Messages
-
Quantity updates in return order from referenced Invoice
Dear Gurus,
I have set the return sales order creation with the reference of a Invoice document. Therefore when i make the return order i enter the invoice number into the reference and then make the changes with quantity as per the requirement. suppose in invoice I have 5 quantity and in the return order I make it 2 so return of 2 will take place, then i will do PGR for quantity 2 with the reference of return order and then the credit for return upto this its working fine. But now if I want make the second return order with reference of same Invoice system will give me pop up saying that the return anf credit of quantity 2 has already done for so and so item. Then if I enter in the return sales order in the order quantity I should see 3 quantity only as the return and credit of 2 quantity already took place but here the quantity in sales order is not getting change and it is appearing 5.
I dont know where the mistake? I check the copy control also for ZTAN (invoice) to ZREN (Return) it is as follows.
Copying Reqt - 303
DataT - 153
DataT - 104
DataT - 004
Pricing type - D
Update Doc Flow - X
and remaining all fields are blank
Copy Control at header level ZIF2 to ZIRE
Copying Reqt - 021
DataT - 052
DataT - 103
DataT - 003
Copy Item Number - Checked
Complete reference - Unchecked
Please help me how this quantity update will happen automatically?
Regards,
SanjayHello Dear Sanjay;
I completely understand your requirement, but this is how the SAP system works. I had already this needs and actually the system doesn't have control like this. Is this a bug ? Maybe....
We were forced to development a Z program or new routine to treat this control.
The system send a simple message including quantities, but internally the function module allow to do a return orders, for instance, how many times as you want.....
I hope you can understand the limitation.
Regards
Ruy Castro -
Quantity update into sales order using BAPI_SALESORDER_CREATEFROMDAT2
Hi All,
I am able to create a sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT2".
But even after assinging the Target_quntity and the Target_quantity_units, the values are not getting updated into the Sales order, but the sales order gets created .
Did anyone of you had a similare problem, how was it solved.
cold some one please help me out on this.
RegardsHi
I had used below code (using <b>BAPI_SALESORDER_CREATEFROMDAT1</b>)..but never faced any problem.. you can try the same...
Regards,
Raj
REPORT z_sd_salesorder_create
NO STANDARD PAGE HEADING
LINE-SIZE 150
MESSAGE-ID zz.
S T R U C T U R E D E C L A R A T I O N S *
TYPES: BEGIN OF x_ppl,
ppl_order(18), " ppl Orderno
auart(4), " Sales Doc Type
vkorg(4), " Sales Organization
vtweg(2), " Distribution Channel
spart(2), " Division
div(3), " Division
kunnr(10), " Sold-to Party
date(10), " Doc Dt
matnr(18), " Item Matnr#
uom(3), " UOM
qty(15), " Qty
kschl(4), " Pricing condiiton type
kbetr(11), " Rate
END OF x_ppl.
TYPES: BEGIN OF x_file,
loc(30), " Location
div(3), " Division
ppl_order(18), " ppl Orderno
kunnr(10), " Sold-to Party
date(10), " Doc Dt
matnr(20), " Item Matnr#
qty(15), " Qty
uom(3), " UOM
kbetr(11), " Rate
discount(5), " Discount
END OF x_file.
TYPES: BEGIN OF x_output,
ppl_order(18), " ppl Orderno
mesg(130), " Mesg Success/Error
END OF x_output.
TYPES: BEGIN OF x_werks,
name2(30), " Location
werks TYPE werks_ext, " Plant
END OF x_werks.
TYPES: BEGIN OF x_info,
vkorg TYPE vkorg , " Sales org
vtweg TYPE vtweg, " Dist channel
werks TYPE werks_ext," Plant
spart TYPE spart, " Storage Loc
END OF x_info.
TYPES: BEGIN OF x_material,
ppl_prdid(20), " ppl Prd id
matnr TYPE matnr, " Material (SAP)
END OF x_material.
I N T E R N A L T A B L E D E C L A R A T I O N S *
DATA: it_file TYPE STANDARD TABLE OF x_file WITH HEADER LINE." File Data
DATA: it_data TYPE STANDARD TABLE OF x_ppl WITH HEADER LINE." ppl File
DATA: it_out TYPE STANDARD TABLE OF x_output WITH HEADER LINE. " Outcome
DATA: it_werks TYPE STANDARD TABLE OF x_werks WITH HEADER LINE. " Plant
DATA: it_info TYPE STANDARD TABLE OF x_info WITH HEADER LINE. " Othr Info
DATA: it_matnr TYPE STANDARD TABLE OF x_material WITH HEADER LINE. " Material Info
DATA: it_item TYPE STANDARD TABLE OF bapiitemin WITH HEADER LINE. "Order Itm data
DATA: it_partner TYPE STANDARD TABLE OF bapipartnr WITH HEADER LINE. "Order Partner data
V A R I A B L E S D E C L A R A T I O N S *
DATA : v_correct TYPE i,
v_error TYPE i,
v_total TYPE i,
v_return LIKE bapireturn1,
v_index LIKE sy-tabix.
*- Return values
DATA: it_orderh TYPE bapisdhead, "Order Hdr data
order TYPE bapivbeln-vbeln,
soldto TYPE bapisoldto,
shipto TYPE bapishipto,
return TYPE bapireturn1.
DATA: hdate TYPE sy-datum.
U S E R I N P U T S S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
PARAMETERS: p_file TYPE rlgrap-filename OBLIGATORY. " File name
SELECTION-SCREEN END OF BLOCK blk01.
S E L E C T I O N S C R E E N *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
PERFORM get_file.
S t a r t o f S e l e c t i o n *
START-OF-SELECTION.
PERFORM get_upload.
PERFORM validate_data. " Validate the data
PERFORM data_swap. " Prepare the data for processing
IF NOT it_data[] IS INITIAL.
PERFORM get_update. " Create SalesOrders
ELSE.
MESSAGE i001(zz) WITH text-001.
STOP.
ENDIF.
E n d o f S e l e c t i o n *
END-OF-SELECTION.
IF NOT it_data[] IS INITIAL.
PERFORM get_write.
ENDIF.
*& Form get_file
Get File name
FORM get_file .
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
program_name = syst-repid
mask = '*'
CHANGING
file_name = p_file
EXCEPTIONS
mask_too_long = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " get_file
*& Form get_upload
to upload the file
FORM get_upload .
DATA l_file TYPE string.
CLEAR: it_file, it_file[].
l_file = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = it_file
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSEIF sy-subrc = 0.
SORT it_file BY loc ppl_order.
ENDIF.
ENDFORM. " get_upload
*& Form get_update
Creating mapping Data in Z table
FORM get_update .
DATA: l_itemno(2) TYPE n,
l_partner TYPE parvw,
l_kunnr TYPE kunnr,
l_matnr TYPE matnr,
l_mesg TYPE string,
l_kbetr TYPE p DECIMALS 2.
DATA: l_in_qty LIKE vbap-zmeng,
l_meins LIKE mara-meins,
l_qty LIKE vbap-zmeng.
CLEAR: v_correct, v_error, v_total.
SORT it_data BY ppl_order.
LOOP AT it_data.
CLEAR v_index.
v_index = sy-tabix.
*- New SalesOrder
AT NEW ppl_order.
READ TABLE it_data INDEX v_index.
CLEAR: it_orderh, it_item, it_partner,
order, soldto, shipto, return,
it_item[], it_partner[].
v_total = v_total + 1. "Increment Total SalesOrders counter
CLEAR l_itemno.
l_itemno = '10'.
*- Covert date fields into Internal format
CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'
EXPORTING
datum = it_data-date
dtype = 'DATS'
IMPORTING
idate = it_data-date.
*- Populate SalesOrder header data.
CALL FUNCTION 'CONVERSION_EXIT_AUART_INPUT'
EXPORTING
input = it_data-auart
IMPORTING
output = it_data-auart.
it_orderh-doc_type = it_data-auart.
it_orderh-sales_org = it_data-vkorg.
it_orderh-distr_chan = it_data-vtweg.
it_orderh-division = it_data-spart.
it_orderh-purch_no = 'DEPOT'.
it_orderh-price_date = it_data-date. "Doc Dt
it_orderh-req_date_h = it_data-date. "Del.Dt
it_orderh-purch_no_s = it_data-ppl_order.
*- Partner data
CLEAR: l_partner, l_kunnr.
*- Convert Partner type into internal format
l_partner = 'SP'. "SoldTo Party
CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'
EXPORTING
input = l_partner
IMPORTING
output = l_partner.
*- Convert Customer into internal format
l_kunnr = it_data-kunnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_kunnr
IMPORTING
output = l_kunnr.
it_partner-partn_role = l_partner.
it_partner-partn_numb = l_kunnr.
APPEND it_partner.
CLEAR it_partner.
ENDAT.
*- Item data
it_item-itm_number = l_itemno.
*- Convert material number into internal format
CLEAR l_matnr.
l_matnr = it_data-matnr.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
input = l_matnr
IMPORTING
output = l_matnr
EXCEPTIONS
length_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
it_item-material = l_matnr.
*- Call FM to get new qty based on SAP UOM
CLEAR: l_meins, l_qty, l_in_qty.
l_in_qty = it_data-qty.
CALL FUNCTION 'Z_GET_QTY_FROM_UOM'
EXPORTING
matnr = it_item-material
in_meins = it_data-uom
in_qty = l_in_qty
IMPORTING
out_meins = l_meins
quantity = l_qty.
IF sy-subrc = 0.
it_data-qty = l_qty.
it_data-uom = l_meins.
ENDIF.
it_data-qty = it_data-qty * 1000.
it_item-req_qty = it_data-qty.
it_item-sales_unit = it_data-uom.
it_item-req_date = it_data-date.
*- Pricing data
it_item-cond_type = it_data-kschl. "Pricing condition
CLEAR l_kbetr.
l_kbetr = it_data-kbetr / 10. "Price (Rate)
it_item-cond_value = l_kbetr.
APPEND it_item.
CLEAR it_item.
*- Increment Item counter.
l_itemno = l_itemno + 10.
*- At end of SalesOrder
AT END OF ppl_order.
READ TABLE it_data INDEX v_index.
*- Call the BAPI for SalesOrder creation
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
order_header_in = it_orderh
IMPORTING
salesdocument = order
sold_to_party = soldto
ship_to_party = shipto
return = return
TABLES
order_items_in = it_item
order_partners = it_partner.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
v_return = return+0(1).
IF v_return = 'E'.
v_error = v_error + 1.
CLEAR l_mesg.
l_mesg = return.
CONDENSE l_mesg.
ELSE.
v_correct = v_correct + 1.
CLEAR l_mesg.
CONCATENATE 'Salesorder'(007) order 'successfully created.'(008)
INTO l_mesg SEPARATED BY space.
CONDENSE l_mesg.
ENDIF.
*- Populate the output table
CLEAR it_out.
it_out-ppl_order = it_data-ppl_order.
it_out-mesg = l_mesg.
APPEND it_out.
CLEAR it_out.
ENDAT.
ENDLOOP.
ENDFORM. " get_update
*& Form get_write
Write the results
FORM get_write .
WRITE:/ 'Total Number of Records :'(002), v_total COLOR 1.
WRITE:/ 'Total Correct Records :'(003), v_correct COLOR 3.
WRITE:/ 'Total Error Records :'(004), v_error COLOR 6.
SKIP 3.
IF NOT it_out[] IS INITIAL.
WRITE:/5 'ppl Order #'(005),
28 'Message'(006).
ENDIF.
SKIP 1.
LOOP AT it_out.
WRITE:/5 it_out-ppl_order,
28 it_out-mesg.
ENDLOOP.
ENDFORM. " get_write
*& Form validate_data
Validate the data
FORM validate_data .
DATA: l_bstkde TYPE bstkd_e.
LOOP AT it_file.
SELECT bstkd_e INTO l_bstkde
UP TO 1 ROWS
FROM vbkd
WHERE bstkd_e = it_file-ppl_order.
ENDSELECT.
IF sy-subrc = 0. " This ppl Order is already been created in SAP, so delete record
DELETE it_file.
ENDIF.
ENDLOOP.
SORT it_file BY ppl_order.
ENDFORM. " validate_data
*& Form data_swap
Prepare the data for processing
FORM data_swap .
CLEAR: it_werks, it_info, it_matnr, it_data,
it_werks[], it_info[], it_matnr[], it_data[].
IF NOT it_file[] IS INITIAL.
*- Get the plant from location
SELECT name2
werks
INTO CORRESPONDING FIELDS OF TABLE it_werks
FROM t001w FOR ALL ENTRIES IN it_file
WHERE name2 = it_file-loc.
IF sy-subrc = 0.
SORT it_werks BY name2 werks.
*- Get the Sales Org, Division and Distribution Channel
IF NOT it_werks[] IS INITIAL.
SELECT vkorg
vtweg
werks
INTO CORRESPONDING FIELDS OF TABLE it_info
FROM tvkwz FOR ALL ENTRIES IN it_werks
WHERE werks = it_werks-werks.
IF sy-subrc = 0.
LOOP AT it_info.
it_info-spart = '99'.
MODIFY it_info INDEX sy-tabix.
ENDLOOP.
SORT it_info BY vkorg vtweg werks.
ENDIF.
ENDIF.
ENDIF.
*- Get material from ppl material
SELECT ppl_prdid
matnr
FROM zppl_master
INTO TABLE it_matnr FOR ALL ENTRIES IN it_file
WHERE ppl_prdid = it_file-matnr.
IF sy-subrc = 0.
SORT it_matnr BY ppl_prdid matnr.
ENDIF.
ENDIF.
*- Update the data in it_data
LOOP AT it_file.
CLEAR it_data.
it_data-auart = 'OR'.
it_data-auart = 'OR'. " CHANGED BY Jo ON 3103005
READ TABLE it_werks WITH KEY name2 = it_file-loc BINARY SEARCH.
IF sy-subrc = 0.
READ TABLE it_info WITH KEY werks = it_werks-werks BINARY SEARCH.
IF sy-subrc = 0.
it_data-vkorg = it_info-vkorg.
it_data-vtweg = it_info-vtweg.
ENDIF.
ENDIF.
*- Material
READ TABLE it_matnr WITH KEY ppl_prdid = it_file-matnr BINARY SEARCH.
IF sy-subrc = 0.
it_data-matnr = it_matnr-matnr.
ENDIF.
it_data-ppl_order = it_file-ppl_order.
it_data-date = it_file-date.
CONCATENATE it_file-kunnr it_file-loc+1(2) INTO it_data-kunnr.
it_data-qty = it_file-qty.
it_data-uom = it_file-uom.
it_data-kbetr = it_file-kbetr.
*- Pricing condition
it_data-kschl = 'PR00'.
CASE it_file-div.
WHEN 'BRN'.
it_data-div = '04'.
WHEN 'GEN'.
it_data-div = '03'.
WHEN 'IVF'.
it_data-div = '02'.
WHEN 'OPH'.
it_data-div = '01'.
ENDCASE.
it_data-spart = it_data-div.
APPEND it_data.
CLEAR it_data.
ENDLOOP.
ENDFORM. " data_swap -
Third Party Sales Incorrect Status Update at the order level
Hi,
We follow a third party sales in our system
Sales order > PR> PO> MIGO>MIRO>VF03
Howeevr, the status of the sales order is being processed.
The quantity is same, item relevance for delivery is unchecked at schedule line and item category.
Our users want the invoice to be genereated after the MIGO, so at the item category level bliing relevance is G, and at VTFA billing quantity is E.
It is working if the biling relevance is maintained as f, the status shows completed but i want this for G
Over all status is being in processed and order related billing at item level is partially invoiced.
Please help
Many thanks,
Shashidhar ReddyHi Santosh,
Thanks for clearing it out.
I did not understand what do you mean when u say"MIRO" process, write now our business requires the customer invoice to be created after the MIGO is done for PO, for which we have put billing relevance as G.
The problem now is, since the relevance is G which is order related billingof deliveyr quantity, even though the invice is completd and the accoounting document is cleared the ordder status still shows "being processed"
You have already mentioned it very clearly that this can be changed it using the user exit, but i just wanted to confirm that again.
Sincere thanks for taking time out for this.
Thank You
Shashidhar Reddy -
Collective Order good moviement 101 - 261 ( sub - order )
Dear gurus,
i inserted in the HALB component the special procurement (52) and the Type procurement = E
I created a production order for the Material Fert and the system create a collective order .
Order 0001 for the FERT material and the order 0002 for the HALB material.
When we confim the order 0002 the system don't create a good moviment 101 for the HALB component and the MD04 don't exist . In the production order 0002 the issue quantity is 5 pz but we don't see the stock in the MD04.
I need to have the moviment 101 for the sub order .
How i can have this situation of good moviment ? You can tell me the example of movimentation for the collective order ?
Where we can find the information of this collective order ?
Thanks a lot
Daniele Pistilli
PP TEAMDear,
Within a collective order stock movements only take place for the leading order (that is, the order that is at the highest production level) and not for directly produced components. This makes it easier to maintain the collective order in comparison with several individual orders. A further advantage is a more realistic representation of the costs of the production process, since subordinate orders can be directly assigned and settled to superior orders
Hope this will help you.
Regards,
Pavan -
Sales Order Material Determination Cannot Change Quantity of the Sub-item
Hi SAP Guru's,
Has anyone encountered this scenario?
1. Created a standard order with an item as material substitution
2. Created a pro-forma invoice referencing the sales order created
3. Went into VA02 to change the item quantity of the higher level item in the material substitution
Expectation is that once you change the quantity of the higher level item, the quantity of the sub-item should also reflect whatever is in the quantity of the higher level item.
Actual Result is that only the higher level item quantity is changed, the sub item quantity remained the same.
Is there any configuration or copy control that we can check regarding this?Hi Maurice,
Apologies! The qty of the sub item should change when you change it in VA02 even after proforma is created.
Could you pls check the item categories TAX and TAPS config i.e. the material entered should get item category TAX and the sub item should have TAPS or the item categories should have same configuration as TAX and TAPS.
Please check.
Regards,
Raghu. -
IW36 bdc is not updating CU tab for sub order
Hello Everyone,
I am facing one strange problem.
I am creating a Main work order using IW31 bdc and in the same program i run the IW36 bdc for sub order creation for the main WO created. In this case when I create a Main WO, CU tab gets updated with a default row.
When I keep the mode 'A' and check the BDC of IW36 it takes me to the CU tab sceen and updates the row same as in Main WO. and it creates the Sub Order.
But when I check the Sub Order using IW32 tcode, I dont find the updated row in CU tab .. rather I find it blank.
Please help me to find out why its happening and what should be the soultion..
Regards,
Pranil Shinde.Hi Prabhu,
I didn't understand the meaning of analyzing the Pricing Procedure ?
In V/08, I have selected the Z condition type created in the system and than selecting that, navigated to CONTROL folder.
Now in front of the Z condition type in CALCULATION TYPE field the number of the routine is given (Which is created using VOFM).
Now what else I need to do?
Repy@Madhu.
Yes Madhu. Routine is activated and control is stopping if break point given in the routine. In this routine I am trying to populate a value in its XKOMV internal table's KBETR field but when VA01's main CONDITIONS TABS screen comes the value is not appearing. -
Automatic Sub Order confirmation in Collective Order
Hello, I am using collective order, and have the 'HEADER' order and all child orders released. Our requirement is that once the Main Header order is reported confirmed, ALL child production orders should be auto confirmed as well. (we could have MANY child orders under the header order). I tried using the OPKI setting for collective entry to 'Order Header' but it is greyed out in the change mode during config. Any thoughts will be much appreciated.
If you're doing the confirmation of parent order (leading order) at header level (meaning you use CO15) then you can only confirm that particular order and not any child order. If you want the child orders to be confirmed also after completely confirming you'd have to change the control key of last operation of routing in leading material as milestone and use CO11 or CO11N and just confirm the last operation, it will automatically confirm all the operations in the leading order and all the sub orders (child orders). I don't think your OPKI setting will solve the issue.
Production orders that belong to collective orders are generally confirmed like normal production orders. However, you should note the following:
When you carry out a confirmation at header or suboperation level, you can only confirm the order concerned.
When you confirm at operation level, you can confirm operations for all orders as long as you work with milestone operations or progress confirmations.
When there is a confirmation in the collective order, the system sets the status CFCO (release occurred in network) at the header level of the leading order in the collective order.
If you want to read more than what I mentioned, you go to this link -
Update the material quantity in the sales order using LSMW...
Hi Guru's,
I created one sales order using BAPI..now i wanted update the material quantity in the sales order using LSMW...
could you please provide the step by step process....
if anyone of you provide the program logic similar to requirement that would be helpfull to me...
thanks in advance
Srinivas....Hi Sri,
Hope it may help you.
First do the recording for VA02 transaction, in that give the existing sales order number
and update the Quantity and save it. Remaining steps are same what we used(LSMW) to upload data to applications.
Regards,
Vishvesh
if helpful, rewards it. -
Update the sales order ( Quantity ).
Hi Experts,
I am using BAPI_SALESORDER_CHANGE. I want to change only Quantity of a sales order for that I pass it in ITEM Table and set the flag for these values in ITEMX table.
After executing BAPI it runs Successfully so I commit it by using BAPI_TRANSACTION_COMMIT.
Now my query is after commited BAPI it does not update the related sales order in database.
Why is it occurs meantime it is possible manually by VA02.
Suggess what to do to solve this?
Points will be sured for helpful answers.
Thanks & regards
Alok VishnoiHi Alok,
If you want to change the quantity in a sales order item using BAPI_SALESORDER_CHANGE you have to pass the new quantity in the Schedule Lines (SCHEDULE_LINES) table to the BAPI_SALESORDER_CHANGE. Then only the new quantity gets reflected at the item level.
If u just change the quantity at the Item level it will not get effected.
I hope it is useful. Please let me know if u need any information.
Regards,
Suresh Linga. -
Sales order schedule line quantity update
Hi
I'd like to know if there is a FM to update the Sales order schedule line quantities.
In particular, the fields in VBEP: WMENG, BMENG, LMENG, CMENG.
Thanks.Hi Lily,
Can you please tell us how you updated BMENG using the BAPI BAPI_SALESORDER_CHANGE?
Thanks,
Vitz. -
Report to update diff in order qty n MIGO qty
Hello Gurus,
Differences in Goods Receipt and original Order qty
Do you know teh SAP standard Report for this ?????
If the goods receipt (GR) quantity is different from original order quantity, there is a program in place which checks the GR quantity against the purchase order quantity and updates that to updated the confirmed quantity on sales order. This ensures correct quantity to be copied to delivery. The same program also updates sales order quantity in order to close the purchase requisition which is reopened when changing purchase order quantity. All this happens in the background but is important to realize
ThanksHi;
i don't know if there is a std. report, but you can get this info from the table EKKN. this table would tell you the stock made agianst a SO.
Regards,
Mani -
Quantity reconcilation of sub-contracting challan error
Hi Experts,
I am facing problem while doing Quantity reconcilation of sub-contracting challan.
Challan material is different from material document
Message no. 8I572
Thanks in advancehi..
please go to spro>log general>tax on goods movement>india>business transaction>subcontracting>maintain movment type group
and maintain as given
0001 102
0001 122
0001 541
0001 544 O
0002 542
0002 543 O
and
Also This can be solved as under. ( check for following also)
You will have to activate PO number as a required field for 541 mvmt.
Materials Management -> Inventory Management and Physical Inventory ->
Goods Issue / Transfer Postings -> Define Screen Layout.
For movement type 541 the purchase order field has to be maintained as
an optional entry or as a required entry here. (under normal condition it will be suppressed)
This has not been done, otherwise the error message would appear as the mseg-ebeln would not hold the PO number.
After doing this carryout a new cycle. you will not get any error.
Edited by: Kedar Kulkarni on Nov 12, 2009 6:06 PM -
Prevent quantity updating during Goods Receipt
Hi,
We have a particular requirement for a type of subcontracting process (not the standard SAP subcontracting) as mentioned below.
We create a Purchase Order for a material (without a standard cost) and giving an account assignment category in the PO. The Net price mentioned in the PO is the processing charges for the vendor (service charges). It does not indicate price for the material.
When we receive the finished material from the vendor, we perform a Goods receipt. The stock gets updated and accounting documents are created.
Our requirement is to stop this quantity updating during Goods Receipt. But, at the same time, we would like the accounting documents to be created as we need to pay the vendor.
Is there any way of achieving this?
Pl let me know. Any inputs would be appreciated.Hi,
Thanks for the response!
I understand that in the standard process, the parent item inforecord takes care of the processing charges. But this is process that has been customized differently as the client has SAP as well as legacy systems talking to each other.
Turning off the qty updating at the material type level will turn it off for all purchase orders created for the material at that particular plant which is something we would like to avoid.
We would basically like to turn it off for particular purchase order type. The reason for turning it off is that after the GR is done, there is a separate process that comes from the legacy system and updates the same quantity of finished product and also posts the consumption of components.
So, our basic requirement is , is it possible to turn off qty updating for the GR of a particular purchase order document type and yet create accounting document. Material is not a valuated material and has a standard cost zero.
Any inputs in this regard will be helpful.
Regards -
Inbound delivery putaway quantity update
Dear experts
It is regarding the putaway quantity update in inbound delivery with WM transfer order.
I found the putaway quantity updated immediately once TO created.
I have confusion that the putaway quantity should be updated once TO confirmed not created.
Could you please let me know your comment? thanks!
ZhixianThat is standard SAP behavior however at the time of PGR system check the whether delivery quantity is matching with putaway qty or not, if it match then only it allows to perform PGR
also one more setting is helpful in this regard (this help to update the quantity in delivery)
LE ----WM---Interface---Shipping ---Define Shipping Control at the Movement Type Level
Maybe you are looking for
-
Display amount in ALV Grid with different Decimal Places based on Currency
HI Experts, Working with ALV Report i have one Amount field NETWR which is having Length 15 and Decimal Places 2. we have two different types of currency's AED and KWD and AED having 2 decimal Places and KWD having 3 decimal places. im using FM: REUS
-
Very urgent:about deployment kit or executable option
hay programmers i have a very urgent problem i want to make my developer project as executable is this possible the next thing is that is there any deployment kit available for developer 6i so that it will automatically install the application as wel
-
Please help this dummy...How this program works??
Hi, I am new in Java...I just bought a book and start to learn the java from that book. Here is one of the project exercise and seems that it is difficult for me to understand the flow of the program. class HelpClassDemo { public static void main(Str
-
Hi Team, Scenario: A custom Bdoc is created for replication of Business transaction from CRM to R3 (only 1 way). This is working fine. But when we check transaction SMW01 ( or Bdoc header tables), there is no queue name created. If we take a similar
-
Applet not running in 1.6
I originally compiled an applet to 1.5 and it worked the way I wanted. Then I uninstalled 1.5 and installed 1.6, recompiling the applet. It no longer works. What do I need to do to get the applet working in 1.6?