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

Re: Deny users to scheduling from their favorites

$
0
0

Ajay,

 

What are you talking about.. Nothing is deleted


Re: Performance of SELECT statement

$
0
0

Hi Jack,

 

Thanks for your response. But does the format of the select statement and how it is calling the different columns of the table seem right to you? Because I was thinking I needed to change the format in which I am framing the select statement.

 

The solution that you provided seems to make sense to me. But how can I incorporate controlling area in the statement. Sorry again about the obvious questions, but I am a beginner. Appreciate your help.

Keyfigure Calculation with Currency Conversion

$
0
0

Hi,

 

I have a requirement as below but I am unable to come up with a solution for it. Request all experts here to help me.

 

I will simplify the requirement as follow:

 

We have a BEx query which has characteristics YEAR, CURRENCY and keyfigure TOTAL.

Now, I have to add a new keyfigure TOTAL_FX which has to convert the TOTAL value to USD based on the data stored in another table/master data.

 

sy-datum = 18-Nov-2015.

 

My BEx Query:

YEARCURRENCYTOTALTOTAL_FX
2015EUR10 10 * 1.15
2015GBP20 20 * 1.75
2016EUR15 20 * 1.15
2016GBP25 20 * 1.75

 

Exchange rate table:

YEARCURRENCYRATE
2015EUR1.15
2015GBP1.75
2016EUR1.25
2016GBP1.65

 

 

 

Solutions tried:

 

  1. IF CONDITION: Can not use this since I can only check numbers in the condition and not the data like 'EUR' or 'GBP'.
  2. Currency Translation Type: Exchange rates are not stored in TCURR table. These are stored in an Infoobject or a DSO.
  3. Virtual Keyfigure: Not sure how to pass the currency values into BADI. I have checked some of 'How To' but none of it showed how can I pass the values from a BEx query to BADI and use it for calculation. I can share the codes in here if required.

 

I want to try more on the Currency Translation method and see if I can use the values stored in the master data can be used to create new type. Also, I was thinking of creating a new exchange rate type to store these values and then use it for calculation in the BEx query but not sure if we can update the TCURR table values from a masterdata object.

 

It would be great if you guys help me in solving the issue.

 

P.S: Its not possible to do it in the data modelling part because the exchange rate depends on the year derived from the system-date and not the year in the source record.

 

Thanks,

Dinesh

Re: Event AFTER_LINE_OUTPUT For Reuse alv Grid Display

$
0
0

Hi,

 

Check the report BCALV_TEST_FULLSCREEN_EVENTS.

 

Regards

Re: Solution Manager - System Copy using Backup/Restore

$
0
0

Hello Martin,

 

You must use System Export for Dual Stack system.

 

OR

 

You need to restore Database, OS and usr/sap/SID from your backup to start system

 

-Yogesh

Re: PGI earlier than schedule line

$
0
0

Hi Karlsson,

 

 

     Use back order processing with order number and material selection with tcode V_RA or use CO06 to do back order processing for the material/plant you want.

 

Regards,

venky

Re: Quote Replication to ECC for Serial number

$
0
0

Hi all,

 

this got happen due to there are multiple badi implementations and after executing my implementation then in others implementation it got wiped. so clubbed the both implementations in one BADI.

 

Thanks,

Vij

Re: displaying XML data in Web UI

$
0
0

Hi All,

 

used the tag <html> </html> in .htm page of bsp.

 

Thanks,

Vij


Re: Manual upgrade of solutions after deployment - possible? implications?

$
0
0

Hi Adarsh,

 

Thanks a lot!

 

regards,

Jeffrey

Re: Displaying the total

$
0
0

Dear Pedro,

 

 

Could you paste vb.net code to solve this issue ? Our customer doesn't want to use c#.

 

Thanks.

 

Regards,

Steve

Re: Can we copy details of one WSR to other?

$
0
0

As Remi said, a new WSR can not have the same key values as another being copied or created.  That is what a key means in terms of tables.  It is not like a spreadsheet.

 

To create/copy a WSR, after copying one

1)At least one key value must be different - e.g., WSR key. 

2)for a WSR

2.1)different start point in PWS:  The PWS would be the same, except the start point, e.g., one starts on Monday; if the reference date is a Monday, then start point is 1; the new one starts on Wed, then start point is 3.

2.2)one/more different key value/s.  e.g., holiday cal, PS grpg, etc.

 

NOTE:

a)It is important to have a convention in an organization.  Conventions help to keep uniform system set up and for any one to understand what a particular value means (for example the Reference date.

b)Config guides should be used to help new consultants to understand the company's landscape, system solution, conventions.

c)PWS should always start on a particular week day.  Mostly Monday is used.  Some organizations may use a different point of the week.  For SAP HR config, it does not matter.

d)WSR name text should also indicate this; e.g., 30h M,T,T,F for a 30hr WSR with 7.5hrs on Mon, Tue, Thu, Fri.

e)When the same WSR details are required except key value/s, the same WSR key should be used, though it does not matter in SAP HR view.  It helps a HR user to understand or recognize the WSR details.

 

Hope this helps.

Re: Change the label place in simple form

Re: MB56: what is a batch redundant?

$
0
0

in a bottom-up analysis SAP will list where the batch was used from the origin batch till the very far end of a final product via all stages.

At each stage SAP is looking back into its internal table if the same number was already listed earlier.

You would need to expand all levels and you should then see the same number on another position again.

Technically you could check in program LCHVWF0S

Re: Background processing, Rendering Sequence and PDF Export

$
0
0

Yep ! Thanks for replying BTW

 

I tried several solutions:

  • All Datasources script loaded in doBackgroundProcessing (Called be Startup): All crosstabs refreshed at the same time

  • Quick DS loaded at runtime, long ones with doBackground: Corresponding crosstabs rendered all at the same time again

  • All DS script loaded, DS_1 loaded in doBackground, DS_1 On result changed: DS_2.load(), DS_2 On Result changed: DS_3.load() ....: DS_1 is loaded in background, but the application is not displayed until the last datasource is loaded, and lots of messages are displayed (Second attempt to execute event handler "On Result Set Changed" for data source DS_1 was rejected, because it can cause an execution cycle.)

  • Same as before, but calling doBackgroundProcessing in the Datasource onResultChanged, If DS_1.isInitialized() Then DS_2.load() x 16 for each datasource (to load subsequent datasources): Works, but the application slows until it is frozen for 2-5 seconds for each rendering. DS_7 is one of the long runtime, and when it is being loaded, the application freeze completely and all remaining crosstabs are rendered at the same time

 

doBackgroundProcessing called first in the onStartup, and in each onResultChanged:

if (DS_1.isInitialized()) {

  DS_2.loadDataSource();

} else {

  DS_1.loadDataSource();

}

 

 

if (DS_2.isInitialized()) {

  DS_3.loadDataSource();

}

 

 

if (DS_3.isInitialized()) {

  DS_4.loadDataSource();

}

 

 

if (DS_5.isInitialized()) {

  DS_6.loadDataSource();

}

 

 

if (DS_6.isInitialized()) {

  DS_7.loadDataSource();

}

 

At first, the last solution crashed my application with only 4 datasources, but now works.

 

Ultimately, the first solution gives me empty crosstabs with a loading state (showLoadingState), and are rendered at the same time, which is better than having an application frozen several times.

SSL certification in Receiver REST Adapter

$
0
0

Hi,

 

 

We are using SSL certificate in PI for IDOC to REST scenarion as Server expect a certificate from Client.We have a installed certificate in PI and created PFX certificate.

Getting below error in the communication channel monitoring,

 

HttpCallException: HTTP POST call to https://xxxx not successful. HTTP/1.1 500 Internal Server Error

 

 

Any inputs would be helpful.

 

 

Cheers,

Giri


Re: Changing an established batch number

$
0
0

I thought you couldn't use material movements and a transaction like MB1B or MB1C?  That's what you said originally! It's why I didn't suggest a 311 or 411 for doing that.  Otherwise that might have been one of the first options I would have given you!  :-)

 

Craig

Re: Issue of cancellation of inspection lot

$
0
0

You have to put the order back in released state, i.e. get rid of the TECO status.  I believe the you can't run the MBST to cancel the material document because you closed the order and TECO'd it.  Get rid of that TECO status, and then try the MBST to cancel the material document.  That should then cancel the inspection lot provided you haven't done any stock posting on it or made a UD.

 

Craig

Re: Stock at Batch Level does not add up at the Plant Level

$
0
0

If the batches are not zero, then the total is certainly wrong.

But this does not mean that it is automatically an inconsistency, if your stock is not reduced with a goods issue then this can be caused by wrong customizing too, or countless other reasons.

Hard to find a starting point as stranger, with a hand on the system a reasonably experienced consultant would know where to check.

You already confirmed that you see all the quantity from your screenshot in MCHB, what quantity do you see in MARD and what quantity in MBEW table?

A screenshot from one of the deliveries from table LIPS could also be something to look at for analysis, like table MSEG for the goods issue.

Re: Bex query input error - Invalid Input for Variable XXX

$
0
0

Hi Pat

 

What is the purpose of using replacement path variable in your RKF? What are trying to achieve there.

 

As I know, replacement path target variable should be of single value and not interval range. Your variable ZZ_WK_SINGLE is single value, but you have given range in the restriction.

 

While you explain the purpose of using replacement path variable, could you also try changing the restriction as a single value instead of range and execute the report with 46/2015 as input variable. It should work fine.

 

 

PS: I am curious to guess something here. In your RKF (only half is shown in your screenshot), you have restricted ZZ_WK_SINGLE - ZZ_WK_SINGLE+1. When you give 46/2015 as input, it wouldn't be able to find 47.2015 as there will no data for 47 now. But when you give 45 or any previous weeks as input value, the range could be fetched without any issues. Hope you got what I mean. This is just my guess. We could analyse further and see if this is the scenario. So please post the full screenshot of the RKF after change

 

 

Regards

Karthik

Re: Quality rejection report

$
0
0

I'm not on a system to check right now but I believe you can get the codes you are looking for from the QAVE table.

 

Craig

Viewing all 8902 articles
Browse latest View live




Latest Images