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

Update VBAP-PREFE

Former Member
0 Likes
1,455

Hello ,

I have a sales order and at item level i want update Prefe flag in a standard way (using FM or BAPI or MASS change)

Unfortunetly, BAPI_SALE_CHANGE doesnt have this field,

MASS_saLES_CHANGE has the filed but intern calls BAPI .

MAss transaction i tried filling the field but it calls the same BAPI.

Any ides how i cna update this flag ?

Rgds,

Mano sri

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
884

Can you access it via VA02. Maybe you could use a BDC to do it. What does this flag do? If you have a good understanding of what this flag does and there is no other linkage to anything else, then I guess you could do a direct db update, but I would not recommend it.

Regards,

Rich Heilman

Read only

0 Likes
884

It is disabled (so no BDC) , it is a preference flag checks for a material preference ZOne in master data and in one of those routines of SD checks and sets up this flag i guess.

Now, user wants to set it up with a report in case they dont maintain at master data .No direct DB update please not on VBAP atleast.

Any further ideas pl drop in!

Rgds,

Mano sri

Read only

0 Likes
884

Does it come from master data? If so, which one? Maybe that's what you should be updating.

Rob

Read only

0 Likes
884

It does come material master, point is we will update anyway the master data, how about old Orders created before the creation of master data.

Hence the requirement to update teh old sales order number with this flag using a report.

Please suggest how to update VBAP-PREFE field!!

Rgds,

Mano sri

Read only

0 Likes
884

There are a number of OSS notes about setting this. I don't know if any will help you or not. I searched using VBAP and PREFE.

Rob