Quantcast
Channel: SCN: Message List
Viewing all 3022 articles
Browse latest View live

Re: SELECT NTH_VALUE (COL1, 2 ORDER BY COL2) FROM T;

$
0
0

Hello Dirk,

 

the example from the documentation is working. What error do you get?

 

Regards, Florian


Re: Using Crystal Report for VS runtime from DLL which is called be C++ exe

$
0
0

Open as temp sadly makes no difference.

 

As a test I also tried to export the reports directly to pdf instead of opening them in the CrystalReportViewer control. This seems to work, so I guess it is a problem with the ViewerControl the framework provides.

 

If a try to view them I get the message from the very first entry of this post.

 

Strange thing is, that it is working when the js dialog for setting the parameters is used in the projects.

When such a project is loaded I can click on any other report and it also opens in the same instance of the CrystalReportViewer without errors.

But I need to open in correctly at the first time of course.

 

Do you have any more suggestions?

 

The installations of CR runtime are looking good, too.

We have this problem on all our PCs, so I doubt it is an installation problem.

 

Is there maybe a hotline which can help in such cases and maybe can look on my screen for a debugging session? I am out of ideas...

Re: Group Header not always showing on every page

$
0
0

Hi Abhilash,

 

I have created the formula as you suggested but I am having difficulty in positioning the new group above the existing group header.

 

How can I specify where to insert the new group? By default, the new group header appears 'Under' the existing group header  and I cant see where to move it so that it is 'above' the existing group header as you suggested.

 

Apologies if this has a simple answer (and I'm pretty sure it will have) but I am a newbie.

 

Thanks,

 

John

Wage Type with a specific day

$
0
0

Dear Experts;

 

I need to create a bonus that will be recorded with a number of days value. This number of days will be converted to an amount from the basic pay. The issue is, they want it to be calculated based on the amount that is recorded in the Basic Pay wage type with date 30.06.2015.

 

Whenever the date of this bonus, it should be calculated based on the amount of the basic pay in 30.06.2015. Can you help me know how to make that condition.

 

 

Thanks in advance.

 

Best Regards;

Lobna

Screen resolution in script

$
0
0

Hi all

 

Is there a way to get the screen resolution via script in Design studio?

I need it to organize things on the screen dynamically

 

Thanks

 

Shlomi

Background ALV to spool. Program exits after set_table_for_first_display

$
0
0

Hi,

 

I'm trying to write a program to send by email an ALV output using cl_gui_alv_grid.

After creating the spool executing the method set_table_for_first_display, the program exits and don't execute the next step.

 

Any help?

 

Thanks a lot,

Susana

.....

 

  IF CL_GUI_ALV_GRID=>OFFLINE( ) IS INITIAL.

* Run in foreground

       CREATE OBJECT pe_container EXPORTING CONTAINER_NAME = 'c_container'.

       CREATE OBJECT pe_alvgrid EXPORTING I_PARENT = pe_container.

     ELSE.

* Run in background

      CREATE OBJECT pe_alvgrid EXPORTING I_PARENT = pe_dock.

     ENDIF.

 

     pe_layo-cwidth_opt = 'X'. "OPTIMUM WIDTH OF THE COLUMN

     pe_layo-zebra = 'X'. "Alternate line coloring

       

     CALL FUNCTION 'SET_PRINT_PARAMETERS'

     EXPORTING

      layout      = 'X_90_120' "Format

       line_count  = '80' "Line Count

       line_size   = '105'. "Line Size


    pe_print-print = 'N'.

    pe_print-prntlstinf = 'X'.

 

 

   CALL METHOD pe_alvgrid->set_table_for_first_display

     EXPORTING

       i_save                        = 'A'

       is_layout                     = pe_layo "Layout

       is_print                      = pe_print"For Creating Spool

     CHANGING

       it_outtab                     = t_proy "Final Internal Table Containing Data to Display

       it_fieldcatalog               = it_fieldcat "Fieldcatalog

     EXCEPTIONS

       invalid_parameter_combination = 1

       program_error                 = 2

       too_many_lines                = 3

       OTHERS                        = 4.


* EXITS HERE  


   IF sy-subrc <> 0.

     MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

   ENDIF.


*  convert spool to pdf and send as attachment to sap inbox.

 

   MOVE sy-spono TO lv_spool_nr.

   CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'

     EXPORTING

       src_spoolid                    = lv_spool_nr "Spool Number

       no_dialog                      = space

       dst_device                     = 'LOCL' "Printer Name

       importingpdf_bytecount         = lv_size "Output Size

       tablespdf                      = lt_pdf_output "Spool data in PDF Format

       exceptionserr_no_abap_spooljob = 1

       err_no_spooljob                = 2

       err_no_permission              = 3

       err_conv_not_possible          = 4

       err_bad_destdevice             = 5

       user_cancelled                 = 6

       err_spoolerror                 = 7

       err_temseerror                 = 8

       err_btcjob_open_failed         = 9.

Re: Sale order quantity less than actual quantity

$
0
0

thanks for the information venkat, but i have written the code but unable to reach the requirement

 

regards

Aditya

Re: New HCM system Installation

$
0
0

Is it possible? Yes. Should you do it? NO NO NO NO NO!!!!! You are asking for danger/disaster.....and where is your QA system? You would be better off (if you had no choice) to put DEV and QA on one and keep PROD by itself (ALWAYS!!!!)


Re: %SELECTION% Hardcode not working

$
0
0

ESF is just an alternative to get xml text to hardcode into %SELECTION% (instead of log). But please, show full script!

 

Vadim

Working with multi language data

$
0
0

Hi All,

Can some body explain me how in real world we can use multi language data types for example MEDIUM_Name.

If I am understanding the logic behind. The way should be something like:

1. Create BO for your multi language Master data

     1.1 It should contain node Description like following

node Description[0,n]{          element Description : MEDIUM_Name         }

     1.2 You create screen with Advance list for Description each line one Language ( I hope this is the right way if not correct me.)

2. Create BO for Transaction data .

     2.1 And here becomes the mess.

          2.1.1 I assume that I should create one data element like   element

 

              element Description : MEDIUM_Name

And probably on loading event I should find the proper language and extract the correct data from Master data BO.

or.

     2.1.2 Or I should keep all language data in Transactional BO with :

node Description[0,n]{          element Description : MEDIUM_Name         }

     But somehow I should have the current language only probably in second field.

So the question is what is the idea behind Language dependent text and how is the right way to use it.

Best Regards Ognian.

Re: Date variable help...

$
0
0

Hi,

 

it's fine.Can you try with my formula .see i have already highlighted in the screenshot.

 

Amit

Re: GR Based IV grayed out

$
0
0

If there was already history then the indicator cannot be changed.

Re: Async sync bridge

$
0
0

Hi Priyanka,

 

You can choose the methods, but remember the following points keeping optimisation and efficiency in mind-

 

1. Modules is in the same AAE so until there is a problem with AAE it will run.

2. BPM you have the dependency on BPE, if for some reason it went down and even if AAE is working message fails.

 

3. Soap Lookup - if the service you are looking up went down then even if PI is working message fails, even bottle neck on thread count is an issue.

 

Thus, for better reliability and easy tracking of your messages if you have modules use them.

 

Regards,

vikas

Count item by Brand and Type Sales

$
0
0

Hi

 

I continue practicing in BO, in this moment I am trying to create a new variable to calculate how many items were sold by brand and type of sales consultant. But the problem I have is I have two conditions.

 

Brand X

 

Type sales consultant ON    min (0.25 bottles)

Type sales consultant OFF    min (0.50 bottles)

 

 

Brand Y


Type sales consultant ON  min (0.17 bottles)

Type sales consultant OFF  min (0.33 bottles)

 

 

My data is:

 

Brand      Type        Item      Sales

X              On          1            0.25

X              On          3              1

X              Off          2            0.50

X              Off          1            0.16

Y              On          1            0.17

Y              On          3              0

Y              Off          2            0.50

Y              Off          1            0.16

 

my result must be

 

brand X = 3 (because 2 sales consultant ON sold more than the min (0.25)  AND 1 sales consultant OFF sold more than the min (0.50)

 

brand Y = 2 (because 1 sales consultant ON sold more than the min (0.17)  AND 1 sales consultant OFF sold more than the min (0.33)

 

How can I make it?

 

thanks

Re: Pricing - Discount Condition Base Value

$
0
0

Hi

 

If I understood it, you want to figure out it as a group condition but to apply it for items. It's difficult to solve it without to reproduce it, but I'd try with VOFM formula base subroutines (maybe in the pricing procedure) or in the condition (V/06), you have the chance to handle it with VOFM subroutines in scales.

 

My apologies, but now I am without a SAPgui and I am remembering the screen for V/06.

 

I hope this helps you

 

Regards

 

Eduardo


Re: It is possible to post to multiple AR GL accounts?

$
0
0

Hi Scott,

As stated by our colleagues, through Account Determination configuration, you can make Invoices post to different A/R (Reconciliation) Accounts but  that will post all charges to a given A/R G/L Account.

I

If the charge in question is being posted to a unique Profit & Loss G/L Account, may I suggest that your Finance Users to adjusting entries in FI-GL at month-end to affect the appropriate A/R accounts by debiting the appropriate Profit & Loss G/L account/s.

I hope this helps.

Regards,

Ivor

Re: SAP Power Designer

$
0
0

The result sets are stored 'inside' the List Reports - you'll see them in the Browser or the 'Result Sets' tab on the List Report.

 

There's nothing in the script that would cause content to be output more than once. It's possible for there to be duplicate information in multiple rows in a List Report, such as one that exports:

 

Parent Process Name, Process Name

A,B

A,C

A,D

BW 7.4 Connection with IBM Cognos

$
0
0

Hi Experts,

 

I am looking to load the data from IBM Cognos TM1 to BW on HANA (BW 7.4). Do you guys have any pointers towards it ?

 

I did some research, COGNOS Team is looking into connecting with BW via some SAP BW Client in Cognos which will get it access to BW Info Providers

 

Details : https://www.ironsidegroup.com/wp-content/uploads/2010/01/sap_cookbook.pdf

 

But i was not able to find anyway to consume the data other way around.

 

Regards,

Bhawick

Re: Offline OData Store wrong URL

$
0
0

I would loop Dan to provide his inputs on your issue.

 

Regards,

JK

Re: Problem with encoding of mail attachment

$
0
0

Hi!

 

Great, that did the trick! Thank you! I was looking for exactly that information, but i could not find any documentation on other objects than the core mail object ...

 

BR, EF

Viewing all 3022 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>