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

Re: Deriving a Calculated column by looping

$
0
0

Hi,

 

Here you goes.

 

1.) Create first projection and insert your table.

2.) Create one more projection and insert your table and put filter text = 'GW3'.

3.) Join both of them as 'left outer' join.

4.) In join node, create one more claculated column as 'date_alt1'

    and give condition as ..

if(isnull("date_alt"),'NULL',"date_alt")

 

5.) Join it with your upper projection.

 

joins.png

 

result10.png

 

Br

Sumeet


Re: Contract total value in ME33k

Re: Any difference between data pulling from a table Vs. by using a FM?

$
0
0

"If I have no problems then I create them myself", is that your ideal approach?

I do not see much sense in reinventing the wheel. And honestly I never saw in 18 years that someone cared about how much is loaded into runtime environment when calling a standard SAP given function module.

But the PO history has to be understood, as it collects many different documents, in an ideal world you have 1 receipt and 1 invoice for a single item, but in real world there might be hundreds of partial receipts and cancellations and re-entering and then as well as much invoices and even more for additional costs like freight, customs etc.

And to add more complexity, history can be aggregated and then a direct EKBE access would certainly be insufficient.

Re: Cleanup old deleted assignments and save DB space ?

$
0
0

Hi Siarhei,

 

The most important thing is to make sure that you have a database backup.

 

Take a look at the following documents to give you some ideas on how to maintain your database:

 

SAP NetWeaver Identity Management Using the Configuration Analyzer - The Config Analyzer will show you views that are obsolete that still might be in your system.

 

Take a look at the Solution Operation Guide.  This will give you some specific information on working with the Audit Table for DB purposes.

 

Hope this helps!

 

Regards,

Matt

Re: [COMException (0x800001fb): Invalid file name.] error on arvixe shared host

$
0
0

Hi Victoria

 

 

CR writes a lot of files into a temporary directory before actually working with the report. E.g.; you can think of the actual rpt, on load, getting broken up into little pieces. These pieces are saved to a temp folder and it is the temp files that are used by the engine to render the report. If the temp folder does not have read / write permissions, there is nothing for the engine to work with and thus it will throw an error. E.g.; the provider will have to tell you where the temp directory is for your process. This would be the easiest permissions issue to resolve. After that, you are down to using a utility such as Process Monitor to determine what permissions are actually lacking. It could be on a file, folder or a registry key. I do not know if the provider will let you run ProcMon on their system or if they will want to do it. In either case, make sure to set up a filter in ProcMon for your process only. Otherwise the logs will just get way too big.

 

Oh., BTW. The version of the runtime on that system is using Service Pack 5. We are currently on SP 14(!). there is a lot of fixes between SP 5 and SP 14 as well as support for VS 2013 was added after SP 5 as well as support for WIN 2012, etc., etc. The issue you are asking about is more than likely not related to SP 5, but it would be best practice id the provider would update the runtime...

 

 

 

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

 

Message was edited by: Ludek Uher

Re: Get old and new values from DBTABLOG table

$
0
0

I recommend using field symbols instead of the offset technique. Below, I am expanding a single record from DBTABLOG for a custom table called ZZ1099. Note that DBTABLOG records don't give the "before and after" value -- only the "before" values. You have to combine them yourself.

 

FORM expand_logdata_line  USING p_line_in  TYPE dbtablog

                       CHANGING p_line_out TYPE gty_log.

 

 

  DATA:

    ls_1099   TYPE zz1099,

    lr_conv   TYPE REF TO cl_abap_conv_in_ce,

    lf_xdata  TYPE xstring.

 

 

  FIELD-SYMBOLS:

    <lfs_log>  TYPE dbtablog,

    <lfs_data> TYPE any,

    <lfs_desc> TYPE dfies.

 

 

  lr_conv = cl_abap_conv_in_ce=>create( ).

 

 

  DO.

    ASSIGN COMPONENT sy-index OF STRUCTURE ls_1099 TO <lfs_data>.

    IF sy-subrc NE 0.

      EXIT.

    ENDIF.

    READ TABLE gt_fldlist INDEX sy-index ASSIGNING <lfs_desc>.

    IF sy-subrc NE 0.

      MESSAGE e999(zj) WITH 'Field' sy-index 'description not found'.

    ENDIF.

    IF <lfs_desc>-keyflag EQ 'X'.

*     Extract ZZ1099 key field contents from logkey field of log structure

      <lfs_data> = p_line_in-logkey+<lfs_desc>-offset(<lfs_desc>-intlen).

    ELSE.

*     Extract ZZ1099 regular field contents from logdata field of log structure

      lf_xdata = p_line_in-logdata+<lfs_desc>-offset(<lfs_desc>-intlen).

      lr_conv->convert(

                 EXPORTING

                   input = lf_xdata

                 IMPORTING

                   data  = <lfs_data> ).

    ENDIF.

  ENDDO.

 

 

  MOVE-CORRESPONDING:

    p_line_in TO p_line_out,

    ls_1099   TO p_line_out.

 

 

ENDFORM.                    " EXPAND_LOGDATA_LINE

Re: SAP Fiori Approve Leave Request error

Re: Using Excel as Data Source for Crystal Reports (with Java SDK)

$
0
0

Ok. Got an answer from a coworker. He actually tried to pass the answer here, but ran into some technical issues.

 

In any case I got an email asking me to add the following for him. Please see if that helps:

 

 

------------

When CRJava runs into a problem with a JDBC connection, it fails over to try the JNDI connection.  If it can't find a configured JNDI connection - then it can throw this error.

 

Most likely you are missing some small property.  The easiest way to figure out what is wrong is to do the following:

 

  1. 1. Obtain the "Display Connection Info" sample from here:

https://smpdl.sap-ag.de/~sapidp/012002523100006008982008E/crxi_r2_jrc_web_smpl.zip

 

  1. 2. Design a report in the report designer that is based off of Excel

 

  1. 3. Change the report names so they are both the same (Your report created of of excel)

 

  1. 4. Run it - it will display the exact properties you need to set in your code.

 

 

- Ludek


Re: 'SMD~ABAP': No Name found in Instance 'SMD~ABAP~HOST'. 'SMD~ABAP': Path of Instance 'SMD~ABAP~HOST' is invalid : it must contain the Instance Number '00'.

$
0
0

Hi Jaskirat,

 

Thank you,

 

Your reply helped.

 

Landscape parameters step in Managed system configuration was not performed properly.


ABAP instance path was missing in Landscape parameter step.


Regards,

Veekshith Shetty

Re: Unable to create the webi report on top of IDT universe using BI launch pad

$
0
0

Hi Rajesh,

 

Error 21 usually means that the BI Platform Server and Client are not at the same version level.

 

Check you client and server are at the same level.

If you update the client, then retrieve the universe, refresh and re-publish.

 

Jacqueline

How to associate employee number to the structure PC207 output - help!!

$
0
0

Hi experts,

 

I'm working on a BI project in which I need to associate employee number to the structure PC207 output and I don't know how to establish the relationship between PC207 and the personnel master table.

 

Is it possible?... Can anybody help me?

 

Thanks in advance!

 

Regards

 

Damian

HANA Client Library is showing 95 but it should be 97

$
0
0

hi

 

we have done HANA client upgrade to Revision 97. in hana db server its showing 97  but sap application server (SAP ECC6.0) the system is still showing Revision 95. The system was restarted also after upgrade.

Short Dump when trying to add a condition in a Rule

$
0
0

Hi

 

I have an issue within a rule set where I am doing a loop on a table, within the loop I am having a problem adding a condition;

As soon as I press the button to add the condition there is a short dump.

 

I have managed to do exactly the same on a more recent version (740) while I got the dump on a (731 05)

 

The version where I have the dump isFirst.pngThe dump is

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_FDT_INPUT', was not caught in

procedure "GET_RULE" "(METHOD)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

An BRFplus exception for invalid input occurred

 

What I can not do is on the next screen adding the AND condition (ET here sorry french...)

Second.png

So If someone has any clue on what is going on and if there is an OSS note to apply please tell me ...

 

Cheers

Stephane

Re: ABAP how to get KOSTL from IT2003

$
0
0

Hi,

 

Check in Infotype 0001.

Infotype0001.PNG

 

Thanks,

Mona

Re: House Bank Creation - Missing GL Account field in FI12_HBANK

$
0
0

Hi David,

I am sure you have answer for your question already. But just in case others will like to know the answer to the question - Using NWBC - go to cash manager, then manage bank accounts. Click on Account List.  Select/Click on the bank account you want to assign GL Account. From here click on the "Connectivity Path" Tab. Then click on Edit to be in change status. By the left hand corner you should see add - click on "Add. You should now be able to see the "House Bank Account Data" with the field G/L Account.

 

I hope this help resolve your issue.

 

Regards,

Andrew F


Re: call (from script) which Tray is the Paper Source to be used when printing a report.

$
0
0

Hi Pat,

 

Someone from the CIC team did ask me about you and I told them to just create the case for you yesterday.

 

They should have called you by now...

 

Don

Re: SMARTFORMS TABLE ALIGNMENT

WEBi Security issue for Restricted Users

$
0
0

Hi All,

 

I am facing issue to give rights to user to see Refresh Values button in WEBi Prompts.

 

But, as admin I am able to see the same button. I am good in providing all other rights except this.

 

Please check my below given rights and help me if i have missed anything.

 

Rights.png

As admin, i am getting the Refresh Values button as below.

Admin User.PNG

But, restricted user is not able to get the same.

Restricted User.PNG

Thanks in advance

Murali.

Re: Screen Personas 3.0 End User Role to access two flavors for same tcode using url (without switching)

$
0
0

Simple... assign the flavors to the user as default. When they start the transaction, they will get the flavor applied automatically and they won't have the option to see the Original Screen.

When the flavor is part of the URL, that is considered as selecting a flavor so with authorization 01 this won't work.

Re: Customer S Number

Viewing all 8713 articles
Browse latest View live




Latest Images