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

Structure containing *all* account assignment information

KjetilKilhavn
Active Contributor
0 Likes
1,722

Hi - I think I am in the correct forum, but if I am not and you know what forum is correct for this question, please inform me by replying in the thread. No need for 500 replies with this information, one will do.

I am trying to create a generic interface for account assignment information which will be used in workflow solutions. The interface will be used in extensions to standard BOR objects, so I can't use ABAP Objects.

The problem I have is finding the correct structure to use as parameter type. I don't think I can get away from using statically typed parameters, so ideally I am looking for a standard structure that contains all possible account assignment fields for any accounting document, whether the source document is asset accounting, funds management, standard accounting documents, invoices, purchase orders, joint venture accounting documents or whatever.

There is a structure named COBL, but I am not sure if all that information is needed. I need the account assignment fields plus at least one amount (to determine what the "main" account assignment is in cases where I can not operate on multiple values).

COBL and ACCBAPIFD1 are the best candidates I have been able to find - but I would appreciate advice on these, and of course on better candidates?


Kjetil Kilhavn (Vettug AS) - ABAP developer since Feb 2000, but will probably never be a Rockstar developer

Hi - I think I am in the correct forum, but if I am not and you know what forum is correct for this question, please inform me by replying in the thread. No need for 500 replies with this information, one will do.

I am trying to create a generic interface for account assignment information which will be used in workflow solutions. The interface will be used in extensions to standard BOR objects, so I can't use ABAP Objects.

The problem I have is finding the correct structure to use as parameter type. I don't think I can get away from using statically typed parameters, so ideally I am looking for a standard structure that contains all possible account assignment fields for any accounting document, whether the source document is asset accounting, funds management, standard accounting documents, invoices, purchase orders, joint venture accounting documents or whatever.

There is a structure named COBL, but I am not sure if all that information is needed. I need the account assignment fields plus at least one amount (to determine what the "main" account assignment is in cases where I can not operate on multiple values).

COBL and ACCBAPIFD1 are the best candidates I have been able to find - but I would appreciate advice on these, and of course on better candidates?

14 REPLIES 14
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,676

HI,

Better you can create a custom structure in se11 and use it.

In future if any new fileds has to be added then it will be very feasible.

Read only

0 Likes
1,676

I am aware of this possibility of course - but I want to avoid it.


Kjetil Kilhavn (Vettug AS) - ABAP developer since Feb 2000, but will probably never be a Rockstar developer
Read only

0 Likes
1,676

Considering the future enhancements, custom one is the best option.

Read only

0 Likes
1,676

Just got this when i searched in google , please check INCL_EEW_PD_ACC_CSF

[Account assignment fields|http://plkasee.spaces.live.com/]

Read only

0 Likes
1,676

Actually, because of future enhancements, I would go with an existing structure. SAP will keep it up to date.

Structure INCL_EEW_PD_ACC_CSF is in SRM not R/3 and I think the blog mentioned is in reference to SRM.

Rob

Read only

0 Likes
1,676

>

> Actually, because of future enhancements, I would go with an existing structure. SAP will keep it up to date.

That's how I see it too. I am aware that some pretty stupid questions are asked in SDN, but suggesting that I create my own structure when I ask if there is one containing all account assignment information - that's not really helpful. I do not condone point hunters and that's why I don't award any points to answers that are not at all helpful. I see a lot of people will happily give 2 points to anyone who replies. What's the point (no pun intended) in that? All you do is encourage people to write meaningless replies to increase their own ranking.

>

> Structure INCL_EEW_PD_ACC_CSF is in SRM not R/3 and I think the blog mentioned is in reference to SRM.

> Rob

A shame really. I have of course searched using both SE81, SE11, the SDN forums and Google quite a bit before asking a question. I saw the notification for the answer about this structure and was hoping that I had missed something in Google, but alas, I was not that lucky.

Edited by: Kjetil Kilhavn on Mar 8, 2010 9:05 AM

With the amount of questions asked daily I suppose this question will never become answered, so I'll award 2 points to the most helpful reply so far. Sixes and tens are still up for grabs


Kjetil Kilhavn (Vettug AS) - ABAP developer since Feb 2000, but will probably never be a Rockstar developer
Read only

0 Likes
1,676

>

> That's how I see it too. I am aware that some pretty stupid questions are asked in SDN, but suggesting that I create my own structure when I ask if there is one containing all account assignment information - that's not really helpful. I do not condone point hunters and that's why I don't award any points to answers that are not at all helpful. I see a lot of people will happily give 2 points to anyone who replies. What's the point (no pun intended) in that? All you do is encourage people to write meaningless replies to increase their own ranking.

Well, everyone assigns (or doesn't assign) po1nts based on there own criteria. Personally, I think that if someone has taken time out of there day to help a stranger with a problem, then that should be rewarded. The moderators are on the lookout for point hunters and we do what we can do discourage it. My experience is that they don't really care about getting only two po1nts anyway.

Rob

Read only

0 Likes
1,676

>

> Well, everyone assigns (or doesn't assign) po1nts based on there own criteria. Personally, I think that if someone has taken time out of there day to help a stranger with a problem, then that should be rewarded. The moderators are on the lookout for point hunters and we do what we can do discourage it. My experience is that they don't really care about getting only two po1nts anyway.

>

> Rob

That's just the issue. Have they really taken the time? Of course I could have written in my question that I had used Google, SE11, SE81 and the forums to try and find the answer. But that's a given, or at least it should be.

I try to give p****s when I get something I think is an honest attempt at helping, but I know that I could easily generate 20 one-line answers in the time it takes me to try and help someone properly. That involves reading and understanding the questions, suggesting a solution and trying to ensure that the suggestion is relevant.

I disagree strongly that people do not care about two-pointers. If everone awards every reply it's no problem collecting several thousand annually. All you need to do is spend 15 minutes every work day replying with one-liners to a bunch of questions. If, on the other hand, there was a limit (let's say five 2-pointers) - then there would be less incentive for this forum spamming.

This is the main problem of SDN now, one of the major reasons I have almost not been active at all for the last two years. The noise to signal ratio is much too high.

It's like comp.lang.c++ versus comp.lang.c++.moderated in good old UseNet.


Kjetil Kilhavn (Vettug AS) - ABAP developer since Feb 2000, but will probably never be a Rockstar developer
Read only

0 Likes
1,676

>

> This is the main problem of SDN now, one of the major reasons I have almost not been active at all for the last two years. The noise to signal ratio is much too high.

If you check, I think that you'd find that the noise to signal ration has gone way down in the past couple of years. The forum is much more heavily moderated now.

Rob

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,676

Did you check ACCIT, as this table is intended for "Interface to Accounting: Item Information" it contains most account assignment and currency amount.

Regards,

Raymond

Read only

0 Likes
1,676

That's the best structure I have seen so far, for my original question.

However, after trying with COBL yesterday and seeing how much work it was to fill it manually (field mapping) for a purchase order I decided to go for a less complete solution and have used the BAPI structure for account assignment information in purchasing (for requisition).


Kjetil Kilhavn (Vettug AS) - ABAP developer since Feb 2000, but will probably never be a Rockstar developer
Read only

0 Likes
1,676

Well, your question is interesting, but you come across quite arrogant, so I'm not sure about just how much people will feel attracted to help you.

Rob is 100% right about the noise level having gone down drastically (way before I was invited to help out).

Thomas

Read only

0 Likes
1,676

>

> Well, your question is interesting, but you come across quite arrogant, so I'm not sure about just how much people will feel attracted to help you.

That may be your impression and your opinion. I can live with that.

>

> Rob is 100% right about the noise level having gone down drastically (way before I was invited to help out).

> Thomas

Although that is probably true, that does not imply it is not too high. If SAP's overtime report had 10 errors causing incorrect results and SAP fixes 8 of them the report still produces incorrect results, which means it is still not useable.

You can call it arrogance if you will, but it is a fact that several very knowledgeable people who previously contributed heavily in SDN have left the forums because there were too many requests for step by step instructions, too many idiots who don't even use the F1 key before posting a question. I even got e-mails requesting help directly because I hadn't responded to questions. Why should we put up with that?

I expect people to make an honest effort before posting to SDN, and I expect them to expect nothing less of me. You may think that is arrogant. I call it common sense. I am paid by companies to work for them. Sometimes that means spending some time on the internet to search for answers or on SDN to request help and get pushed in the right direction, but it certainly never means spending two hours daily on SDN to provide basic training to people who want me to do their work. If that's arrogance I am proud to be called arrogant.

[For your information|http://www.wikihow.com/Be-Arrogant]


Kjetil Kilhavn (Vettug AS) - ABAP developer since Feb 2000, but will probably never be a Rockstar developer
Read only

0 Likes
1,676

Just spotted your reply now. You're mixing things up. I agree with most of your comments regarding SDN quality and effort spent before posting. We're fighting daily to the raise the level.

What I meant was that the tone you set when asking for help as in this thread will probably not encourage people to help you, so you might want to rethink that. It's up to you, of course. And it's my personal observation only.

Thomas