ABAP program for units of measurement transfer
Is there any ABAP program that will transfer units of measurement from R/3 to BW (like RSA1>source sytems>right click on client>transfer global settings)?
I need it for scheduling this operation.
Thanks in advance.
Hello Andrew Timoshenko,
How r u ?
I believe if u Switch On "Dubug ABAP" option and do the same u have mentioned u might get the ABAP Program behind that operation
Best Regards....
Sankar Kumar
+91 98403 47141
Similar Messages
-
Hi,
How to assign a value for Unit of measure (like PC, KG...) in ABAP program?
I want to assign PC in a field to execute the program, like wa-ENTRY_UOM = 'pc'.
But the system returen a message that "Unit of measure is not convertible to stockkeeping unit PC"
Could anyone tell me how to assign the value??
Thanks!hi,
first convert the quantity in the same unit ( like in you case ST to PC ) by using FM : MD_CONVERT_MATERIAL_UNIT
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
i_matnr = matnr
i_in_me = entry_uom
i_out_me = out_uom
i_menge = quantity
IMPORTING
E_MENGE = fp_l_v_quant
EXCEPTIONS
ERROR_IN_APPLICATION = 1
ERROR = 2
OTHERS = 3.
IF sy-subrc <> 0.
give error message here
ENDIF.
bcoz in ur program somewhere the quantities etc are compared and there units may be different... so that is why it is showing such error. so just convert convert the quantity in the same unit .
regards
rahul
Edited by: RAHUL SHARMA on Jun 17, 2009 9:31 AM -
Valuation of characteristics for unit of measure "" causes rounding diff
Dear gurus,
I am facing a problem on Goods Issue and Transfer Posting. My Material is maintained with Batch Specific Unit of Measure.
Base Unit = Kg ,and Batch specific unit of Measure = BAL(Bales).
My unit of Issue = BAL. For every bale at the the time of GR, i m storing the wieght of the Bales in the system. Now at the time of Issue and transfer posting, system is giving the following error message:
"Valuation of characteristic for unit of measure BAL causes rounding diff"
In unit = KG, Decimal places = 7, Decimal places rounding = 7
In Unit = BAL, decimal places = 3, Decimal places rounding = 3.
Kindly help me guys...
ThanksDear Johi,
See SAP NOTE 147489 - Error XU033 in goods movement with active ingredient. If you doesn't need to check rounding errors:
"For this use the following path: Logistics -> General -> Batch Management -> Define System Message Attributes (Transaction OCHS)."
Edit the system message XU03 to no errors.
Regards -
ABAP program for BAPI and convert DB into XML
ABAP program for BAPI and convert DB into XML
Thank you,
Regards,
Jagrut BharatKumar ShuklaRefer the link -
give an example of bapi coding?
how can we transfer huge amount of data from database server to xml format
Regards,
Amit
Reward all helpful replies. -
Conversion fator for Unit of Measure in BI 7.0
Hi Experts,
Cud you pls tell me how Unit of measure conversion works in BI 7.0. I am getting dialog box of UOM conversion in the properties of BEX but not able to convert Conversion for Unit of measure?
Thanks in advance!
SapnaHi,
Better define Units of measure in that KF.
Hope it helps.
Regards,
Tulasi -
Hi,
I am getting an error in CIF Inbound queue (function: CIF_ORDER_INBOUND_30A). The error text says "Only 0 decimal places are permitted for unit of measure PC".
Can anyone point out the solution to resolve this error? It would be a big help for me as I am new to APO and so getting difficult to find a clue for it.
Thanks.
Regards
MansiHi Mansi,
Please check the cif queue you will get the order number from that order number you can find out material code. Then check the material master unit of measure in MM03 you have used some alternative unit of measure and system is unable to convert order to alternative unit of measure because of decimal setting. If you go to CUNI and check the unit if measure PC it is not permitted for decimal places. If you need decimal than change the UoMof Material and use diff UoM or allow the decimal for PC which is not good practice.
Regards,
R.Brahmankar -
3 decimal places for unit of measure KG
Hi,
I would like to create a production order. In the field total quant I would like to give the 3 decimal places of mesure KG.
Error: "Only 2 decimal places are permitted for unit of measure KG"
Where can I customize the system, so that 3 decimal places have been permited.
thanks
Desythanks
I've seen the place in Customizing where I will maintain it.
Now I only have display authorization for class SS
I will speak with our Basis for more authorization.
Thanks
Desy -
Decimal places for unit of measure
Dear All ,
If i change the Decimal Places for rounding in Customizing for Unit of measure ( CUNI tcode) for KG as 6 from 3 whether it will calculate with the 6 decimal places like 0.004756 ( earlier with 3 decimal places it will calculate any multiplication with 0.004 now i want the same with 0.004756 Kg )
whether it will work ?
and where it will impactHi
No it will not work like that. And it depend on the transaction where you enter that. In case of Purchase order quntity field it will be always with 2 decimal places because field MENGE has 2 decimal places only. If your system is already live then it is not advisible to do such changes.
Regards
Antony -
Upto 4 decimal point for unit of measure
hi,
We have requirement to maintain upto 4 decimal point in PO and sales order quantity for unit of measure M3. Example PO quanity 0.3902 m3, sales order quantity 2.3212 m3, SAP allow upto 3 decimal point, how to handle this 4 decimal point for unit of measure and any impact to do so ?
best rgds,Dear Eric,
To change decimal places of Materials follow this:
IMG - SAP NetWeaver - General Settings - Check Units of Measurement
select Units of Measurement & select required Unit of Measure & set decimal places.
Hope this helps...
Give points if useful...
Thanks,
Jignesh Mehta -
How to read a word in a abap program for syntax check
program for finding keywords:
into a given program name in selection screen.
e.g Parameters Keyword in YXABC propgram.
How to find a word in a abap program for syntax checkHi!
Read table TNAPR for the program names.
Then use the READ REPORT statement for it and load the program into an internal table.
Then loop at the table.
Regards
Tamá -
ABAP Program for Processchain..
I have one processchain that is running my manually.
if processchain running means need a output like processchain running.if processchain not running/completed
i need a output like process completed.so finaly i need to develop abap program for my processchain.any one write program for my processchain?Hi,
REPORT ZPROCESSCHAINLOG.
TABLES rspclogchain.
DATA: gt_rspclogchain LIKE rspclogchain OCCURS 0,
wa_rspclogchain LIKE rspclogchain.
DATA: gt_log LIKE rspc_s_msg OCCURS 0,
wa_log LIKE rspc_s_msg,
log type c.
SELECT * FROM rspclogchain
INTO CORRESPONDING FIELDS OF TABLE gt_rspclogchain
WHERE datum eq sy-datum
AND chain_id = YOUR PROCESSCHAINID.
IF sy-subrc = 0.
SORT gt_rspclogchain BY datum DESCENDING
zeit DESCENDING.
READ TABLE gt_rspclogchain
INTO wa_rspclogchain INDEX 1.
CALL FUNCTION 'RSPC_API_CHAIN_GET_LOG'
EXPORTING
i_chain = wa_rspclogchain-chain_id
i_logid = wa_rspclogchain-log_id
TABLES
e_t_log = gt_log.
IF sy-subrc = 0.
LOOP AT gt_log INTO wa_log.
if wa_log-msgv4 = 'Successfully completed'.
log = 1 .
endif.
ENDLOOP.
if log = 1.
WRITE: / 'Processchain completed'.
ELSE.
WRITE :/ 'processchain is running'.
endif.
ELSEIF sy-subrc <> 0.
WRITE :/ 'Not scheduled'.
endif.
endif.
Best Regards,
Thangesh -
ABAP program for wage type variant report
Hi experts,
plz any one sen me the ABAP program for to create wage type variant report plz.
Thanks
Rajesh.Requesting for code is against forum rules. Please read the rules of the forum before posting.
-
ABAP programing for off-cycle payment for bonus
Hi Guru's
I have to develop a ABAP program for Off-cycle payment bonus,
I am new, any one can help me in this.Hai,
Please refer to the given below link:
back payment for off-cycle bonus -
ABAP program for sending emails
Hello SAP developers,
I need ABAP program for sending emails to my internet adress in background - just some simple header with no body and no attachement. Recipient should be specified due the parameter etc... Does program like this exist or i have to create it? I am not familiar with ABAP. I am basis admin so I am little bit lost in this. I have tried program code from this page ->
http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
But anyway it does not work - there is an exception "no message send". SCOT is configured, mails are working fine from transaction SBWP.
Thanks in advace
JMI have already solved my issue through CCMS agents and RZ20 central autoreaction (sms) in Solution Manager.
Regards
JM -
Decimal Points for Unit of Measurement
Hi all
For doing service entry in the QTY field can we put the value upto six decimal for any unit.
in customisation for Unit of measurement can we configure this thing putting decimal places - six or is there any other setting is required
Please help
Thanks in advance
RajeshHi,
Yes in customisation for Unit of measurement you can customize it,
but it will be valid whenver you use this UOM in the system.
There is one thing also you can do
The Quantity fields decimal points in service entry is by default 3 digits ,
so to use 1,123456 quantity for lets say price 10 $
you can multiply both sides with 1000
i mean
use 1123,456 for 10000 $
just an idea
Regards
Hope it helps
Maybe you are looking for
-
Music transfer from iPhone 4 to iPhone 4s?
I'm having trouble transferring my music from the iPhone 4 to the iPhone 4s. Here's what I tried. I backed up the iPhone 4 and then plugged in the newly activated iPhone 4s and restored it as a backup. When the iPhone 4s finished restoring, only p
-
Hi - my family is military and we are moving to Singapore for a few years. We bought our mac mini in the US and love it. I know that the voltages are different there (although from what I have found here, the mini should automatically adjust for the
-
My wife's employer would assign her an old 15" Powerbook or buy a new Windoze laptop, so she did the right thing and took the Powerbook. Now, the problem is that it doesn't have an Airport Card installed, isn't Airport Extreme capable, and I'd like t
-
i have an ipod 2 and i can not down load most apps on the appstore because it says that i need a higher software but then i go on to my imac computer to update my ipods software it says that it is the current soft ware for this device so i am stuck w
-
Hello my nokia account has been locked how do i unlock it please i need help thanks.