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

bdc for tcode QP01

Former Member
0 Likes
515

Hi Experts,

Im creating BDC for tcode QP01.

In one of the screens Plant name is coming and i have to replace it by a space.

Though the BDCDATA table has space for this field, but it does not get replaced when i run the BDC. But when i pass any value say '1' instead of space, the Plant name is replaced by that value, but it does not take space as a value.

Please suggest how to replace Plant name by blank space.

Rajiv Ranjan

4 REPLIES 4
Read only

Former Member
0 Likes
486

Hi,

You might have using ' ' for that field.

Hard code SPACE for that field like WERKS = SPACE. and see.

reward if useful

regards,

Anji

Read only

0 Likes
486

i tried hard coding with 'SPACE'. it is not working.

Read only

0 Likes
486

Hi,

For all the plants you wants SPACE or for few plants?

If for all plants you need space, then don't process that field in the bdc, as nothing

will be entered,

if it is for few plants, then keep a condition and do.

regards,

Anji

Read only

Former Member
0 Likes
486

Hi,

If u want it for some specific plants then before populating data to bdcdata internal table check the conditions for which the plant fields required values to be passed and if the condition is satisfied then pass the plant field to bdcdata table . If the condition is not satisfied then dont pass that plant field to bdcdata table bcoz if u r not passing any field to bdcdata table then that field is going have default values.

Regards,

Shafi