Read characteristics value of AUSP-ATWRT
Hi,
There is a code in AUSP-ATWRT and i want to get the text of this code like :
AUSP-ATINN = ZHC_REFUSREASON and
AUSP-ATWRT = 01-22.04.2009-A07.001
I want to get the mean of the bold area, A07.
How to do that?
Thanks
I dno't know how your characteristic is defined. But given the rather vague info you've given i assume the value of that characteristic has a fixed format: 01-22.04.2009-A07.001 => XX-XX.XX.XXXX-XXX.XXX
Now use the SPLIT statement on ATWRT:
SPLIT atwrt INTO TABLE [some itab] AT '-'.
You can define <some itab> as : ITAB type table of string.
Now look at the contents of <some_itab>. You will see that the last entry holds XXX.XXX.
Get that entry and do another SPLIT:
SPLIT <entry> AT '.' into field1 field2.
Now check field1.
Edited by: Maen Anachronos on Sep 3, 2010 10:49 AM
Similar Messages
-
Dear All,
I want to read the values of Characteristics based on the value of other.
Like how many and what ship-to-parties are associated to a Branch. (Branch -> Custom created).
One BW guy told me that these values are stored in LiveCache.
Please suggest some function modules to read Characteristics values.
Regards,
Vikas MadaanHi Vikas,
You can using function module BAPI_PBSRVAPS_GETDETAIL to read Key Figure values from a Planning Book/Area (that is usually stored in Livecache). Check out the documentation in transaction SE37 or transaction BAPI. I want to point out that this function module "needs" a planning book parameter. The configuration of the planning book that you will use in the function module will greatly affect/limit what kind of data you will be able to read. For example, if the planning book only contains KF1, KF2 and KF3 then you will only able to read those KFs even though your planning area might contain KF1, KF2, KF3, KF4 and KF5.
Hope this helps. Please post again if you need more help. -
Missing characteristics value in table AUSP
Hi all,
In the classification of equipment master, the characteristics value of a new class could be shown but the value cannot be found in the table AUSP.
(it's been ensured that the object no. input is correct)
Where is the value stored? or is there something wrong?
Many Thanks!hi,
check CABN table. -
How to find the list of material variant based on the characteristics value
Hi
We are creating materials variants for FERT Material Type in material master in MRP-3 view .There we configure the variant by attaching characteristics value
Now we want to have a report , which can give the list of material variants , if char value is given in selection
Can somebody guide me if there is standard report for this OR what is the linkage in Table , so that we can develop a report
rgds
SandeepI couldn't find a standard report to get the material variants based on characteristic values (the nearest I could find was CT12) but I wrote a report some time back here's the table join logic for the main select statement.
select a~matnr
e~atwrt
h~atwtb
into table i_tab
from MARC as a
inner join IBIN as b
on b~instance eq a~cuobj
inner join IBIB as c
on c~ibase eq b~ibase
inner join IBINVALUES as d
on d~in_recno eq b~in_recno
inner join IBSYMBOL as e
on e~symbol_id eq d~symbol_id
inner join CABN as f
on f~atinn eq e~atinn
inner join CAWN as g
on g~atinn eq e~atinn
and g~atwrt eq e~atwrt
inner join CAWNT as h
on h~atinn eq g~atinn
and h~atzhl eq g~atzhl
where a~matnr in s_matnr
and e~atinn in s_atinn
and e~atwrt in s_atwrt
and b~valto eq '99991231235959'. "This is important condition
I included bare minimum fields to suite your requirement needs you can add whatever other field you want . Though I tested the table join, I suggest you to test it again before writing your own ABAP program using SE16N. -
Regardinjg characteristics value
Hi All ,
I am fetching characteristics value ATWRT from CAWN with key ATINN I am getting ATINN from CABN table by using ATNAM (characteristics).
and in module -pool program i am displaying it in the form of drop down bo using function module.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = 'MMAN' * MMAN IS THE NAME OF MY DROP DOWN BOX
VALUES = VALUES.
EXCEPTIONS
ID_ILLEGAL_NAME = 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.
I am getting all the values But the problem is that i cannot select the the values from the drop down box. if i try to select other value then only 1 value in the drop down box get selected .
i had tried on two different dropdown box for two different values.
In both the cases the key ATINN is different.
i.e. for same key value doesnt get selected in drop down box
and for different keys ATINN value get seected .
Anybody please help me.
Code is as follows.
SELECT * FROM CABN INTO CORRESPONDING FIELDS OF TABLE IT_CABN WHERE ATNAM = MR_MN.
SELECT * FROM CAWN INTO CORRESPONDING FIELDS OF TABLE IT_CAWN FOR ALL ENTRIES IN IT_CABN
WHERE ATINN = IT_CABN-ATINN.
DATA : valuess TYPE VRM_VALUES,
valuee LIKE LINE OF values.
CLEAR valuee.
BREAK-POINT.
LOOP AT IT_CAWN .
valuee-KEY = IT_CAWN-ATINN.
valuee-TEXT = IT_CAWN-ATWRT.
APPEND valuee TO VALUESS.
CLEAR valuee.
ENDLOOP.
Regards,
Anup.Hi Anup,
I couldn't exactly understand the issue.
'VRM_SET_VALUES' should work.
To make your key unique, you can add sy-index in the LOOP.
LOOP AT IT_CAWN .
w_index = sy-index.
concatenate w_index IT_CAWN-ATINN into w_index.
valuee-key = w_index. "or just give sy-index => valuee-key = sy-index.
valuee-TEXT = IT_CAWN-ATWRT.
APPEND valuee TO VALUESS.
If it still doesnt work, try checking the program DEMO_DROPDOWN_LIST_BOX.
It calls 'F4IF_INT_TABLE_VALUE_REQUEST' function module.
Regards,
Nisha Vengal. -
From which table characteristics value is been picked in Batch(023 class)
Hi gurus,
Could anyone helpme out of this problem
While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification screen , characteristics value have to be given manually for the material that is to be receipt in migo.
Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table Cawn,cabn is there but how to link with other tables like mseg or MKPF.
In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
Guys please help me out of this.
Thanks N regrds,
SiddhrthaHi
CABN Characteristics ( o.a. batch/vendor)
CABNT Characteristics description
CAWN Characteristics ( o.a. material)
CAWNT Characteristics description
AUSP Characteristic Values
Class types and objects :TCLAO Several class types for object
TCLA Class types ( vb. lfa1 => v10 en 010)
TCLAT Class type text
TCLT Classifiable objects
TCLC Classification status
Regards -
From which table characteristics value of Batch management is been picked
Hi gurus,
Could anyone helpme out of this problem
While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification button , there characteristics value have to be given manually for the material that is to be receipt in migo.
Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table Cawn,cabn is there but how to link with other tables like mseg or MKPF.
In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
Guys please help me out of this.
Thanks N regrds,
SiddhrthaHi Merwyn,
I cannot find any common field between AUSP and MCH1 ,could you tell me the procedure to link these 2 tables.
Thanks N Regards
Siddhartha Chatterjee
Hi,
Using AUSP table pick the object No. and link it with MCH1 to find the Batch No.
using the batch No. link to MSEG-CHARG -
Function Module to Read attributes value from Classification tab
Dear Experts ,
We are using material classification in the material master. Under classification tab of material master , we are maintaining certain characteristics and their corresponding values.
I want to read those values and use those in one of the report.
Can you please help me in identifying Function Module which will return the values of all the attributes of that material.
Thanks in advnce,
Regards,
NikhilYou can check those details using CT06 transaction.
FM CLAF_CLASSIFICATION_OF_OBJECTS can be used to retrive the data using program.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
class = gc_class
classtext = 'X'
classtype = gc_classtype
clint = gc_mmpsk
features = 'X'
language = sy-langu
object = l_object
key_date = sy-datum
initial_charact = 'X'
change_service_clf = ' '
inherited_char = 'X'
TABLES
t_class = lt_class
t_objectdata = lt_objectdata
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4. -
Copy of Batch characteristics value from material master to Batch
Hi Gurus,
I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
Can any one help me to achieve this in standard way?
Thanks
SandipHi,
Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
Thanks
Kumar -
Mass Upload of object dependency for characteristics value
Hi ,
I need to upload the object dependency for characteristics values through transaction CT04. My input data consists of characteristcs name , characteristics value and the object dependency (KNNAM) . Need to populate the KNNAM field alone .
Have tried with the FM 'CTMV_CHARACT_CHANGE_KNOWL_VAL' which suits my requirement but teh dependencies are not getting uploaded . Am I missing anything ? Since I do not have class details i.e class num and class type I am not able to use the BAPI like 'BAPI_CLASS_CHARVALUE_LOCAL_DEP ' . Please suggest any othe r suitable method .
Thanks in advance.
SanjeevHi,
Please check the below link..
BAPI for Characteristic Dependency
Thanks. -
How to change characteristics values in PPDS planned order?
Hi,
I have few PPDS planned orders. I want to change the value of few characteristics of existing PPDS planned order.
How can I do the same?
Any standard T.Code or function module or report available to update the characteristics values of PPDS planned order in APO.
Thanks in advance.
Warm Regards,
Surajit DasHi Surajit,
Char can be changed programatically.
If you want to change the Planned Order characteritics before its creation, you can do so at the time Planning run itself (/SAPAPO/RRP3) in BADI /SAPAPO/RRP_SRC_EXIT, Method RRP_USEX_PLORD_CREATE.
Planned Order characteritics can be changed after it creation.using BAPI BAPI_MOSRVAPS_SAVEMULTI3. -
Assigning of characteristics value for a batch
Hi All,
Please help regarding the assigning of characteristics value for a batch in transaction code MSC2N or MSC2 in the classification tab.
If Function modules or BAPI is available pls advise the inputs to be provided for the function modules.
Here is one function module which i searched, but if i run this function module, i am not able to commit my characteristics value.
The function module is CIF_BATCHCHAR_MAP.
For the above function module the inputs which i have given are...
Material number
Batch
Plant
Class type
Class Number
Characteristics name
Characteristics value
Expecting your earliest reply.
Thanks,
G.C.Arravind Kumar VikramTry the code below
*.1 create key
it_objects-key_field = 'MATNR'.
it_objects-value_int = matnr.
APPEND it_objects.
it_objects-key_field = 'CHARG'.
it_objects-value_int = charge.
APPEND it_objects.
CLEAR l_objectkey.
CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
EXPORTING
objecttable = 'MCH1'
IMPORTING
objectkey_conc = l_objectkey
TABLES
objectkeytable = it_objects
return = it_return2.
2 fill it_num it_char it_curr with values
3 change characteristics
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = l_objectkey
objecttable = 'MCH1'
classnum = it_class-classnum
classtype = '023'
TABLES
allocvaluesnumnew = it_num
allocvaluescharnew = it_char
allocvaluescurrnew = it_curr
return = it_return. -
Batch Characteristics value in report
I want to develop a custom report where material master batch characteristics value should be displayed.
The report will display based on Process order No. In Process order AFPO table I am bringing MATNR, CHARG, WERKS information.
Now, the MATNR is maintained with a batch classification of class type 001 (material class) one characteristic "Z_NUMERIC" and value is maintained as "22345".
Now, in custom report I have to bring the 22345 no. In which Table I can get the information for material for 001 class type characteristics value?
Please repond.You can find it in table ausp
Regards,
Dhaval -
Read the value of user input variable during calculation of virtual char
Hello
Virtual characteristics is populated in custom BAPI based on values specified by user in the variable screen.
How to read the value of user input variable outside the user exit for custom variables?
The one way is to create faked user exit variable, read the value of user input variable in corresponding FM and insert it into table. Then value of this variable will be derived from the table.
Thanksno answer
-
Same Batch Number with different characteristics value
Dear Gurus,
I have the following scenerio:
The finished goods should be maintain in batch with external number and at the time of confirming the finished goods in co11n the client want to capture the finished goods value like length, width and diameter.
So we propose the batch characteristics with class type of 022 for finished good and we maintain the character as length, width and diameter under the batch class 022 and assign the batch class in finished good classification view.
Now the requirement is we want to capture the batch characteristics value length width and diameter with same batch number for multiple confirmation.
Example:
Confirmation Batch number batch Class Length width Diameter
1 1000 022 100 50 20
2 1000 022 120 25 10
3 1000 022 150 70 30
Now at present we are trying to capture the batch characteristics with same batch number but our standard system will not allow to maintain the different batch characteristics value under same batch number. If we overrite the batch characteristics in msc2n transaction the last value maintained be copied to all batch number. but we want same batch number with different batch characteristics value.
Please share your idea and try to solve..
Regards,
VimalDear Vimal,
It is not possible to maintain multiple batch characteristics in one batch.
Work around is to create original batches and assign to your production order. During CO11N, generate one batch per confirmation. There is a report in batch information cockpit to link between original batch and batch per confirmation.
Rgrds,
Maybe you are looking for
-
Am in the process of installing ios 7.0.4 for my ipad 2 however, all I see on the screen is the USB cable and an arrow pointing to iTunes icon. It has remained so for more than 1 hour. When I put it off and switch it on again, I see the same thing ap
-
How can I change security question when I don't have a rescue email address
Can anybody help me with this I don't know The answers and I don't have a rescue address is there anyway Ivan edit this with out starting a new one
-
AE shows WD External disk in Utility, does not show in Finder
Hi, I just bought an AE (802.11n). The setup was relatively easy. I updated both the software Airport Utility (5.3.2) and Firmware (7.3.2). When I connect my freshly formatted (HFS+ Case-Sensitive + Journaled) external WD 120Gb HD (which has an exter
-
Master and work rep in same schema
Hi What happens when master and work repository are in the same schema. I did all my development only to realize master and work are in the same schema.. Its working in now.. What happens when I migrate to different environment -app
-
HINDI Language Support In Translation Builder??
Can by any means existing Forms 6 application be converted in to "Hindi" or any other Indian language (ONLY GUI PART) by using Translation Builder.