cancel
Showing results for 
Search instead for 
Did you mean: 

BSP - Function Module - UWS_BW_GET_LONGTEXTS_FOR_SRVY - Inputs

Former Member
0 Kudos
52

Dear Experts,

I need to fetch the Long Texts for the Survey application.

Which is submitted by the user.

I am using the below function module to fetch the Long Text.

'UWS_BW_GET_LONGTEXTS_FOR_SRVY'

For this FM. We need to pass the input to the structure 'IT_GUID' which is of Type 'UWS_T_BW_SURVEY'.

So IT_GUID contains the following fields:

1) BW_APPLICATION

2) WS_SURVEY

3) APPLICATION

4) ID

5) GUID

6) VERSION

I have got the below inputs:

3) Application -


Name of the Application

5) GUID -


Survey GUID from the table 'TUWS_SURVEY_LOG'

But not getting the inputs for the rest of the fields.

Kindly help me What are all the Inputs needs to be provided in the remaining fields.

And correct me if my input is wrong in (3) and (5)

Regards,

Ragunathan.R

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ragunathan,

The function module only uses GUID field from all the fields listed by you. Did you try append only GUIDs to the internal table and test the FM? As per the Coding I see, it should work.

Regards,

Ravi

Former Member
0 Kudos

Dear Ravi,

If i pass the value of Survey GUID field of the table TUWS_SURVEY_LOG to the F.M.

i am getting the values as below

1) Application -- WBSURVEY

2) Survey -


.............

3) Qstnnr --- <Questionarie Name>

4) Name --- TE18 / TE34

5) Reporting_Label --- ..........

I am not getting any long text.

-


My Scenario is: Once the User submits the questionarie with answers.

The answers may contain Radio Button / Comment (Free Text) fields.

I need to fetch those Free Texts in R/3.

How can i achieve the same.

As per my work around in the table 'TUWS_SURVEY' has the field CLUSTR & CLUSTD to store the Long Texts.

which is of LRAW Data Type. To fetch the text in this field i am using the above F.M.

But not getting any values.

Kindly suggest.

Regards,

Ragunathan.R