Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8392

INTERN_MATLO instead of 9ALOCNO

$
0
0

Hello,

 

I am using the BAPI - BAPI_PBSRVAPS_GETDETAIL2 to fetch keyfigure details for a SNP planning book .

And i am passing the following paramters.

 

PLANNINGBOOK = 9ACTM02

DATA_VIEW         = CTM02(1)

PERIOD_TYPE    = 'A'

DATE_FROM       = 20131128

DATE_TO             = 20131129

 

SELECTION          =    9AMATNR    I    EQ     123456

                                    9ALOCNO    I    EQ     1000

 

GROUP_BY          =    9AMATNR

 

When i ran the BAPI, i get two entries in CHARACTERISTICS_COMBINATION table like below..

 

CHAR_COMB_ID CHARACTERISTIC_NAME            CHARACTERISTIC_VALUE


        1 |9AMATNR                       |123456

        1 |INTERN_MATLO            |                          

 

 

I have two questions on the above result i received.

1. for location, i was expecting the CHARACTERIC_NAME as 9ALOCNO instead of INTERN_MATLO. Why am i getting 'INTERN_MATLO' ?

2 . And for the location i was expecting value as 1000. But it has a blank value.

 

Would appriciate if you could help passing the correct parameters to get the desired result here.

 

Please note, when i run this BAPI for a DP planning book i get expected result in CHARACTERISTICS_COMBINATION table

as below..

1       9AMATNR             123456

1       9ALOCNO             1000.


Viewing all articles
Browse latest Browse all 8392

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>