Urgent- BDC for KE52/51

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
Jumanji
Posts: 23
Joined: Wed Feb 19, 2003 12:48 am
Location: Hyderabad, India

Urgent- BDC for KE52/51

Post by Jumanji » Mon May 12, 2003 7:03 am

Hi,

I'm doing a BDC for KE52.The master data Company codes tab,
I need to select the company codes coloumn and then select 'find' to point to any company codes.without selecting this coloumn i cannot find the company codes.This feature of selecting a coloumn in the table control is not working in SHDB.Its working fine in foreground.
I'm unable to find the okcode for selecting the coloumn.
If there is any workaround for this ,plz let me know.

I need to create the profit centres for only some of the company codes.

Thanks & Regds

saper
Posts: 133
Joined: Tue May 06, 2003 9:47 am
Location: USA

Post by saper » Mon May 12, 2003 9:17 am

Hi Jumanji,

You can not do that through the BDC.

There is a better solution for your problem. you have a BAPI_PROFITCENTER_CHANGE function module to do your job.
Just populate the paramters according to the documentation. It will work.
It gives better performance also. do not forget to call BAPI_TRANSACTION_COMMIT after successful calling the BAPI_PROFITCENTER_CHANGE function module in your program if your
BAPI_PROFITCENTER_CHANGE failes call the BAPI_TRANSACTION_ROLLBACK.

Hope this solves your problem

Saper

saper
Posts: 133
Joined: Tue May 06, 2003 9:47 am
Location: USA

Post by saper » Fri May 16, 2003 10:37 am

what happened to this problem??

saper

Post Reply