2008 Jul 19 7:03 AM
Hi frnds,
I need to write a ZBAPI to list all Unit of measurement and its text by calling some std Fm in the source code.
Table: T006A
Fields: MSEH3
MSEHL.
plz. provide hints/ sample code.
Regards,
kiran.
2008 Jul 19 8:19 AM
cehck the fn modules
MSR20_MD_UNIT_GETLIST
and
MSR1_MD_UNIT_GETLIST
these two fm are remote enabled.
It may be helpful for you.
2008 Jul 19 7:07 AM
2008 Jul 19 7:21 AM
Hi Sumit ,
I know how to write zbapi. The thing is that I have use some std FM in source code of ZBAPI may b some std F4 input FMs. I dont who which FM shd b used in my zbapi for UOM.
can u help me in this regard.
Regards,
Kiran.
2008 Jul 19 7:24 AM
Check the Fm UNIT_OF_MEASUREMENT_HELP for F4 help it may be useful. Go through the documentation also. I think this is one of the std F4 help for uom.
2008 Jul 19 7:28 AM
Hi Prasad,
when I am Executing this FM Iam getting result in pop-up window. I need the result in bapi structure. How to do it. Becoz I am passing this BAPI to portal front end. there they cant use pop-ups.
plz provide some sample code how to get required result
Regards,
kiran.
2008 Jul 19 7:12 AM
Hi ,
You can write the select query code in bapi function module and get the data in one internal table ,by doing this u can get the value in ur bapi.
Regards,
Rajesh Akarte
2008 Jul 19 7:17 AM
NO . I should not select directly from table. I shd use some std fm in my zbapi..
2008 Jul 19 7:35 AM
Hi krishna.
I would like to suggest,
BAPI_MATERIAL_SAVEDATA - You use this method to create new material master data or to change existing material master data
I would like to suggest a reference for the same,
[SDN - Reference for BAPI_MATERIAL_SAVEDATA - Units of Measure code |;
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
2008 Jul 19 7:36 AM
hi,
You can try
UNIT_GET FM in your ZBAPI.
Regards
Sumit Agarwal
2008 Jul 19 7:38 AM
Hi,
Use the FM: CY_T006A_READ
or
T006A_SINGLE_READ
or
UNIT_OF_MEASUREMENT_TEXT_GET
Regards,
Subramanian
Edited by: Subramanian PL on Jul 18, 2008 11:39 PM
2008 Jul 19 7:49 AM
Hi Subrahmaniam,
I need to get all uom & its text i.e., what we get when we press f4. not single result etc.
2008 Jul 19 7:43 AM
Hi,
This is the function module used to read table T006A.
CY_T006A_READ
Regards,
Rajesh Akarte
2008 Jul 19 7:49 AM
Hi Rajesh,
I need to get all uom & its text i.e., what we get when we press f4. not single result etc.
2008 Jul 19 8:19 AM
cehck the fn modules
MSR20_MD_UNIT_GETLIST
and
MSR1_MD_UNIT_GETLIST
these two fm are remote enabled.
It may be helpful for you.
2008 Jul 21 6:47 AM
Hi Prasad,
Thanks alot . You hint has solved my problem not only for UOM but also for other fields.
Regards,
Kiran.