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

BDC -

This message appears when I run a BDC session:

"Function code cannot be selected"

SDN says this will happen now and again in a BDC.

But am I missing a trick?

- Created report that calls Function Module that calls BDC - works

- Created report that creates pricing conditions, commits work and waits then calls function Module that calls BDC - does not work

This is all in the area of saving market plans in CRM if anybody has any experience in this area

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Aug 31, 2007 at 11:01 AM

    First, how do you call your transaction? Which parameters? How do you control the system messages?

    Second, how do you know it doesn't work? Are you receiving a dump? Error messages? The data is not updated?

    Please, elaborate a bit more your question to get a more appropiate answer.

    -


    If the data is not being updated, maybe you are skipping a return message that could give you a useful hint about the process. Try to execute it visually (mode = 'V' or the appropiate parameter) and check it again.

    No more help can be provided if no more information reaches us... I never faced your trouble, gladly...

    -


    Did you checked the commit really has been done? I mean, maybe your commit and wait have returned, but the tables are missing the information. Maybe you can (as a test) check the existance of the information inserted in the step previous to the commit (a SELECT SINGLE would do the work).

    Good luck.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 11:05 AM

    Hi,

    The reason can be wrong Function code Value , Say for Button wrong value.

    I suppose you are running BDC session method. So In Incorrect tab of prrocessing check the status log.

    Then on message double Click Till it takes you to the Transaction being processed.

    There it will mark '?' in field which you would be missing somewhere.

    Reward if useful!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 11:23 AM

    I'm using a function module to call transaction using bdcdata

    Ran this in screen mode and saw that transaction was locked.

    (The transaction is a trade promotion on CRM - CRM_MKTPL)

    So the question now is. I have written a report to open the transaction, create pricing conditions, commit work and wait, then run a BDC to re-open the transaction.

    But how come when I've openeing the transaciton to create my pricing conditions and commited work and waited ... why has the transaction not closed.

    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.