Quantity issue in COWBPACK transaction
Hello All,
I have a problem while posting quantity to be packed in "COWBPACK" transaction. In our system we are giving LB while packing, where as base unit in material master is kg. While converting LB to KG as quantity decimal places are only 3, i am getting an error of 0.001 LB while packing.
Can any one suggest me to avoid this error while posting.
Hello Padmasri,
Thanks for your quick response.
I am not getting an error message over there. When i post quantity 99 LB it is getting posted as 98.999 as the quantity field is taking only three decimal places. the value is getting rounded of. so i am getting an error of 0.001.
Please let me know, if my response is not clear
Thanks,
Rakesh.
Similar Messages
-
Billing quantity issue in case of BAPI_BILLINGDOC_CREATEMULTIPLE
Hello Folks,
We have a ‘z’ transaction where we are using BAPI ‘BAPI_BILLINGDOC_CREATEMULTIPLE’ to create Billing Document. However the billing quantity updated in the billing document is ‘0.00’ in the case of document being created using the ‘z’ transaction whereas the correct quantity is updated from the transaction ‘VF01’.
If I change the configuration in VTFL, of billing quantity from ‘B Delivery quantity less invoiced quantity’ to ‘G Cumulative batch quantity minus invoiced quantity’ then the quantity updated from ‘z’ transaction appears correct while the quantity gets doubled in case of ‘VF01’ ie. quantity is updated in both the batches and invoiced item.
Here is the code snippet I have used in my ‘z’ transaction to create the billing document:
LOOP AT gt_item_inv_coll INTO gs_item_inv_coll.
REFRESH : gt_billing.
CLEAR : gv_line_item. gv_line_item = '0'.
LOOP AT gt_item INTO gs_item WHERE vbeln_del = gs_item_inv_coll-vbeln_del .
* IF GS_ITEM-STO_SO_IND = 'STO'.
gv_line_item = gv_line_item + 10.
gs_billing-ordbilltyp = 'ZSTO'.
gs_billing-ref_doc = gs_item-vbeln_del.
gs_billing-ref_item = gv_line_item. " GS_ITEM-EBELP.
gs_billing-doc_number = gs_item-ebeln.
gs_billing-itm_number = gs_item-ebelp.
gs_billing-ref_doc_ca = 'J'.
gs_billing-material = gs_item-matnr.
gs_billing-plant = gs_item-reswk.
APPEND gs_billing TO gt_billing .
CLEAR gs_billing.
ENDLOOP.
REFRESH : gt_bapiret_bill.
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
TABLES
billingdatain = gt_billing
return = gt_bapiret_bill
success = gt_success.
READ TABLE gt_bapiret_bill INTO gs_bapiret_bill WITH KEY type = 'E'.
IF sy-subrc <> 0.
READ TABLE gt_success INTO gs_success INDEX 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
REFRESH : gt_billing.
LOOP AT gt_item INTO gs_item WHERE vbeln_del = gs_item_inv_coll-vbeln_del .
gs_item-vbeln_bil = gs_success-bill_doc.
MODIFY gt_item FROM gs_item.
* save data to ztable - zmm_weigh_bridge
PERFORM save_data.
READ TABLE gt_item INTO gs_item WITH KEY sel = 'X'.
IF sy-subrc = 0.
MESSAGE s168(ztr) WITH gs_success-bill_doc gs_item-vbeln_del.
ENDIF.
ENDLOOP.
CLEAR gs_item.
ENDIF.
ENDIF.
* ENDIF.
ENDLOOP.
I humbly request you to provide me with possible solution(s).
Thanks & Regards,
ArchieIn customizing of MM-PUR Assign Delivery Type and Checking Rule the document type of the STO is assigned to the delivery document type.
Check if you assigned NLCC or just NL.
NLCC is for cross company while NL is for transfers within one company code. -
Report that shows STO's and quantity issued and opened quantity by document
Dear friends ,
does anyone knows if exist any report in SAP that shows me all STO's and the respective quantity issued by STO ?
We need to analyse all STO's issued since Jan 2008 till now and if possible including Batch information.
best regards,
AleHi,
Try with T.code MB51.
Enter the appropriate movement type and dates, then execute.
Regards, -
Table Name For 'Picked Quantity' Field in VL03 Transaction
Dear All,
I am not able to find out 'Picked Quantity' Field in VL03 Transaction.Can anybody provide me Table name and field name for the same.
Regards,
MayankHi Mayank / Masha.
Your requirement is to find out the picked quantity for the delivery document.
Please note that this value can never be found from any table & what you will find are only structures.
For this you need to use / run a function module to fetch the Picked Quantity
Functional Module: WB2_GET_PICK_QUANTITY
Goto Tcode SE37 & enter the function module.
Further enter the delivery details in the screen
I_VBELN - Delivery Number
I_POSNR - Item Number
And Execute.
E_PIKMG - the picked quantity.
If you require to find picked quantity for any report you can very well ask your ABAPer to include this function module in your program
Hope this solves your requirement
Regards,
Dhananjay -
2 issues with call transaction to LS24
Hello All,
There are 2 issues with call transaction to LS24.
<b>1) It doesn't take batch value and displays stock for all batches.
2) When you go back, it doesn't go back to the calling program.</b>
Any thoughts ?
<u>Here is my code:</u>
PARAMETERS: p_lgnum TYPE lgnum,
p_matnr TYPE matnr,
p_werks TYPE werks_d,
p_lgort TYPE lgort_d,
p_charg TYPE charg_d.
START-OF-SELECTION.
END-OF-SELECTION.
PERFORM display_stock_per_batch.
*& Form DISPLAY_STOCK_PER_BATCH
FORM display_stock_per_batch .
SET PARAMETER ID 'LGN' FIELD p_lgnum.
SET PARAMETER ID 'MAT' FIELD p_matnr.
SET PARAMETER ID 'WRK' FIELD p_werks.
SET PARAMETER ID 'LAG' FIELD p_lgort.
SET PARAMETER ID 'CHA' FIELD p_charg.
CALL TRANSACTION 'LS24' AND SKIP FIRST SCREEN.
ENDFORM. " DISPLAY_STOCK_PER_BATCHhello
use this code
perform bdc_dynpro using 'SAPML01S' '0209'.
perform bdc_field using 'BDC_CURSOR'
'RL01S-CHARG'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RL01S-LGNUM'
p_lgnum.
perform bdc_field using 'RL01S-MATNR'
p_matnr.
perform bdc_field using 'RL01S-WERKS'
p_werks.
perform bdc_field using 'RL01S-LGORT'
p_lgort.
perform bdc_field using 'RL01S-BESTQ'
perform bdc_field using 'RL01S-SOBKZ'
perform bdc_field using 'RL01S-CHARG'
p_charg.
perform bdc_dynpro using 'SAPML01S' '0209'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'BDC_CURSOR'
'RL01S-LGNUM'.
perform bdc_transaction using 'LS24'.
may be it will help u -
Hi. I Have Error : APP-PO-14806 : Lot and/or serial number quantity does not match transaction quantity. when receiving a transaction from a PO
Hi,
This may occur because one of either have happened
1. Lot Quantity is not equal to the quantitiy being delivered.
2. Check if the item has secondary UOM and if it is matching on the lot form.
Regards
Prakash kumar -
Modification quantity default in the transaction CO11N
Dear gurus,
i need to modification the quantity propose in the transaction CO11N.
For example in the production order 1 for the operation 10 the operation quantity is 100 pzp.
When we run CO11N we would like see the propose quantity 200 pzp.
There is the exit for modifcation the operation quantity propose?
Thanks a lot
Daniele Pistilli
PP TEAMDear ,
CO11N will propose the Yeild Qty based on the Production qty at header level either it is original values or changed values based on your requirement .Now if you are changing the opreaiton qty that may be at operation level and compoenet level changes for same Order Qty or more .Accordingly , CO11N will be populated .
However , You can utilise the below user exit for your requirement :
1.PPCO0019 Checks for changes to order operations
2.CONFPI05
3.CONFPP01
4.CONFPM01
Beside that , you can make Qty Propose an editable field as you want to see the Operation Qty as 200 which is more than the orginal one .To set this goto CO86-Select Production Order Confirm Detail Screen -Choose Yelied To Confirm -AFRUD-LMNGA as input field -mark the radio button .
Regards
JH -
Total lot transaction quantity does not match transaction quantity
Hello All,
I have a few transactions that are pending and show the error:
"Total lot transaction quantity does not match transaction quantity".
I see there is a patch 2538686 to fix this but I don't have access to Oracle support. And also I checked the version of inctcm.ppc. It is higher than what is mentioned in the patch readme.
$Header: inctcm.ppc 115.56 2003/04/14 04:19:23 aalex ship $
Is there any workaround to process these transactions?
We are on 11.5.9 (HP Unix) and the rdbms version is 9i.
Thank you all in advance.
A/ACLOSED
-
External Number Range for Handling Unit in COWBPACK Transaction
Dear All,
I need to activate external number range for handling units in COWBPACK transaction.
i have tested but its not possible in standard SAP.
i want to know any USEREXIT or BADI or BAPI for the same, so that we can use external number range for HU in COWBPACK.
with regards
Azeez.MohdHi,
Thry this BADI
BADI_HU_MAIN
BADI_HU_SAVE
Regards
GK. -
Quantity Issue while Reversing a Paid Credit Memo of Vendor Return PO?
Has anyone encountered the following problem when posting & reversing GRIR transactions against a Vendor Return PO'?
We have a Vendor Return PO with a single line item - the return indicator is checked. The PO is issued and released. The GR is entered (mvmt type 161) and then the IR (credit memo) is entered. The user then entered another GR to reverse the transaction (mvmt type 162) and then attempted to reverse the Credit memo by posting an Invoice against it. The way they did it, the invoice added another quantity credit of 100 but posted the $ value (debit) correctly - as this is an invoice and not a credit memo, the quantity that posted should have also been a debit of 100, not a credit.
Has anyone experience this issue? Could the problem be the order in which the document reversals were entered? Instead of entering them in the order that they were originally entered, maybe they needed to reverse the credit memo 1st and then the GR (mvmt type 162)? Could the fact that the transaction occurred last year and we are attempting to correct it this year, make a difference?
Also, we have no idea how to get the quantity to correct.....any help would be appreciated.
Thank you.Anyone to help on this please, thanks in advance.
-
Issue in Material Transaction in WIP
Gratings to Guru's...
I trying to do Material issue for Discrete job components in WIP. but facing an error in MTL_TRANSACTIONS_INTERFACE. below are the error details.
Error Msg : ‘Requirement is this job/schedule's primary assembly’
Error Code : inventory_item_id.
I am using below insert statement.(able to do material transaction through front end also Similar kind of data for other organization is working fine).
insert into mtl_transactions_interface
( source_code,
source_line_id,
source_header_id,
process_flag,
validation_required,
transaction_mode,
lock_flag,
last_update_date,
last_updated_by,
creation_date,
created_by,
inventory_item_id,
organization_id,
transaction_quantity,
primary_quantity,
transaction_uom,
transaction_date,
subinventory_code,
locator_id,
transaction_source_id,
transaction_source_type_id,
transaction_action_id,
transaction_type_id,
transaction_reference,
wip_entity_type,
operation_seq_num,
bom_revision_date,
routing_revision_date,
scheduled_flag,
final_completion_flag,
Flow_schedule,
--revision,
transaction_interface_id
values (
1, --source code
1, -- source line id
-1, -- source header id
1, -- process flag
1, -- validation required
3, -- transaction mode
2, -- lock flag
sysdate, -- last update date
-1, -- last updated by
sysdate, -- creation date
-1, -- created by
62481, -- inventory item id --*
414, -- org id*
-30, -- transaction quantity
-30, -- primary quantity
'EA', -- transaction uom *
sysdate, -- transaction date
'UKDIE', -- subinventory code*
47473, --locator_id *
4368857, -- transaction source id *
5, -- transaction source type id
31, -- transaction action id
35, -- transaction type id
'test', -- transaction reference
1, -- wip entity type
10, -- operation seq num
sysdate, -- bom revision date
sysdate, -- routing revision date
2, -- scheduled flag
'N', --final_completion_flag
'N', -- flow schedule
--'0' , -- Revision
15375520 --interface_id *
delete from mtl_transaction_lots_interface
where TRANSACTION_INTERFACE_ID = 15375519
/*2. Data inserting into mtl_transaction_lots_interface */
insert into mtl_transaction_lots_interface
(TRANSACTION_INTERFACE_ID,
SOURCE_CODE,
SOURCE_LINE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LOT_NUMBER,
TRANSACTION_QUANTITY,
ERROR_CODE,
PROCESS_FLAG)
values(
15375520,--interface_id, *
1, -- Source Code
1, -- Source Line id
sysdate, -- Last update date
-1, -- Last updated by
sysdate, -- Creation Date
-1, -- Created By
'PID0190454', -- Lot number Needs input *
-30, -- Transaction Quantity
NULL,
1 -- Process Flag
Please help me ....
Thanks in advance
BalajiIt seems that 62481 may be the inventory_item_id of the assembly. Make sure you use the inventory_item_id of the component when inserting into mtl_transactions_interface.
Sandeep Gandhi -
Hi sap fans,
I got one issue on mb21 ( material reservation) my client saying that while doing purchase order for every material backend one
reservation number generates automatically this reservation number automatically updates to eket, rseb table
but here my client doing reservation for same purchase order materials using
mb21 transaction in there for all materials only one reservation number will generate.
so did bdc like this fethched ekko,ekpo ,eket ,resb using given ebeln number then passed these matirials to mb21 recorded transaction but the drawback is ebeln,and ebelp fields are not available to store these values in mb21 transaction
so my client gave men another modification is if he change purchase order quantity we have compare the difference of quantity using porder material with mb21 generated reservation then do reservation for that difference quantity only else modify that quantity using mb21 transaction
mb21 generated reservation number we cant get ebeln and ebelp values so how to resolve this issue
Regards
Udaya Bhasker Bandihi This is issue is aswered
-
ISSUE REGARDING ME21N TRANSACTION.
HI,
IN ME21N TRANSACTON, FOR ONE PO NUMBER THERE WILL BE MULTIPLE ITEMS. MY ISSUE IS THOSE MULTIPLE ITEMS WE ENTER SHOULD BE OF THE SAME PLANT. THAT IS, IN FIRST LINE ITEM ,IF WE ENTER PLANT AS 400,THEN FROM THE NEXT LINE ITEM IT SHOULD ALLOW ALL OTHER ROWS RELATED TO THAT 400 ONLY. IF ANY PLANT IS ENTERED OTHER THAN 400 IN SUBSEQUENT ROWS ,THEN IT SHOULD DISPLAY THE ERROR MESSAGE THAT "ONLY 400 PLANT IS ALLOWED BUT NOT OTHERS."
PLZ LET ME KNOW THE RELAVANT USER-EXIT AND THE CODE TO DO THIS .
POINTS WILL BE AWARDED. THIS IS URGENT REQUIRMENT.
PLZ LET ME KNOW AS SOON AS POSSIBLE.
THANKING U IN ADVANCE,
A.SRINIVAS.Hi,
capslock unlocked:
In me21n transacton, for one po number there will be multiple items. My issue is those multiple items we enter should be of the same plant. That is, in first line item ,if we enter plant as 400,then from the next line item it should allow all other rows related to that 400 only. If any plant is entered other than 400 in subsequent rows ,then it should display the error message that "only 400 plant is allowed but not others."
Plz let me know the relavant user-exit and the code to do this .
Points will be awarded. This is urgent requirment.
Plz let me know as soon as possible.
Thanking u in advance,
A.srinivas.
Look you here:
In this step, you develop enhancements for Purchasing.
The following SAP enhancements are available for the Purchasing area:
AMPL0001
User subscreen for additional AMPL data (Manufacturer part number)
LMELA002
Adoption of batch number from shipping notification at time of posting of a goods receipt
LMELA010
Incoming shipping notification: adoption of item data from IDoc
LMEQR001
User exit for source determination
M06B0001
Role determination for release of requisitions
M06B0001
Changes to communication structure for release of requisitions
M06B0003
Number range and document number
M06B0004
Number range and document number
M06B0005
Changes to communication structure for overall release of purchase requisitions
M06E0004
Changes to communication structure for release of purchasing document
M06E0005
Role determination for release of purchasing documents
ME590001
Grouping of requisitions for PO split in transaction ME59
MEETA001
Determination of schedule line type (backlog, immediate requirement, forecast)
MEFLD004
Determination of earliest delivery date for checking at time of goods receipt (PO only)
MELAB001
Generation of forecast delivery schedule: realization via creation profile
MEQUERY1
Enhancement for document overview ME21N / ME51N
MEVME001
Calculation of default GR quantity and over/underdelivery tolerances
MM06E001
User exits for inbound EDI messages and outbound purchasing documents
MM06E003
Number range and document number
<b>MM06E004
Control of import data screens in purchase orders
MM06E005
Customer fields in purchasing documents</b>
MEREQ001
Customer's own data in purhcase requisitions
MM06E007
Change document for requisitions when converting into POs
MM06E008
Monitoring of contract target value in case of release orders
MM06E009
Relevant texts for "Texts exist" indicator
MM06E010
Field selection for vendor address
MM06E011
Activation of requisition block
MM06L001
Exits for determination of ratings in vendor evaluation
MMAL0001
ALE source list distribution: outbound processing
MMAL0002
ALE source list distribution: inbound processing
MMAL0003
ALE purchasing info record distribution: outbound processing
MMAL0004
ALE purchasing info record distribution: inbound processing
MMDA0001
Default values for delivery addresses
MMFAB001
User exit for generation of releases
MRFLB001
Control items during release creation
LWBON001
Enhancement of LIS update through extension of the communication structure MCKONA (business volumes and rebate income)
LWBON003
Change settlement data for end-of-period rebate settlement before creation of settlement documents
LWSUS001
Customer-specific source determination in Retail
Regards,
Clemens -
Delivery Completed Indicator - Open PO Quantity Issue
Hi All,
I have an issue relating to our Open Purchase Order Report. I have some POs which are appearing on the report eventhough they are marked, 'Delivery Complete' ie NOT open. The example of a PO is where the PO Quantity is 100 and the Goods Receipt is 99. The user knows that there will be no further deliveries and therefore marks the PO 'Delivery Complete'
In the Extractor to BI we have extracted this field ELIKZ 'Delivery Completed Indicator'. The structure of our datamodel is
PSA -> DSO (Write Optimised DSO) -> Cube
We calculate the Open PO Qty by taking 'PO Qty' minus 'Goods Receipt Quantity' I have checked the example PO in the cube & DSO. I can see that for the infoobject 'Delivery Complete Indicator' that it has been marked 'X' but only on the records relating to the Goods Receipt for this PO. The original PO record is added to the cube eg on 1st Jan and then the Goods Receipt record, including the delivery complete indicator is added to the cube on 31st Jan, but the original record is not updated by this indicator. Therefore at the moment I cannot use this to filter out records in my query. See below how it looks in the Cube;
Created Date - PO No - PO Line - Del Complete Indicator - PO QTy - Goods Receipt Qty
01.01.2011 123 10 (Blank) 100
31.01.2011 123 10 X 99
What should I do? How have you created this report?
Just to let you know I have already read the post Delivery Completed Indicator(ELIKZ:0COMPL_DEL) in 2LIS_02_SCL
Many thanks for your help,
MichelleHi Kalyan,
Thanks very much for your message,
In my case if the Order Qty is not equal to receipted this does not always mean that it is open. Sometimes the receipted quantity can be over or under (not equal) and the PO can be closed. What do you mean by confirmed quanity? Also, this is a Purchase Order report not a Sales report.
You have said...
"Then I would suggest to still keep the condition on the Net ord qty and Net confirmed qty and exclude the del compl indicator as X and also the status as open "
I don't understand how this will work. My issue is that the indicator is not on all the records of a PO only the receipted records.
Can you help again please?
Many thanks
Michelle -
Authorization issue on SHD0 transaction variant in R/3
Hi,
Can anyone help me on the below issue?
Created a transaction variant ZME31K using SHD0 on R/3 system with the base transaction ME31K.
And created a transaction ZME31K for the above transaction variant.
Created one ID which has access only to transaction ZME31K.
But when tried to create contract using ZME31K, it allows to create the contract, but ended up with message "You are not authorized to use ME31K".
Anyone faced similar issue before? how this can be resolved? As per the busniess requirement, they can provide access only to the transaction variant for the user and they will not be assigned to ME31K.
-Thanks,> We are doing an Upgrade assessment wherein at R/3 side, the system is being upgraded from 4.6 to ECC 6.0.
> I wanted to know the impact the Change in Transactions at R/3 side.. namely transactions..
> AS02, CT02, F-02, F-41, F-49, FB01 would have on BW.
What do you mean? I don't get your question. What impact should those transaction have on BI?
Markus
Maybe you are looking for
-
Iphone 5c will not connect to the internet
My iPhone 5c has completely stopped connecting to the internet. I can get around the problem by doing a hard restart or turning the phone off and on again, but this will only last a couple of minutes and then it won't connect to the internet again. I
-
New install help. Please and thanks!
I'm hoping somebody can tell me what's going wrong with my new install. Here are the details: Win7 pro i7 950 Quadro 4000 (with massive cooling blowing on the thing) mxo2 mini max (because I'm slightly cheap, and yes, I feel a little like a hack plu
-
Convert SAPScript to PDF - sample report needed
Hi Experts, I need a sample report which convert SAPScript form to PDF. I tried several samples in this forum but it did not work. Thanks! - Anthony -
-
How to get latest instance using BO Enerprise SDK?
Post Author: sureshpolishetty CA Forum: .NET How to get the lastest instance of a report stored in crystal enterprise server (XIR2) using BO Enterprise sdk and .NET?. Can anybody help me with the query(using CI_INFOOBJECTS table)? Thanks
-
Which is the difference in use of a preselected or not Mozilla Firefox?
When I try to start Firefox browser a question rise asking if i want Firefox to be my preselected browser. If I say ''No'' the programme keep going on (operates ok.) Then what is the reason of the question?