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

Re: Problem in BDC execution with mode 'N'

$
0
0

Hi Ganesha,

 

I think you have to use the commit work statement to update the database.

 

 

or you can use the below code to get the error records

 

DATA:t_msg TYPE TABLE OF bdcmsgcoll,
         wa_msg TYPE bdcmsgcoll,
         wa_msg1(50).
   CALL TRANSACTION 'ME51' USING t_bdcdata MODE 'w_mode' UPDATE 'S' MESSAGES INTO
         t_msg.
   IF sy-subrc = 0.
     MESSAGE 'data uploaded into table eban' TYPE 's'.
   ENDIF.
   LOOP AT t_msg INTO wa_msg WHERE msgtyp = 'E'  .
     CALL FUNCTION 'MESSAGE_TEXT_BUILD'
       EXPORTING
         msgid               = wa_msg-msgid
         msgnr               = wa_msg-msgnr
         msgv1               = wa_msg-msgv1
         msgv2               = wa_msg-msgv2
         msgv3               = wa_msg-msgv3
         msgv4               = wa_msg-msgv4
       IMPORTING
         message_text_output = wa_msg1.


     wa_output-msg_err = wa_msg1.

     DATA:
        wa_string(10) TYPE c.

     wa_string = wa_kna1-matnr.

     CONCATENATE wa_string wa_output-msg_err INTO wa_output-msg_err SEPARATED BY space.

     APPEND wa_output-msg_err TO it_output.

     w_error = p_error.

     CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
*       BIN_FILESIZE                    =
         filename                        = w_error
        FILETYPE                        = 'ASC'
*       APPEND                          = ' '
*       WRITE_FIELD_SEPARATOR           = ' '
*       HEADER                          = '00'
*       TRUNC_TRAILING_BLANKS           = ' '
*       WRITE_LF                        = 'X'
*       COL_SELECT                      = ' '
*       COL_SELECT_MASK                 = ' '
*       DAT_MODE                        = ' '
*       CONFIRM_OVERWRITE               = ' '
*       NO_AUTH_CHECK                   = ' '
*       CODEPAGE                        = ' '
*       IGNORE_CERR                     = ABAP_TRUE
*       REPLACEMENT                     = '#'
*       WRITE_BOM                       = ' '
*       TRUNC_TRAILING_BLANKS_EOL       = 'X'
*       WK1_N_FORMAT                    = ' '
*       WK1_N_SIZE                      = ' '
*       WK1_T_FORMAT                    = ' '
*       WK1_T_SIZE                      = ' '
*       WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
*       SHOW_TRANSFER_STATUS            = ABAP_TRUE
*       VIRUS_SCAN_PROFILE              = '/SCET/GUI_DOWNLOAD'
*     IMPORTING
*       FILELENGTH                      =
       tables
         data_tab                        = it_output
*       FIELDNAMES                      =
      EXCEPTIONS
        FILE_WRITE_ERROR                = 1
        NO_BATCH                        = 2
        GUI_REFUSE_FILETRANSFER         = 3
        INVALID_TYPE                    = 4
        NO_AUTHORITY                    = 5
        UNKNOWN_ERROR                   = 6
        HEADER_NOT_ALLOWED              = 7
        SEPARATOR_NOT_ALLOWED           = 8
        FILESIZE_NOT_ALLOWED            = 9
        HEADER_TOO_LONG                 = 10
        DP_ERROR_CREATE                 = 11
        DP_ERROR_SEND                   = 12
        DP_ERROR_WRITE                  = 13
        UNKNOWN_DP_ERROR                = 14
        ACCESS_DENIED                   = 15
        DP_OUT_OF_MEMORY                = 16
        DISK_FULL                       = 17
        DP_TIMEOUT                      = 18
        FILE_NOT_FOUND                  = 19
        DATAPROVIDER_EXCEPTION          = 20
        CONTROL_FLUSH_ERROR             = 21
        OTHERS                          = 22
               .
    IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.                           " IF sy-subrc <> 0.

     ENDLOOP.

 

Thanks&Regards,

khaleel


how to trasnfer material from one wbs to other of same project

$
0
0

Hi

The client wants from wbs A assigned to project x having 10 qty of matrial ,4 matrial need to be  reassigned to wbs b assigned to project x.

so wbs a will have 6 matrial and wbs b will  have four material. how this will be done

 

 

John

Re: Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

$
0
0

Hi Anu,

 

Please reward in case the issue is solved.

 

/Hasan

Where did my SDN point go?

$
0
0

I cannot see anymore my sdn points, has anyone been facing the same issue or just me?

Re: How to Reconcile Asset Legacy data with SAP uploaded data

$
0
0

Thanks Ajay.

I have found the difference about Legacy & SAP. The reason is user has given Legacy Data with wrong value for the Depreciation of Current Year. This is the reason we got difference between them.

 

For example, Accum. Depn for the whole current year 2013 is 650 only. But user has given Acc.Depn. Value for April 2013 to July 2013 as 817 (for 4 months). Like this So system is showing difference.

So, as per my understanding we can use t.code S_ALR_87011963 for reconcile of Legacy data & SAP uploaded data and also we can use AR02 t.code.

 

Regards,

M.Mohan.

Error:-CATS Data Entry Profile not considering the Public Holidays

$
0
0

Hi Experts,

 

When the employee books the time sheet , system is allowing to book it on public holidays & the particular day time field is avlable for data entry.

 

I mean it is allowing to book time on 15 Aug & 9th Sep-Ganesh Chaturthi-Public Holidays.

 

How can i stop this, i have checked the Holiday calendar, all the days are marked as public holidays-1

 

How can i grey out the holiday days in the data entry profile.

 

Please guide.

Re: Oracle Update BSP 11.2.0.3.0 to 11.2.0.3.7

$
0
0

Hello,

 

No 11203 exists in my installation folder.

 

Kind regards,

PIU

Re: GP_ERR_RSTRAN_MASTER_TMPL issue when transformation activation

$
0
0

HI

 

Check if Note 1762252 or 1809029 is relevant in your release

 

Martin


Re: GP_ERR_RSTRAN_MASTER_TMPL issue when transformation activation

Re: Need inputs from Moderators - Blog content rejected

$
0
0

Dear Moderators,

 

Plz help or advise something here.

 

Thanks,

Pushkar

Re: GP_ERR_RSTRAN_MASTER_TMPL issue when transformation activation

$
0
0

As stated by mates,

1. Replicate your data source and activate it

2. Check whether added info objects in cube are active or not.

3. Activate info cube

4. Create transformations and activate them

later create reaming like create info pack and dtp etc.

 

Thanks

Re: ToDate() function not working

$
0
0

Don't use MM - it would expect 09, not 9 for September

 

Use:

=ToDate(UserResponse("Your Date Prompt"); "M/d/yyyy hh:mm:ss A")

How to launch the Persona flavor from webdynpro

$
0
0

hello Colleageus,

 

I want to launch a persona flavor from a Webdynpro application.

First thing i need is link which will launch the particular flavor. How can i get his link for a flavor.

 

After getting this is there any particular way to call the Persona flavor.

 

Thanks in advance.

Best regards,

Girish

Re: Netweaver 7.31 Kernel Update

Re: CPS Interception - Schedule vs Schedule Intercepted (+ SAP_SynchronizeInterceptionCriteria)

$
0
0

Hi Jamie,

 

You are still confusing several terms (XBP2.0, 3.0, late intercept, redwood intercept) in this piece. Let me quote the help file:

 

SAP Intercept

The SAP System compares the job to a list of criteria and decides to execute the job or to "derelease" the job, the latter means that the job will not run at this point. SAP CPS will take control of "dereleased" jobs and reschedule them. This functionality requires XBP 2.0 or later. With XBP 3.0 your interception rules have a processing order, so you can easily include and exclude certain jobs from interception.

 

So this is all the SAP intercept, both XBP2.0 and XBP3.0. These ARE different as mentioned in my other post. XBP3.0 offers a wider scope of rules (like negation rules) stored in Criteria_Manager. SAP intercept requires you to push the interception rules with SAP_SynchronizeInterceptionCriteria (except Monitor rules as they do monitor only, no intercept).

 

Late Intercept

SAP CPS attempts to intercept the job before SAP has a chance to execute it. This is not always reliable, this functionality requires that the Redwood transport files be loaded.

 

This is both 'late' and Redwood intercept.

 

So now we know the different types of interception methods, we move on to the types of interception rules (again I quote the Help file here):

 

ActionDescription
MonitorA reference to the job is created in SAP CPS. The status of the SAP job can be monitored in the job monitor of SAP CPS.
HoldA reference to the job is created in SAP CPS. If the SAP job is found to be in a Released state in SAP (which means waiting to start at a certain point in time), it is dereleased (put back in status Scheduled in SAP) and submitted on hold in SAP CPS.
IgnoreJobs that match this rule are confirmed in SAP, so they are not checked again, and ignored (no reference to the job is created in SAP CPS).
ScheduleA reference to the job is created in SAP CPS. If the SAP job is found to be in a Released state in SAP (which means waiting to start at a certain point in time), it is dereleased (put back in status Scheduled in SAP). The job is scheduled to start in SAP CPS at the time it was intended to be in SAP.
Start ImmediatelyA reference to the job is created in SAP CPS. If the SAP job is found to be in a Released state in SAP (which means waiting to start at a certain point in time), it is dereleased (put back in status Scheduled in SAP) and SAP CPS attempts to start the job as soon as possible.
Schedule InterceptedJobs that have been intercepted by the SAP system are scheduled in SAP CPS.

 

So how do we read this information. Everywhere it talks about jobs found in a Released state in SAP we are talking about 'late' or 'Redwood' intercept. With SAP intercept enabled the jobs should never have been in Released state anyway!

 

So 'Schedule Intercepted' is working for SAP intercept, 'Schedule' for 'late' intercept.

 

Anyway, most of this stuff is legacy anyway. You want to focus on getting the 'Schedule Intercepted' rule working together with XBP3.0 Interception using CRITERIA_MANAGER using SAP_SynchronizeInterceptionCriteria to sync the rules to SAP.

 

UNLESS you want to intercept BW process chains. In that case you setup a Monitor rule for job BI_PROCESS_TRIGGER.

 

Regards Gerben


Re: Deactivate Iteraction Record

$
0
0

Hi Jay,

 

 

There is a BADI  CRM_IC_IARECORD which gets hit just before creation of Interaction record to check if it has to be created or not. 

 

BADI path :

SPRO -> CRM -> Interaction Centre Webclient -> Business Transaction -> Interaction Record -> BAdI: Control of Interaction Record Creation

 

Coding is to be done in method BEFORE_IREC_CREATE & if return parameter RV_SUPPRESS_IREC  is passed as ABAP_TRUE then interaction record does not gets created.

 

Regards,

Ravi

Re: Compensation planning process program question

$
0
0

Thanks Siddarth. I have gone through the documentation. The question I have is:

 

RHECM_STATUS_CHANGE program allows change a compensation status for only one organizational unit.

 

Our requirement is to change the compensation plan for mass org units. It seems the new program (RHECM_STATUS_CHANGE)  does not have option to select multiple org units.

 

At the same time we wanted to make use of this new program functionlaity for seme other benefits.

 

My main question is How can I make this new program to work for multiple org units compensation status change.

 

Thanks for your time to anwser my question.

 

Thanks

Krishna

Re: Could not parse arguments to SAP NetWeaver Identity Management config Copy Tool

$
0
0

Hi krishna,

I changed all to 32 bit  as you suggested but i doesn't help

Re: Could not parse arguments to SAP NetWeaver Identity Management config Copy Tool

$
0
0

Hi  Keith,

I applied the note and patched the RT but the issue still exist.

 

The test of the dispatcher is giving the same results, even after applying the note::

 

 

Running MxDispatcher_imd_dispatcher1.

MxDispatcher version: 7.2.8.1 Built: 28.07.2013 18:38:21 (c) Copyright 2008 SAP

AG. All rights reserved.

Java VM: SAP AG   Version: 1.6.0_51

Java home: C:\Program Files (x86)\JAVA\sapjvm_6\jre

Java lib/ext: C:\Program Files (x86)\JAVA\sapjvm_6\jre\lib\ext-sap;C:\Program Files (x86)\JAVA\sapjvm_6\jre\lib\ext;C:\Windows\Sun\Java\lib\ext

CLASSPATH: D:\usr\sap\IdM\IdentityCenter\Java\mxdispatcher.jar;D:\oracle\IMD\112_64\jdbc\lib\ojdbc6.jar;C:\Program Files (x86)\JAVA\sapjvm_6\jre\lib\security\local_policy.jar

java.lang.Exception: decryptString failed java.lang.Exception: decryptString failed: decryptString failed: decrypt failed: javax.crypto.BadPaddingException: Given final block not properly padded

        at com.sap.idm.util.enc.StringEncIDMUtil.decryptString(StringEncIDMUtil.java:175)

        at com.sap.idm.util.enc.StringEncIDMUtil.inlineDecryptString(StringEncIDMUtil.java:123)

        at com.sap.idm.util.enc.StringEncIDMUtil.decryptStringRecursive(StringEncIDMUtil.java:37)

        at com.sap.idm.ic.services.dispatcher.MxDispatcherConfig.bootStrapProperties(MxDispatcherConfig.java:734)

        at com.sap.idm.ic.services.dispatcher.MxDispatcherConfig.<init>(MxDispatcherConfig.java:445)

        at com.sap.idm.ic.services.dispatcher.MxDispatcherConfig.getInstance(MxDispatcherConfig.java:427)

        at com.sap.idm.ic.services.dispatcher.MxDispatcher.main(MxDispatcher.java:237)

Can not initialize dispatcher configuration (prop file): decryptString failed java.lang.Exception: decryptString failed: decryptString failed: decrypt failed: javax.crypto.BadPaddingException: Given final block not properly padded

 

 

 

I can overcome this issue  by hardcoded the MC_JDBCURL=jdbc:oracle:thin:IMD_RT/****@hostname:1521:SID

 

but i don't think this is the right way.

 

Best Regards,

Sherif

Re: Support Package Upgrade on SAP IDES 6.0 ERP 6

$
0
0

Hi Aleks,

 

You will have to keep digging the log directory for any file with recent time stamp to understand if there is any progress. Also if my understanding is currect you would not be able to login into system due to SYNTAX_ERROR. So at this time you cannot set any parallel process.

 

This is an IDES system, so may be you can give it a try through OS. Please see the last answer of this thread.

 

http://scn.sap.com/thread/727388

 

Regards,

Subhash

Viewing all 8713 articles
Browse latest View live




Latest Images