Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi for Getting classification status in CL24N T-code

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

Hi.

I'm trying to use BAPI_OBJCL_GETDETAIL

If I will find a solution, then I will post it hear.

Regards,

Alik

custodio_deoliveira
Active Contributor
0 Kudos

Hi Gopalakrishna,

Try FM BAPI_CLASS_GETSTATUS and BAPI_CLASS_GETDETAIL

Cheers,

Custodio

Former Member
0 Kudos

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