Quantcast
Channel: SCN : All Content - All Communities
Viewing all 7790 articles
Browse latest View live

How to change LIKE statement to other statement in ABAP Query

$
0
0

Hi, experts!

 

I'm using LIKE statement in ABAP query. The sample below-

 

SELECT * INTO CORRESPONDING FIELDS OF TABLE LT_TAB

FROM TABLE

WHERE FIELD LIKE '____1__'.

 

The sample is for find data 5th char is '1'.

I want to change statement without LIKE condition. (I don't want to use RANGE, CP statements. They will be converted to LIKE statements.)

Thanks.


EPM SP 15 - Error lauching offlice client issue

$
0
0

Hi Team

 

We are using the EPM 10 SP 15 .

 

When I connect the Excel from BPC I am getting mentioned below error .

 

Can you please assist

 

Regards

Dayalan

Error.png

SAP Router Connection Error

$
0
0

Hi Experts,

 

We are trying to conect SAProuter. We are stuck with an error while configuring OSS1. can anybody help me.

Untitled.png

 

Regards

Sajmal

Elements in SAPScript & Driver Program

$
0
0

Hi Gurus,

 

I'm having a doubt in the elements shown in SAPScript and elements shown in the driver program.

I'm amending the script/program as per the client requirements and found out that the elements in the driver program are apparently different than those in the script.

 

For example, if the elements in driver program are named such as 'DATA', 'DATA1', etc. And the elements in the script are named such as '510', '520', etc.

 

Could you please help me to find the connection between these two kinds? Are they defined/assigned against each other anywhere in program/script?

Please help.

Thanks in Advance!

 

Best Regards,

Ashutosh.

Creating multiple segments with the output of RFC lookup

$
0
0

Hello All

 

I need help in mapping to create multiple segments in target with the output of RFC lookup under correct context.

I am able to achieve multiple target segments w.r.t. output of RFC lookup but context is wrong.

 

Let me explain why I am telling context is wrong.

 

This Interface is JDBC to IDOC.

 

IDOC structure is like below:

MATMAS05  1..1

      IDOC    1..1

             E1MARAM    1..9999

                      E1MVKEM   0...9999

                              VKORG

 

 

I am fetching multiple rows at a time. I am taking example of fetching 2 rows now.

 

I have a table in ECC system which contains values of VKORG and REGION

REGION    VKORG

NEU            1060

                    1510

                     1640

                    

Source structure as below

1.PNG

 

I am fetching two records from SQL table.

HostLocID (REGION) = NEU

 

Now I wanted to achieve below target structure:

 

MATMAS05

      IDOC  

             E1MARAM  

                    E1MVKEM 

                              VKORG     1060

                    E1MVKEM  

                              VKORG     1510

                    E1MVKEM  

                              VKORG     1640

 

             E1MARAM   

                    E1MVKEM  

                              VKORG     1060

                    E1MVKEM  

                              VKORG     1510

                    E1MVKEM  

                              VKORG     1640

 

But I am getting all the E1MVKEM under 1st generated E1MARAM

 

MATMAS05 

      IDOC   

             E1MARAM   

                    E1MVKEM  

                              VKORG     1060

                    E1MVKEM  

                              VKORG     1510

                    E1MVKEM  

                              VKORG     1640

                     E1MVKEM  

                              VKORG     1060

                    E1MVKEM  

                              VKORG     1510

                    E1MVKEM  

                              VKORG     1640

             E1MARAM   

                  

Below is the mapping

 

For E1MARAM

2.PNG

 

For E1MVKEM

3.PNG

 

Fopr VKORG

4.PNG

 

Please let me know how to achieve the above result.

 

Thanks

Dheeraj Kumar

webi

$
0
0

Hi

 

Can anyone explain the web services publisher in webi 4.x in detail?

 

 

Regards

 

 

mahesh

Substitution for mulitple business places for multiple profit centers

$
0
0

Substitution for multiple business places

 

I have created substitution where in the business places are different for different profit centers

 

Step1

 

Pre-requisit BKPF-BUKRS = '1000' AND BKPF-TCODE = 'MIRO' ORBKPF-TCODE = 'FB60' ORBKPF-TCODE = 'FBZ2' OR BKPF-TCODE = 'FBA7' ORBKPF-TCODE = 'FB70' OR BKPF-TCODE = 'FB01' ORBKPF-TCODE = 'FB65' ORBKPF-TCODE = 'FB75' ORBKPF-TCODE = 'VA01' ORBKPF-TCODE = 'VL01N' ORBKPF-TCODE = 'VF01'AND BSEG-PRCTR = '1100' OR BSEG-PRCTR = '2100' ORBSEG-PRCTR = '3100',

 

Substitituion: Business Place Constant value 1100Section Code Constant value 1000

 

Step 2

 

BKPF-BUKRS = '1000' AND BKPF-TCODE = 'MIRO' ORBKPF-TCODE = 'FB60' ORBKPF-TCODE = 'FBZ2' OR BKPF-TCODE = 'FBA7' ORBKPF-TCODE = 'FB70' OR BKPF-TCODE = 'FB01' ORBKPF-TCODE = 'FB65' ORBKPF-TCODE = 'FB75' ORBKPF-TCODE = 'VA01' ORBKPF-TCODE = 'VL01N' ORBKPF-TCODE = 'VF01'AND BSEG-PRCTR = '1000' OR BSEG-PRCTR = '2000' ORBSEG-PRCTR = '3000',

 

 

Substitution: Business Place Constant value 1000Section Code Constant value 1000

 

It is working only for step 1 and not working for another step

 

Kindly request to check & revert

 

Regards,

Triveni

No price could be determined for subcontractingin CK40N

$
0
0

Dear All,

 

Good morning!!

 

While Running the CK40N and business getting following error and i know once maintain price at  the infor records for sub con materail at ME11.

 

System will allows to run the CK40N but why the system checking is the price and  valid source of supply for sub con material if we are maintain the following settings in MRP2 at material master and it should not calucuate the costing for external procurment as per my knowledge i think .

 

-  MRP2 Material master data              

 

1. Special Procument Type = 30              

2. Procurement type = F (External procurement)

 

I have maintain the info record like below ME13.

 

ME13.JPG

 

Kindly provide your valuble suggestions

 

Regards

Sudharsana


Formula Variable Calculation behavior

$
0
0

Hello

 

There are 2 Variants I have attached below, which has been executed from a single Query.

One is by using 0CALDAY in Columns and other one without using 0CALDAY in the columns. (That means the Report selection parameters is from 23/11/2014 till 30/11/2014 in both the case)

 

KEY filed in this report is “No of Bins”  . This has been calculated by using Formula Variable.

 

My requirement is, when I execute the report for above period ( 23/11/2014 till 30/11/2014) without using 0CALDAY in columns. The result should appear as 266,880 and not as 44,480. ( Since the KEY field is a Formula Variable it take the latest No of Bins Available and displays only 44,480 in Result)

 

In simple.  I want the KEY field “No of Bins” should Sum up all the values from 23/11/2014 till 30/11/2014. And display 266,880

 

 

Requiring Expert Advice to acquire the desired result.

 

1) Variant 1

Varient 1.png

 

2) Variant 2

Varient 2.png

 

Thanks

Kumar

/SAPTRX/BAPI_EH_ADDEVENTMSG_02

$
0
0

Hi,

 

we are trying to use above BAPI to generate standard Events from outside (phoneapp) against freight orders and freight units. When testing in SE37, we have filled the following data:

 

EVTCNT = 0000000001

EVTID = LOAD_END

TRXCOD = FU

TRXID = 00000000000000RCL120 (one of our freight unit ids)

EVTDAT = 11.12.2014

EVTTIM = 14:57:00

 

We are using a system where EM is integrated in TM. We are using standard customizing on the freight unit type and freight order type (ODT30_TO and ODT30_FU).

 

After executing the BAPI, we get message "No active Event handler found for tracking id FU" (see attachment).

 

 

We are using the Standard Event handler types. As shown in attachment, the Standard application object is not set to inactive. What can we do to post this message in a way that the Event is posted against the freight unit (the same way as we can post it manually to the execution tab).

 

In which table can we check the EM message that was posted?

 

Many thanks in advance

Petra

URI to call method CREATE_DEEP_ENTITY

$
0
0

Hi Expertise

 

 

   I am new Odata services, I need help in calling

 

  CREATE_DEEP_ENTITY method of DPC_EXT class 

 

   Consider  my parent entity set name as  :- EMP_DET    & my child entity set EMP_SALARY   & navigation name EMP_SALARY_NAVIG

 

  So help for building URI to call method

 

 

  Thanks ...

Mail notification Issue.

$
0
0

Dear Experts,

 

I have a issue to be resolved, customer wants the gate pass expiry details to be captured and to be sent in email.

 

Can we maintain the gate pass details in 0185 IT, by creating a separate subtype, else can we go for custom infotype or any Z table for maintaining the datas.

 

please advice.

 

Regards

Balaji

SELECT ALL & DESELECT ALL

$
0
0

Hi ,

 

 

In my requirement I need to add SELECT ALL & DESELECT AL buttons on the top of ALV LIST DISPLAY.

 

May i know the steps to include the condition.

 

 

thanq

Clarification about Named User Licenses

$
0
0

Hi,

 

SAP B1 licenses are named user licenses. I am not quite sure on the meaning and its implications even after reading multiple documents on multiple sites.

 

I have a few questions with respect to SAP B1 9.1:

 

1. A company has 2 Limited Financial licenses. They will create 4 users in the system, and assign the licenses to the 1st 2 users. However, sometimes they want to assign the licenses to User 3 and User 4, so the administrator will remove the license from User 1 and User 2 and assign to User 3 and User 4. Is it allowed? Of course, User 1 and 2 will not be able to log in now, which is not a problem.

 

2. In the above scenario, instead of reassigning the licenses, if User 1 and 2 tell their password to User 3 and 4, so User 3 and 4 can log in using the credentials of User 1 and 2 without reassigning the licenses. Is it allowed? Of course I understand that it may not be a good practice to share the passwords as the data ownerships and change log can not be traced accurately or will be incorrect.

 

Thanks.

 

I am asking these questions strictly from the point of view of legality as per SAP licensing policy so as not to fall into any trouble in an SAP audit; so please do not answer like it is best to buy 4 licenses, etc.

How to UDV linked with multiple fields

$
0
0

Hello!

 

I want to update Quantity field in some documents automatically adding values of 3 user fields:

 

Quantity=U_FIELD1+U_FIEDL2+U_FIELD3

 

I have created a User Defined Value in Quantity field linked with U_FIELD1. It runs Ok, but when I change U_FIELD2 or U_FIELD3, Quantity field is not updated (I have to press Shift+F2 and value is refreshed then). How can refresh automatically without press Shift+F2 when U_FIELD2 or U_FIELD3 are changed?

 

Thanks a lot.

 

Regards.


SAP B1 compatibility on Windows 8.1

$
0
0

Hi All,

 

I have installed SAP B1 client on a laptop with windows 8 operating system. The client is working fine but after updating to windows 8.1 the sap client always force close when for example I am viewing MS Excel and after switching to SAP client a message box appears stating the client will be close.

Is there a solution to this problem? I have already reinstall sap b1 client

 

Thanks in advanced

 

Shaun

XPATH Expression in ICO for Exists

$
0
0

Hi,

 

Currently i am routing messages in an ICO for two different interfaces from a single source. This condition is at the Receiver Interface level as both belong to the same Business System.

The structure goes by this,

MT_BatchProcess

       BatchProcess

            LineType1

            LineType2

            LineType3

            LineType4

 

Condition: If LineType2 exists, then run the interface for ReceiverInterface 1

                If LineType3 and LineType4 exists, then run the interface for ReceiverInterface 2

 

XPATH Expression:  Type: String              Multiline: Checked

 

/MT_BatchProcess/BatchProcess[count(LineType2 >0 ]  EX      ----> ReceiverInterface 1

/MT_BatchProcess/BatchProcess[count(LineType3 >0 ]  AND /MT_BatchProcess/BatchProcess[count(LineType4 >0 ] EX   ----> ReceiverInterface 2

 

Somehow, this condition is not working in my case. Could someone help me find out what is that i am missing in these conditions.

 

 

Many thanks,

Sherin Jose

Internal Order in IDoc Type INVOIC02

$
0
0

Hi All

Can someone suggest which Segment / Field  should be used for Internal Order.(IDoc type INVOIC02 / Logical Message: INVOIC) So far i have tested with many qualifiers in Segment E1EDK02, IDoc is posting successfully but the document posted does not have Internal Order.

 

 

SD

How the Item Cost in Goods Receipt is being computed

$
0
0

Hi Everyone,

 

Good day!

 

Can you enlighten me on how the item cost is being computed in Goods Receipt document. As far as I understand, the item cost should be the same with Unit Price since this will be the cost of the item upon entering it on the system. But here in me sample Goods Receipt the item cost is different from the Unit Price that I specified(Last Evaluated Price). Can you help me what are the factors that affect the computation of Item Cost in the Goods Receipt.

 

Goods Receipt.png

 

I will greatly appreciate your response or information that you will give on this matter.

 

Thank you very much.

 

 

Warm regards,

Anthony M.

GPS_LOCATION not working

$
0
0

Development Experts,

 

It appears that the GPS_LOCATION is not returning a value for an actual device.  I am trying to simply retrieve the current GPS coordinates of the device when a user starts a transaction (and record that GPS Location value as a property within the transaction).  I have the Initial Value set to use a rule with uses GPS_LOCATION function to return the value.  I have also tried simply using the Initial Value of "Current Location - before data entry".

 

From within ATE, if I use the GPS simulation and enter values, it seems to set those values.  However, on the actual device, it does not retrieve the GPS values at all.

 

The devices is a Motorola MC67 that has the GPS chip in it.  When I go to the Moto Demo and look at the GPS demo, the Lat/Long coordinates display.  And as I physically move around, those values change.  Therefore, I know the GPS chip is correctly functioning within the device.

 

However within the application, the coordinates always come back as 0, 0.

 

I am running Agentry client 7.0.5.7 on a Windows Mobile 6.5 version device (Motorola MC67).  This is all running in an SMP 3.0 SP04 PL02 environment.

 

Is there something else I need to do within the Agentry application to "kick start" the GPS chip to return values into the application?  Or something else to get the real values to be returned?

 

Thanks,

Ed

Viewing all 7790 articles
Browse latest View live


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