cancel
Showing results for 
Search instead for 
Did you mean: 

Infocube parameter on exit

Former Member
0 Kudos

Hi all,

I need to close a write request on an infocube (from yellow to green) through a BPS planning function.

I created a planning function of type exit attaching the FM RSAPO_CLOSE_TRANS_REQUEST, but when I run the function I get this message:

'When calling the function module "RSAPO_CLOSE_TRANS_REQUEST", one of the parameters needed according to the interface description was not specified. This parameter was "I_INFOCUBE". '

I tryed to specify the parameter, but BPS seems to allow only 8 chars parameters (I can just write I_INFOCU ).

I read in other posts on the forum that it could be possible through a Init FM or a FM variant, but I have no idea on how to do it.

Please, can anyone help me in specifiying the missing parameter?

Thanks in advance, Andrea

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Andrea,

the default value for PARNM in the table "UPF_EXITP" is Char 8.

I think that you must modify this parameter.

I hope help you.

Davide

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andrea,

there is a Sap Note n° 621049 that can resolve you problem.

Regards

Davide

Former Member
0 Kudos

Thanks Davide,

I read the note, but I solved the problem in a different way, following these steps:

1. create a parameter I_CUBE (<8 chars)

2. create a function module which reads I_CUBE value from the internal table IT_EXITP, and call the function RSAPO_CLOSE_TRANS_REQUEST exporting the I_CUBE value to I_INFOCUBE.

I hope it can be useful.

Andrea