Application Development 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: 

Profit Center upload using LSMW

Former Member
0 Kudos

Hello,

I have created a LSMW project for profit center upload using the BAPI methodology, BUS0015(Profit center)/CREATE(method)

PROFITCENTER_CREATE(message type)

PROFITCENTER_CREATE01(basic type)

The Idoc inbound seeting are set as follows :

File port DX_PORT_00

Partn.Type US

Partner no. LSMW_PAR00

Message Type PROFITCENTER_CREATE

Process code BAPI

When I run the data file in, the Idocs are created successfully in status 53, but I do not see the actual profit center when I go to KE53. We are on ECC 5.0

Thanks in advance.

6 REPLIES 6

Former Member
0 Kudos

I am not too sure how things go with LSMW, but I know that quite some BAPI's need the BAPI_TRANSACTION_COMMIT to make the post complete, else they are rollbacked automatically.

0 Kudos

Dear all,

We are on ECC 6.0 and trying using the same configuration for loading profit center.

Unfortunately, we received error message in the step of IDoc generation and we found that the message type and basic type got truncated as 'PROFIT' and 'PROFITCE' respectively. But we could still see the correct info at the step of 'Display converted data' which is a step just before generation.

Have you guys had the same problem previously? Do you know what went wrong?

Cheers,

Ivan

0 Kudos

Dear all,

The problem is fixed now.

Thanks...Ivan

0 Kudos

Hi Ivan,

Even I am facing the same problem, Can u please tell me the solutions

Thanks in advance ,

0 Kudos

Dear all,

This would be a long story. Our company is doing implementation based on (or a copy of) the system from another country.

The problem was fixed because one of the the standard program (function module) had been modified previously from the original system for some reason. As long as I set it back to standard, it worked right away.

Therefore, I would say this solution may not fix your problem unless you are the one from our original system.

Cheers,

Ivan

Former Member
0 Kudos

Hi Divya,

Forgive me if this sounds very silly,

Did you by chance set 'X' to field 'TEST' of structure EDI_DC40.