08-10-2012 2:21 PM
Hi Experts,
We developed one Z-report for release strategy.User wants only those records which has classification status '1'.Present report not considering the classification status.
So,when we are going to CL24N T-code->give some class(PO_REL),Class Type(032)->press enter.It will give you the list of all release strategy/class,object category,status,object text.I need to read the status value corresponding to Release Strategy/Class as per shown in the CL24N.
So,My Problem is how to read status Release strategy,Release Group.
Can any one suggest me any FM,BAPI or Table name for reading those status based on Release strategy/Class.
Regards,
Gopalakrishna.
05-09-2013 1:58 PM
Hi.
I'm trying to use BAPI_OBJCL_GETDETAIL
If I will find a solution, then I will post it hear.
Regards,
Alik
05-10-2013 12:48 AM
Hi Gopalakrishna,
Try FM BAPI_CLASS_GETSTATUS and BAPI_CLASS_GETDETAIL
Cheers,
Custodio
05-10-2013 4:55 AM
Hi Gopalakrishna,
For Class Status SAP Table : TCLU
Class Status (Texts) SAP Table : TCLUT
===================================================================
==========================================================
TYPES:BEGIN OF TYPE_CLASS1,
CLASS TYPE KLAH-CLASS,
KLART TYPE KLAH-KLART,
END OF TYPE_CLASS1.
TYPES:BEGIN OF TYPE_STATUS,
KLART TYPE TCLU-KLART,
STATUS TYPE TCLU-STATUS,
END OF TYPE_STATUS.
DATA:I_CLASS1 TYPE STANDARD TABLE OF TYPE_CLASS1.
DATA:I_STATUS TYPE STANDARD TABLE OF TYPE_STATUS.
SELECT CLASS KLART FROM KLAH INTO TABLE I_CLASS1
WHERE CLASS IN S_CLASS
AND KLART IN S_KLART.
SELECT KLART
STATUS
INTO TABLE I_STATUS
FROM TCLU
FOR ALL ENTRIES IN I_CLASS1
WHERE KLART = I_CLASS1-KLART
AND SPRAS = SY-LANGU.
Regard's
Smruti