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

changes into sap query for field length changes

former_member530652
Participant
0 Likes
2,158

Hi,

I have an existing sap query where only one table is used and one of the field length(Changed from 10 to 15 chars) of that table is changed.

Field length changes into the table would be automatically accommodated into the query?

If not, what changes I have to perform into the infoset and query?

Kindly guide.

Thanks.

6 REPLIES 6
Read only

pfefferf
Active Contributor
0 Likes
1,861

If you have no special considerations of the field length implemented in your query, nothing has to be done.

Read only

0 Likes
1,861

Thanks for your response.

I do not have special considerations of the field length, but would like to know if this field length change( into the table) will automatically be adopted by query?....Query will reflect this field length change( into the table) without doing anything?

Read only

pfefferf
Active Contributor
0 Likes
1,861

Like I said, no changes are necessary if you have no special length logic in the query.

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
1,861

Hello sandeep.bhamare

SAP Query will automatically reflect the field length change.

Best regards

Dominik Tylczynski

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,861
Depending on
  • If the query is executed from transaction SQ01, START_REPORT or via program SAP_QUERY_CALL the query and Infoset will be automatically adapted.
  • If someone defined a transaction calling the generated program name, you may get a dump.
Read only

0 Likes
1,861

Hi Raymond,

Thanks for your inputs. I have changed the field length but unfortunately infoset and query did not adapt the field length changes.

Query length is still showing length 10 and remaining 5 characters cut off from the output.

I am trying to run the query from transaction SQ01.

Please can you guide, what changes I need to make into infoset and query?

Thanks.