on 11-24-2009 10:23 AM
Hi all,
Please can you help me how to create cost center using BAPI_COSTCENTERGROUP_CREATE?
I don't really know how to do it and use that BAPI..PLEASE, just give me example and logic to do it.
PLEASE
Thanks.
Luis.
Hi,
Go to SE37, enter the BAPI and press 'Documentation' button. It has very good example of the usage.
Regards,
Eli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Eli,
I'll tell you my case.
I have this standard hierarchy: Example.
Group 1
Group 11
Group 111
Group 1111
Group 11111
Value xxxx
Group 11112
Value yyyy
Group 11113
I need to create the node Group 11113 inside the node Group 1111
Which parameters I need to pass to the BAPI and How?
Regards.
Luis.
As said there, assign '4' Hierarchy Level to 11113, while 1111 will have '3' level. Valcount should be granted with the nudmber of intervals/values, while values themselves are put in HIERARCHYVALUES structure.
Also, be alert to this remark:
"You may only change the standard hierarchy compatibly using this method. You may not move, insert or remove cost centers or sub-trees that contain cost centers."
Hi again Eli,
These are the parameters I've introduced
Hierarchynodes
Group name / hierlevel / valcount / descrip
Group 1111 / 3 / 0 /
Group 11113 / 4 / 0 / New Name
Hierarchyvalues
Nothing.
I've tried the BAPI and the message retuned is "Set Hierarchy inconsistent".
What's wrong?
Thanks in advanced.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.