Application Development and Automation 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: 
Read only

Problem with FM swx_get_manager

Former Member
0 Likes
655

Hello experts,

i´ve got a problem with the fm "swx_get_manager". I use this FM in one of my programs, now i realized that it doesn´t work properly.

The Problem i am facing is that sometimes in the first call!! i get an error and no manager is found, if i call it again in the program with the same parameters it founds one. In the orgmanagement there is a manager, so there must be a correct result but everytime i call it first in my programm there are no values. What is the problem? Do i have to refresh the buffer or something else?

Hello experts,

i´ve got a problem with the fm "swx_get_manager". I use this FM in one of my programs, now i realized that it doesn´t work properly.

The Problem i am facing is that sometimes in the first call!! i get an error and no manager is found, if i call it again in the program with the same parameters it founds one. In the orgmanagement there is a manager, so there must be a correct result but everytime i call it first in my programm there are no values. What is the problem? Do i have to refresh the buffer or something else?

3 REPLIES 3
Read only

Former Member
0 Likes
564

Hi

Please confirm the values passed between the first and subsequents runs of this FM. Make sure the Container table is populate as below,


ls_cont-element = 'ORG_OBJECT'
ls_cont-elemlength = '025'
ls_cont-type = 'C'
ls_cont-value = Concatenation of 'P' with Personnel number separated by space.

Regards

Ranganath

Read only

0 Likes
564

This message was moderated.

Read only

Former Member
0 Likes
564

solved my own