cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract STARTMNTH from CATEGORY?

0 Kudos

Hello.

I call the BAdi with parameter CATEGORY in script logic, but i have to know what is the STARTMNTH and YEAR assigned to it.

I see it (as on the screen attached) but how to extract it with ABAP?

Thank You.

Accepted Solutions (1)

Accepted Solutions (1)

former_member190501
Active Contributor
0 Kudos

Hi,

Just read it from master data ( attribute table ) of Category using Select statement to read attributes of dimensions.

Thanks,

Raju

0 Kudos

Raju,

Can You please paste a sample code?

Do you mean SELECT in script logic or BAdi.

Tank you.

(OK, I SEE IT NOW, THX.)

former_member190501
Active Contributor
0 Kudos

Hi,

In Script :

*SELECT (%STMN%,"STARTMNTH", CATEGORY, ID = %C_CATEGORY_SET%)

*SELECT (%YR%,"YEAR", CATEGORY, ID = %C_CATEGORY_SET%)

In BADI:

Just use Select statement to get attributes from attribute table

Thanks,

Raju

Answers (0)