Skip to Content
author's profile photo Former Member
Former Member

Get profit center codes by using the profit center group name

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 04:32 AM

    hi,

    check with this function module

    BAPI_PROFITCENTERGRP_GETDETAIL

    cheers,

    sasi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 01:13 AM

    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!!!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 01:21 AM

    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!!!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 01:22 AM

    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!!!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 02:06 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.