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: 

Get profit center codes by using the profit center group name

Former Member
0 Kudos

Hello, Im Jason.. right now I am having difficulty in retrieving the profit center codes using the profit center group names... for example: for a given country Macau, the profit center groups are 1263MOER & 1273MOER.. this information will be my basis to retrieve the profit center codes... Is there function module created for this.? Thanks a lot!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

check with this function module

BAPI_PROFITCENTERGRP_GETDETAIL

cheers,

sasi

6 REPLIES 6

Former Member
0 Kudos

hi,

check with this function module

BAPI_PROFITCENTERGRP_GETDETAIL

cheers,

sasi

Former Member
0 Kudos

Hi sasikumar! this is me Jason... I want to apologize for my late response...thanks a lot.. the function module that you gave me is really helpful.. Thanks again! Excellent!!!

Former Member
0 Kudos

Im having difficulty again.. is there any commands or keywords which i can use in concatenation that will serve as a line feed.. just like with the SKIP or ULINE. for example: CONCATENATE text-001 [line_feed or next line] text-002 into v_text.... so that the output will contain a heading and a subheading.. I will be using the (v_text) or the variable to pass in a function module that is to be used for ALV display....thanks!!!

Former Member
0 Kudos

Im having difficulty again.. is there any commands or keywords which i can use in concatenation that will serve as a line feed.. just like with the SKIP or ULINE. for example: CONCATENATE text-001 [line_feed or next line] text-002 into v_text.... so that the output will contain a heading and a subheading.. I will be using the (v_text) or the variable to pass in a function module that is to be used for ALV display....thanks!!!

Former Member
0 Kudos

For line feed try this -

DATA LF TYPE X VALUE '0A'.

CONCATENATE TEXT-001 LF TECT-002 INT) ....

Dont forget to reward if answers helped.

Cheers

0 Kudos

Hi Sanjay Sinha.... unfortunately it doesn't work... there's an error saying that the LF should have a type C, N, D, T or string....