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

How to find out script logic is calling Business rules??

Hi ,

I am running Currency Conversion Business rule.

I have Logic in a script file which i am calling from DM package.

DM-- >ScriptLogic.LGF file -->Calling CurrConersion BR

I know that my logic is getting called...but is there any way we can know whether the logic is calling Business rule.

Thanks

Aamer

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 24, 2011 at 02:11 PM

    Hello Aamer-

    The following blog from Scott should be helpful in troubleshooting this issue:

    [Troubleshooting BPC NetWeaver Data Manager Packages|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18300] [original link is broken] [original link is broken];

    Regards,

    Sheldon

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sreeni,

      I had DataSrc DIM in my application,since i wasn't using it for BR I thought it wasn't required.

      However as u said and from reading the how to guide....understood that

      If u have the DataSrc DIM in ur Application,we need to maintain the "IS_CONVERTED = Y"

      then it worked.

      Thanks for help

      Aamer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2011 at 07:36 AM

    Hi Aamer,

    Go to Datamanager-->Organize pacakge list ---> select the related(CURR CONV)package and click on Modify package

    then click on VIew package and click on ADVANCED button and then you would be able to see the PROMPT and TASKS.

    At the end of the logic you can see the related script logic file name as shown below. This is where script logic is called when

    you run Currency conversion business rule DM package.Hope this helps. Thanks.

    TASK(/CPMB/FX_RESTATMENT_LOGIC,LOGICFILENAME,FXTRANS.LGF)

    Regards,

    Sanjeev

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2011 at 12:06 PM

    Hi Aamer,

    You would not be able to know the business rules reference from either DM package log or from the advanced DM package script. You need to check the currency conversion class in the backend. I would recommend you to use an SME here. The class is CL_UJP_CURR_CONVERSION.

    Is there any reason why you want to appear this?

    Thanks,

    Sreeni

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      When you are saying, it is getting cancelled, the package status ending with a big red cross. Check for the abap dump errors in st22 and see what it says.

      There is no specific parameter in webadmin. Check if you have FXTRANS = 1

      I am not sure if this is required paramter. Just have this and try running the package. I am assuming you have all the other set up, rates, the required properties in account and account type dimension in rate application are all maintained.

      Thanks,

      Sreeni

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.