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

Re: How to automatically assigned the Value to ID as YY/NNNN.

$
0
0

Hi Malkit,

 

For Get current year please check the below function :

 

Example

 

For Current Date use the below syntax

this.currentyear = Context.GetCurrentSystemDate().GetYear();

 

For Get Year using Date use this code

this.date = Date.ParseFromString("20100215");

this.result = this.date.GetYear();

Result: String value 2010

 

For Auto generate NNNN starting from 2000 you need to use Re-use library function or you need to create generate id from function

Refer the blog :

 

How to Use the Reuse Library NumberRange

Re: How To create number range for custom BO

Re: Automatic ID Generation

 

Regards,

Mithun


Re: Include GBT01FIM missing in transaction FB01

$
0
0

Thanks,

but we wonder, because we have this issue since we have done the upgrade from 4.7 to ECC 6.0 EhP7.

 

We did a look to our old DEV System (4.7) and there is the include in the system??

 

Could it be, that this include is deleted by the upgrade??

 

Gruß

Toni

Re: Unable to process IT table wage types in custom PCR

$
0
0

In paytp E of pcr ZVIP, there should be at least 2 return keys to operation AMT?0, such as * and =.

 

Since WTs /1VE and ABCD do not have the same splits in the Input Table, you could try to modify paytp E of pcr ZVIP so that it would the following operations:

      AMT?0

*     ADDWT *   ADDWT&/1VE

=    ADDWT *

and adding a new paytp for ESG * and WT ABCD, using the following operations:

      AMT=& /1VE AMT?0

*     ZERO=RNA FILLLF RNA AMT*-1    ADDWT *

=     ZERO=RNA FILLLF RNA ADDWT *  (if you don't want to modify WT ABCD, or use no operations after return key = so that WT ABCD would "disappear").

Re: Problems displaying Sybase Numeric DataTypes

$
0
0

Thanks Swanpil.

 

Thought I had already tried that approach yesterday and it didn't work. Tried it today and it worked.

Re: SAP Download Manager

Re: SLD migration query

$
0
0

Thanks for your reply.

 

I have already exported the Product,TS and BS (third party) to new Dev SLD from old Prod sld successfully.

 

However what i understood from your reply that i need to run RZ70 from old prod ecc system pointing towards New dev sld.Which will create the TS( ECC) in SLD and then create the BS ( ABAP) related to TS.

 

In target transport we need to give target as New DEV ecc name ( DEV ) so that i can import the ID objects from Old prod PI system to New dev PI system successfully.

 

Please correct if  the above approach is wrong

 

Thanks

Geetanshi

MRP ReSchedule Dates issue

$
0
0


Hello SAP Gurus,

 

I have a problem which my client has faced for the first time in SAP.

 

My client has run the supplier schedule on 2nd April. The result was, for one part number ALOP761, the requirement was for 8400pcs scheduled qty and the scheduled date was 15th April 2015.

But on Monday, i.e., 13th April 2015, our user found that the schedule date got revised to 20th April with reschedule date as on 15th April and exception message showing as 30 - Plan process according to schedule. This happened after the weekly MRP job was ran.

During 2nd to 15th the relevant finish goods demand didn't change at all. Could you let me know why schedule date was revised although finish goods demand was unchanged? Is there any particular root cause here? Kindly help.

 

Thanks and Regards,

Umakanth

 

.

Re: How to import an already existing SAPUI5 development for team development

$
0
0

Hi Andrew,

 

I am getting the message like "No Changes to Retrieve".

 

can u pls guide me if i am missing anything.

 

Thanks

Manimaran K


Re: Trigger Proxy after PRPS table updation via CJ20 , CJ01 and CJ02

$
0
0

Dear Veena,

 

Please try these steps,

 

1. Create a custom table to hold the WBS data with status.

2. In the AT_SAVE method of BADI, save the WBS data into custom table when saved from the transactions 'CJ01 / CJ02 / CJ20N'.

If SY-tcode = 'CJ01' or Sy-tcode = CJ02 or Sy-tcode = CJ20N

     Populate WBS details with status = 'New'

     Insert into <custom_table> <WBS details>.

 

Try not using the Commit after inserting the record. I think it should commit the record automatically after the transaction is saved.

 

3. Write a simple batch job to pick up all records that are in Status = 'New' from custom table

     Select your data that you want to send in Proxy

     Trigger the Proxy.

     Once successful update the status of each record in the table.

 

This will be a simple and easy way to handle this requirement. Hope it helps.

 

Regards,

Vijay.

Re: isql command for Sybase IQ does not work

$
0
0

Just to add to the earlier comments, you should normally use dbisql with IQ. However, using the Ct-library-based 'isql' utility can sometimes be more useful. For example:

 

- when you need a command-line ASCII interface (i.e. when you're in a remote shell session) and you need to run multi-line SQL commands. dbisql doesn't do this well, but isql does.

 

- in case you need to debug long SQL script files  that you're executing from the command line. When an error occurs in such a script, it is easier to locate the error with isql (using the -e option), than with dbisql.

 

- command batches that return multiple result sets are easier handled with isql than with dbisql

 

To avoid unexpected behaviour when using isql instead of dbisql, you should ensure the session-level settings are set to the Watcom defaults. I keep this stored proc around to execute after I have connectd to IQ or SQL Anywhere with isql:

 

CREATE OR REPLACE procedure dbo.set_watcom_defaults()

begin

if connection_property('CommProtocol') = 'TDS'

then

    /* This is a TDS connection, set session options to the Watcom defaults.

     * This overrides the TDS defaults set at connection time by sp_tsql_environment()

     */

    set temporary option ansinull = 'ON';

    set temporary option tsql_variables = 'OFF';

    set temporary option ansi_blanks = 'OFF';

    set temporary option chained = 'ON';

    set temporary option quoted_identifier = 'ON';

    set temporary option allow_nulls_by_default = 'ON';

    set temporary option on_tsql_error = 'CONDITIONAL';

    set temporary option isolation_level = '0';

    set temporary option date_format = 'YYYY-MM-DD';

    set temporary option timestamp_format = 'YYYY-MM-DD HH:NN:SS.SSS';

    set temporary option time_format = 'HH:NN:SS.SSS';

    set temporary option date_order = 'YMD';

    set temporary option escape_character = 'ON';

    set temporary option ansi_substring = 'ON';   -- NB: default=ON for SA, OFF for IQ.

end if;

end

Re: Must have at least one Software Component Version

$
0
0

Have you confirmed there is data on SolMan's SLD for the system that isn't showing up?

 

Also is the SLD destination a PI system or directly to SolMan?  If it is sent to PI first, you have to configure PI to forward the information.

Re: Error in Transformation

$
0
0

Hi Ravi,

 

In your transformation you cannot do a rule type as direct mapping with four fields. If it is a direct mapping there must be only one source field. On other note, if you want to deploy some logic based on these four fields then make your mapping rule type as Routine based and write proper code in the routine.

 

 

Thanks

Amit

Re: Fetch screen information in BADI

$
0
0

Hi..

sriramula kishore wrote:

 

Can anyone suggest how do i get screen fields in this method(BADI)

 

 

To get the screen fields inside BADI, we can use the dynamic concept using Fieldsymbol method.

FIELD-SYMBOLS: <FS_VAL>TYPE BNAME.  "Use the datatype name

 

"Program Name Declaration

DATA: L_STR TYPE STRING VALUE'(PROG_NAME)FIELD_NAME'.

 

"Get the Field value

ASSIGN(L_STR)TO<FS_VAL>.

 

"Check Field value is assinged or not to prevent the dump during runtime


IF<FS_VAL>ISASSIGNED.

"Update/Use the variable here

ENDIF.

 

Regards

 

Rajkumar Narasimman

Re: Public URL for Business Object servers

Re: ByDesign : Deny access to invoice cancellation for Customer Service role

$
0
0

Hi Tobias,

 

I've noticed in standard ByDesign can assign an UI switch to disable some functions/button which is what I'm looking for. But I thought it can only assign to the Self-Service overview so I gave up on it.

 

However, your answer is very helpful, I will take a look at Cloud Studio and try to do it as your advice.

 

Thank you very much.

 

Mullika


Re: isql command for Sybase IQ does not work

$
0
0

As the message says, there is an error in your interfaces file (or SQL.INI file). See Chris Baker's earlier reply for the formatting.

What does your interfaces file look like?

Re: How to create several procedures from several script files?

Re: Unable to Launch Repository Manager and Designer in Windows 7

$
0
0

Event Logs:

 

Faulting application name: al_designer.exe, version: 12.2.3.0, time stamp: 0x4d2d1eb0

Faulting module name: GUISupport.dll, version: 12.2.3.0, time stamp: 0x4d2d1652

Exception code: 0xc0000005

Fault offset: 0x000553fe

Faulting process id: 0xef8

Faulting application start time: 0x01d0791ddd6e5aa4

Faulting application path: C:\Program Files\Business Objects\BusinessObjects Data Services\bin\al_designer.exe

Faulting module path: C:\Program Files\Business Objects\BusinessObjects Data Services\bin\GUISupport.dll

Report Id: 1b860364-e511-11e4-853f-38607759c790

Re: Unable to Launch Repository Manager and Designer in Windows 7

$
0
0

Hi,

 

Our Client is not ready to move to BODS 4 packages for budget constraints I guess. :-/

Re: LRAW Internal table data to Readable internal table conversion

$
0
0

Hi Abdul,

 

LRAW data -

 

Capture.JPG

After converting to text -

 

text.JPG

BR,

Praveen

Viewing all 9584 articles
Browse latest View live


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