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

Re: ABAP CODE TO GET VALUE

$
0
0

Its part of my package SABAPDEMOS that contains the executable examples of the ABAP documentation's example library.


Re: Query getting executed based on userinput not customer exit variable

$
0
0

Hi Sander,

 

Unfortunately the root cause of all date problems is that windows does not have a persian calendar!!! ( apparently recently added in win 10).

 

Anyway, this is the code used to the conversion. I am closing this thread.

 

 

DATA: greg_dt TYPE d.

DATA: dat_format TYPE xudatfm.

DATA: conv_hijra(10).

DATA: lv_date(10) TYPE c." -- Gregorain to Hijra calculation can be adjusted by maintaining values in TISLCAL as required.

 

GREG_DT = SOURCE_FIELDS-BILL_DATE .

 

TRY.

CALL METHOD cl_abap_datfm=>conv_date_int_to_ext

EXPORTING

im_datint = greg_dt

im_datfmdes = 'C'

    IMPORTING ex_datext = conv_hijra.

CATCH cx_abap_datfm_format_unknown .

ENDTRY.

 

CONCATENATE conv_hijra+0(4) '/' conv_hijra+5(2) '/' conv_hijra+8(2) into lv_date .

RESULT = lv_date .

Re: Serial Number - Number Range

$
0
0

HI

 

my requirement is once the serial number has been assigned to one physical material item, the user should not able change it again.  How to controll this?

Re: Serial Number - Number Range

$
0
0

Explore enhancements.

By now you have deviated drastically from your original query.

Re: How to ''copy rows'' from one datasource to another?

$
0
0

Thanks Mustafa! -Good, this will definitely work. Addition question: if we do it this way then we probably first need to remove ALL/any existing row dimensions in the second datasource, before looping through the returned dimension array.  Is there a more elegant/generic way of doing that than writing several scriptlines, one for each dimension (DS_2.removeDimension("dimensionname");).

Kind regards Kristin

Re: Queries on File Adapter

$
0
0

thanks for your response,

 

I am trying to process the same extension of files (txt) ...

 

regards

raja

Re: Impossible to affect role to an .hdbrole

$
0
0

Hello,

 

i found the trick.

 

1. Remove the extension .hdbrole from your the role file

 

ex: iotaccess.hdbrole -> iotaccess


It becomes a normal file withtou extension and editable


2. past the code


role xxxtrial.iotmmsxsv2::iotaccess {

  application privilege: xxxtrial.iotmmsxsv2::Basic;

  catalog schema "NEO_yyyy": SELECT;

}

 

 

3. bring back the extension to the file ( .hdbrole)

 

4. Send the command in the catalog in sql interface

 

call "HCP"."HCP_GRANT_ROLE_TO_USER"('xxxtrial.iotmmsxsv2::iotaccess_user', 'xxx');

 

 

It works for me.

Object Type BUS1010 - Credit Limit

$
0
0

Dear

         Good Day ,

 

        when create trigger depend on object type BUS1010

        the event appeared  disabled  as below in the attachments

        can any one advice me

 

1event.JPG

2event.JPG

 

Best Regards,


Re: Visible/Invisible custom tab for Item details in ME21N/ME22N/ME23N

$
0
0

Hi Experts,

 

Before triggering item details in SUBSTITUTE method, if i  get the document number, i can process my coding part. Please suggest .

 

 

Best regards,

Narasimha.

Re: Queries on File Adapter

SCM upgrade from 701 to 713

$
0
0

Hi We are upgrading our SCM system from 7.01 to release 7.13 (SP10) Please let us know if any known issues, cautions, new functionalities etc.? Thanks in advance for your inputs! Kind regards Yogendra

Re: SAP CPS keep clause

$
0
0

No it is not this job that does this. The System_Defaults_System is only used for configuration, as mentioned above, the System_ProcessKeepClauses job will do the actual work. But as that is running every 15 minutes by default (look at job filter All Maintenance Jobs), there is nothing more you have to do.

Note that only jobs in an END (Completed, Killed, Unknown, Canceled, Error) state are removed. All other jobs (Waiting, Held, Console etc) will have to be set to an endstate first before they can be removed by the system.

 

Regards Gerben

HCP : HTML5 Application SSO with SAP Cloud Identity

$
0
0

Hi,

 

In HCP, I have a HANA XS Application public.dev (https://***.hana.ondemand.com/public/dev/) containing an xsodata service (https://***.hana.ondemand.com/public/dev/services/services.xsodata).

 

In HANA XS configurations, I connected SAP Cloud identity (https://.accounts.ondemand.com/admin/) to manage users. I also configure all HCP features to be managed with the SAP Cloud Identity.

 

Now it is configured, when I want to access to my xsodata service (https://****.hana.ondemand.com/public/dev/services/services.xsodata), I have a login page from SAP Cloud Identity. (I enter an email and password of my personal SAP Cloud Identity and xsodata service is working).

 

In HCP, I want to create HTML5 Applications (FIORI). When I launch SAP Web IDE, I have also a login page from my own SAP Cloud Identity provider. Email/Password and I can access to the WebIde and develop.

 

I want to consume my xsodata service from my HTML5 application. In this service, there are some features in terms of user information. I want to create a destination for that. Back in my HCP, I choose Destinations and create one with AppToAppSSO Authentification. In my Web IDE, I can see destination, it’s trying to connect to my Hana XS Service, but it’s not working. This is the error of my HANA XS server:

 

Assertion authentication failed with reason: Unable to verify XML signature(StatusCode: , StatusMessage: )

 

This is a SAML error.

 

I tried to launch my application using destination with the Launchpad, but I have the same issue in logs.

 

The real question is: How can I consume my xsodata service (in HANA XS) from my HTML5 Application without losing user information? Knowing that all identity management is configured with SAML – my own SAP Cloud identity provider.

 

For SAML and Destinations configurations, I followed guides:

 

SAP_Cloud_Identity_Service.pdf

SAP_HANA_Administration_Guide_en.pdf

SAP_HANA_Cloud_Platform.pdf

SAP_HANA_Developer_Guide_en.pdf

 

Thank you for your help.

 

Cheers,

 

Severin

Re: Copy Company Code -- master data for PP

$
0
0

Hi Talha,

 

Master data related to PP / QM are managed at plant level and not at company code levels. You can have one or multiple plants under a company code and for each plant you need to create master data or extend the existing master data.

If you are copy creating a plant from exiting plant then most of the config parameters will get copied. You need to extend exiting master data to new plant code (example BOM, Routing Work center etc). You also need to extend inspection plant, MIC, code groups catalogs etc. If you have limited set of data, if can be carried out manually for its always recommended to create / change / extend master data using mass transaction of LSMW.

You can utilize the option of BDC, BAPI IDOCs etc based on the complexity of master data. The master data sequence is important as you need to have material master ready first and then other dependent mater data. For example you need to have workcenters created first so that same can be assigned to operations of Routing and so on.

 

If you already have extraction program, use them to extract data or else take the dump of IMP tables for master data (for example, BOM - MAST & STPO , STKO). Create or use existing LSMW objects for extend materials and test the same. Data Migration is very imp and should also follow test in D-Q -P process flow.

 

Regards,

Rohit

Fiori Launchpad Designer - no catalogs are displayed

$
0
0

Hi,

 

I installed SAP Fiori according to the guidelines in SAP Help Portal:
- Setup of SAP Fiori System Landscape with ABAP Environment

- Configuration of SAP Fiori Infrastructure > Setup of SAP Fiori Launchpad

- App Implementation for Transactional Apps

 

I implemented 2 Apps:
- My Travel and Expenses for Employee
- Approve Travel Expenses for Manager

 

Relevant Packages are up to date:
- Frontend
        SAP NetWeaver 7.4 SPS 11

        SAP_GWFND 740 0013

        SAP_UI 740 0015

        UITRV001 100 0006

        UIX01TRV 100 0007
- Backend
        SAP NetWeaver 7.4 SPS 11

        EA-HR 607 0039
        SRA008 600 0010

 

Unfortunately in Fiori Launchpad neither Apps nor Catalogs are shown.
The Problem already starts in Fiori Launchpad Designer being empty (no catalogs, no groups).

 

During my problem investigation I found out, that in transaction /UI2/FLC (Fiori Launchpad Checks) all Packages are shown with no errors (all is green), but when I click on either one of the catalog IDs, MSIE opens and I get following error message (roughly translated from German):
"Catalog with ID:X-SAP-UI2-CATALOGPAGE:... does not exist; the first catalog in the list will be loaded".
The catalog IDs involved are:
SAP_TRAVEL_BC_MANAGER_X1
SAP_TRAVEL_BC_EMPLOYEE_X1
SAP_TRAVEL_TC_T_X1
SAP_TRAVEL_BC_BUSINESSTRA
SAP_TRAVEL_TC_T

 

Please advise since I am completely stuck here.

 

Thanks,

Christiaan


Re: All Blank Pages when exporting to PDF | .NET 4.6.1 + (SP 14 or SP 15 or SP 16)

$
0
0

Hi Andre,

 

Do you have Adobe Reader installed? Try enabling/disabling the Adobe Plugin in your Browser.

 

Have you tried different browsers?

Compatibility mode?

 

Most Browsers now have a PDF interpreter built in, we don't support them, maybe, depends on the version. Sometimes you also have to disable their PDF reader and use Adobe's....

 

Don

Re: How to allow only storage bin change to user.

$
0
0

Hi,

   You may create a new authorization role for the activity and add transaction code MM01 / MM02 along with the value "L" (storage location) alone for the authorization object M_MATE_STA , which will allow the storage location views only with the activity provided. The same has to be assigned to the user.

   Now, you can create a transaction variant in SHD0 for MM02 / MM01 and make all other fields as non editable, except the "storage bin" field. Assign the transaction variant for the specific users and activate. Refer the doc: How to Create a Transaction Variant

 

Regards,

AKPT

 

 

 

 

 

 

Re: Need information on use of Salesforce certificate in SAP PI

$
0
0

Hi Raghuraman,

 

The flow is both ways, from SFDC to SAP and vice versa too.

I though we were only suppose to add SFDC cert to PI trusted CA.

 

If the SFDC team is making call to PI,then you should generate and upload keys in PI.

Then share PI keys to the SFDC team.

 

which keys we need to create in PI and share with SFDC? is this for authentication?

 

Also will we require any white-listing in PI server or trusted CA is sufficient ?

Re: Outgoing & Incoming Payment Data Ownership

$
0
0

Hi Nagarajan,

 

I don't want the user to see other Outgoing Payments made by other users

 

Thanks,

Kerolous

Re: Export Package of Portal using Charm

$
0
0

Hi Carmen

 

Yes, you had already mentioned in your post first

 

How to use CTS+ Transport method in portal | SCN

 

Hence I had mention you can use CTS browser once CTS+ is implemented.

 

I hope it will clear your doubt.  Please close this thread if your query got resolved.

 

Thanks

Rishav

Viewing all 2079 articles
Browse latest View live


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