hello Anurag.
I was reading your post in the forum.
For BAPI_PBSRVAPS_GETDETAIL2 BAPI is giving error when using it in APO Macro Function.
What parameters do you use? to function within the macro SCM folder.
Example : ZGET_KFVAL_PA ( ACT_PRODUCT , ACT_LOCATION ) .
I must assign values . O defaults by default?
In my case I have constant parameters.
data_view = ' CALCULO_RBF ' .
planning_version = '000 ' .
" read_options [ ] = read_options [ ] .
period_type = ' A'.
date_from = '21 .04.2014 ' .
date_to = '21 .04.2014 ' .
selection- characteristic_name AMATNR = '9 ' .
selection- char_val_sign = ' I'.
selection- char_val_option = ' BT ' .
selection- '0000000000000000000000000000000000003271 char_val_low = ' .
selection- '0000000000000000000000000000000000003271 char_val_high = ' .
append selection .
selection- characteristic_name ALOCNO = '9 ' .
selection- char_val_sign = ' I'.
selection- char_val_option = ' BT ' .
selection- char_val_low = ' VE01 ' .
selection- char_val_high = ' VE01 ' .
append selection .
group_by - characteristic_name ALOCNO = '9 ' .
append group_by .
group_by - characteristic_name AMATNR = '9 ' .
group_by group_by to append .
key_figure_selection - key_figure = ' ARBASEF ' .
append key_figure_selection .
................................................................................
I appreciate if you could help me
Johanna