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

Payments on written-off documents

$
0
0

I would like to check what business process other utilities follow when you write-off receivables.  We do the following and have some complexities:

 

1. When we write-off receivables, we post statistical FICA docs for the same amount on the customers account.

2.  When customers pay the amount and it has to clear the statistical fica charges, we have configured posting area 1010 to direct the charges to the recovery GL account. 

 

However our company wants the payment amount to be split and go into different sub accounts when it is clearing the stat receivable. I don't have much flexibility in configuring 1010 posting area, so I am having to use event 0032 to post new line items for the different splits.  This is complicating the scenario and I wanted to check out if there is any other configurations we could use to direct the payments on written-off charges to different GL accounts.

 

I was also wondering other utilities probably don't post stat write-offs and when payment is made on written-off accounts, the payments go to clarification and they reverse the write-off before applying the payments to the original receivables.  Is this the case?

 

Any thoughts/suggestions on this functionality is welcome.

 

Thanks,

Yuvi.


Subtract one field from another with condition

$
0
0

Hi folks,

 

I am trying to work out to create a result of subtracting one field from another if a condition is met.

In SQL it would be something like SELECT SUM(field1 - field2) WHERE date < curDate() - field3

 

field1 & field2 are decimal values while field3 is an integer.

 

 

The result is to be inserted into a group footer. so the total must be reset after each group.

 

 

Any ideas on how to do this?

 

Thanks,

 

J

Is there a tool or function to where I can enter a table from a universe and see all BO reports that contain that table?

$
0
0

I am trying to locate a tool or function  where I can enter a table from a universe and see all BO reports that contain that table. EX: I have a  report “Trade Information” with a column  called “Date”, when I look at the Query Script Viewer I see the table involved for that column “Date” is DATA_FIELD.ADMIN.DATE, I would like to run a query for “DATA_FIELD.ADMIN.DATE” that would return all reports that would be using the table “DATA_FIELD.ADMIN.DATE”. Ideally it would also tell me the column and the SQP used for that column. Is there a tool or function that can do that? Thanks!!

MDS.exe crashes while starting repository

$
0
0

Hello Experts,

 

When I try to start a MDM repository it crashes. There is nothing in developer trace or alert log. I can see the following error in Windows Event logs.

 

" Faulty Application : mds.EXE

Faulty Module name : ntdll.dll " "

 

Can somebody help regarding this?

 

Thanks

Karun

Failed to open the connection

$
0
0

I have written my first application with Crystal Reports in VS2010/VB.  It works fine in visual Studio, but when I compile and deploy it to other PC's, once I get to the part that should display the Report, I get the 'Failed to open the connection'. I am logged into the network tha same on both machines.  Any Ideas?

 

Thanks,

Cam

Configure Planning hierarchy in Flexible planning

$
0
0

Hi,

 

I am implementing flexible planning where i need to configure planning hierarchy. I have 5 characteristics in my planning hierarchy as shown below:

 

1) Sales Org

2) Sales District

3) Sales Office

4) Product Hierarchy

5) Material

 

Now when I am creating my planning hierarchy in MC61, I can provide values for my above mentioned characteristics for all five levels by clicking on "Next Level". screenshot below:

4.JPG

Now i have around 3000 materials (which is my last level in the hierarchy) so the total combinations could be more then 20000 which is very difficult to add manually in the planning hierarchy.

 

My question is, is there a way where I can load all this data  at different levels (Characteristics) in my planning hierarchy in mass or via some standard upload method or any other way?

 

Que 2) Another question, Also what is the way to populate the info structure with the history data in the key figures?

I have created a custom info structure where I copied characteristics from multiple standard info structure. What is the correct approach to populate the data in the info structure?

 

I would appreciate if any of you would let me know the steps for the above to processes.

 

Thanks,

AK

BAPI_PO_CHANGE - Change Condition Value

$
0
0

Hi,

 

I want to change the Condition value for a particular Condition type using BAPI_PO_CHANGE.

 

I am populating values for following

 

Import parameters

PURCHASEORDER

POHEADER (Fields PO_NUMBER)

POHEADERX (Fields PO_PO_NUMBER = X)

Tables

POITEM (Fields PO_ITEM, PLANT, STGE_LOC

POITEMX (Field PO_ITEM, PO_ITEMX = X, PLANT = X, STGE_LOC= X)

POCOND (Fields COND_TYPE, COND_VALUE, CURRENCY)

POCONDX (Fields COND_TYPE = X, COND_VALUE = X, CURRENCY = X)

 

But PO condition value is not getting changed...

 

Regards,

Balaji Viswanath.

Datawindow with SQL SubSelect? PB 12.5

$
0
0

Greetings All,

 

I have an SQL query that works great.  It does an outer join on several tables to allow one of our partners to manage their rates in our Affiliate Portal.

 

As you can see in the attached screenshot, the last column on the right is 'Rate Rank'.  I want to be able to show the affiliate where they rank relative to other affiliates for this particular city pair as 1, 2, 3, 4, etc. when multiple affiliates have rates for the same trip.  You may have seen something similar in some RFP products where as you enter your rate, you can see your rank relative to your competitors rank, but all you know is your rank.

 

I need some way to hit the database and using the key fields, get the value of "ft_affiliate_rate_staged.ar_total_from_airport" along with the affiliate's identifier (sp_id), and then sort and rank the current affiliate's rate compared to any others found in the database.

 

So if the current affiliate has a rate of $100.00 and there are a total of three affiliates that have a rate with the others coming in at $80.00 and $120.00, the current affiliate would see their rate rank as 2.

 

The important part of the key, I think, is FT_AFFILIATE_RATE_STAGED.A_IDENTITY and FT_AFFILIATE_RATE_STAGED.B_IDENTITY.  That essentially defines the trip (e.g., Ann Arbor, MI to/from airport DTW).  Other important parts of the key are vehicle type (because an affiliate can have different rates for different vehicle types (FT_AFFILIATE_RATE_STAGED.VEHICLE_TYPE) and sp_id (FT_AFFILIATE_RATE_STAGED.SP_ID) which indicates the affiliate whose rates are currently being displayed.

 

I want this to be fast as we might be displaying hundreds of rows in the datawindow.

 

Can someone kindly suggest an approach to getting this done (painless as possible, please).

 

I know I can write a function to do this with an NVO DW and simply and change ft_affiliate_rate_staged.ar_rate_rank to a computed field and call it there.  My concern is that it might not be very fast.

 

Thanks very much for any pointers or suggestions!!

 

Paul

 

 

SELECT DISTINCT

FTP.FP_CITY,

FTP.FP_POSTAL_CODE,

FAA.A_ID,

FAA.AIRPORT_IDENTITY,

FAA.A_TRAIN_STATION,

FARS.a_identity,

FARS.b_identity,

FARS.SP_ID AS SP_ID,

FARS.AR_VEHICLE_TYPE AS AR_VEHICLE_TYPE, 

FARS.AR_BASE_RATE AS AR_BASE_RATE,           

FARS.AR_GRATUITY AS AR_GRATUITY,     

FARS.AR_PARKING AS AR_PARKING,       

FARS.AR_TOLLS AS AR_TOLLS,     

FARS.AR_STC AS AR_STC,

FARS.AR_FUEL AS AR_FUEL,         

FARS.AR_EMLN AS AR_EMLN,       

FARS.AR_MEET_GREET AS AR_MEET_GREET,     

FARS.AR_HOLIDAY AS AR_HOLIDAY,

FARS.AR_AIRPORT_FEE_PU AS AR_AIRPORT_FEE_PU,

FARS.AR_AIRPORT_FEE_DO AS AR_AIRPORT_FEE_DO,        

FARS.AR_DISCOUNT AS AR_DISCOUNT,     

FARS.RT_TOTAL AS RT_TOTAL,     

FARS.r_currency AS r_currency,       

FARS.r_drivetime AS r_drivetime,       

FARS.AR_MILEAGE AS AR_MILEAGE,       

FARS.AR_RATE_RANK AS AR_RATE_RANK,

FARS.ar_update_datetime AS ar_update_datetime,

FAA.A_ID AS ROW_STATUS,

FTP.FP_IDENTITY,

FARS.ar_total_to_airport AS ar_total_to_airport,

FARS.ar_total_from_airport AS ar_total_from_airport,

FARS.ar_tax_to_airport AS ar_tax_to_airport,

FARS.ar_tax_from_airport AS ar_tax_from_airport,

FARS.ar_rate_type,

FARS.user_id

FROM             FT_PLACE FTP

INNER JOIN       FT_AIRPORT_ALL FAA ON FAA.A_ID = :a_id

LEFT OUTER JOIN  FT_AFFILIATE_RATE_STAGED FARS ON FTP.FP_IDENTITY = FARS.a_identity AND FAA.AIRPORT_IDENTITY = FARS.b_identity AND FARS.SP_ID = :sp_id AND AR_VEHICLE_TYPE = :car_type

WHERE   FTP.FP_COUNTRY = :country_code

AND     FTP.FP_STATE = :region

AND     FTP.FP_COUNTY = :subregion

ORDER BY

FTP.FP_CITY,

FTP.FP_POSTAL_CODE


EH status not getting updated

$
0
0

In EM system event handler is getting created from TM and EH status like Shipment End getting updated from ECC.

Currently we are facing issue is that event handler is getting created in EM system but when we update Shipment End status in ECC

then in EM ,EH status not getting updated.

I checked RFC and Que blocks and no issue found.

Also no application log.

What else needs to checked?

Ravi

How to get the Public Folders and My Favorites CUID using Restful API call?

$
0
0

How to get the Public Folders and My Favorites CUID/ID using Restful API call?

Customer could not be converted from field KUNNR (CND_MAP325)

$
0
0

Dear CRM gurus,

 

please help to resolve the issue with condition data replication from ECC to CRM system

We've got error message in SLG1 with the following text: Field content <customer_code> from field KUNNR could not be concerted (CND_MAP325 message)

The issue appears if condition record creation happens just after customer creation within short period of time.

Below is the example from the live system with timestamps:

1. Customer created in CRM, outbound BDoc created (04:15)

2. Customer created in ECC (04:15)

3. Condition record created in ECC (04:17)

4. Condition record creation CRM failed, no Bdocs created. Error "Field content <customer_code> from field KUNNR could not be concerted (CND_MAP325 message)" in SLG1

 

Thank you in advance for your help

Regards

Petr

consulta sobre bases de datos

$
0
0

Buen día

 

mi base de datos actual por motivos de integridad no se dejo actualizar al ultimo addon del BPAC,

 

Entonces , la idea que tenemos es la siguiente :

 

se puede crear una base de datos y la base dañada la podemos dejar solo para consulta  y la base nueva para hacer las transacciones y de mas procesos de SAP

 

Es decir dos bases de datos (unidas , enlazadas) o algo así .   que una base sea para consulta y la otra se para transacciones y procesos , y que esto para el usuario sea transparente . esto se puede hacer????

 

 

o ustedes que tienen mas experiencia que me recomiendan  hacer

 

 

Muchas gracias por la ayuda

CND_MAP325: Field content from field KUNNR could not be converted

$
0
0

Dear CRM Gurus,

please help me to resolve the issue with condition records replication in CRM (CRM 5.0)

 

Symptom: Creation of condition record failed in CRM system due to CND_MAP325 error: CND_MAP325: Field content <customer_number> from field KUNNR could not be converted.

The issue appears if condition record creation happens just after customer creation within short period of time.

Example from live system with timestamps:

1. Customer <customer_code> created in CRM system by user at 04:15 EST

2. Outbound Bdoc created

3. Customer <customer_code> automatically created in ECC automatically at 04:15

4. Condition record created in ECC by user at 04:17

5. Condition record creation in CRM failed, no Bdocs created. Error message CND_MAP325 in SLG1

 

Please advice if there is any permanent solution to fix this issue?

Is there any workaround - e.g. reprocess the replication of failed condition records?

 

Thank you in advance

Petr

Hyperlink in webi to FB03

$
0
0

HI guru,

i have req to generate hyperlink on document number in WEBI report which will take me to fb03 in ecc. Though I have got syntax and formula generated is direct as well and it takes me to erp. As I understand we need. First generate correct hyperlink and then formula.

but issue is that I am not able to generate correct hyperlink with parse, pls can someone provide me correct syntax format when we need to pass there fields as input to fb03 to get desired output.

i Already read few doc on sdn but not getting correct answer. Hence pls help.

 

thanks

Can we kill Batch Job using scripts?

$
0
0

Hi, We are on DS 4.2 SP2 on Windows server 2008 R2. Sometimes our job hangs and would not move so resolution is to restart jobs. For this first we have to kill the job. Do we have any way that I create a job which kills the running instance and starts a new Instance of the job.

Thanks,

Kalpesh


steps in creating workflow

$
0
0

Hi friends,

This is Saurav Lahiry. I am new to SAP workflow. I need to design a complex workflow for the below scenario.

Workflow should be  triggered when a purchase order is created and it's blocked. Next it should be  sent to the assistant purchase manager for approval if he does not respond for particular period of time then it should be sent to purchase manager for approval. This should include release strategy and deadline monitoring.

I have finished all the basics from blogs and ****************, but i am unable to understand on how to proceed. Please send the steps on how to proceed for this scenario.

Regards,

Saurav Lahiry

Problems adding HANA IDES system to SolMan

$
0
0

Hello Everyone,

 

I've been following https://wiki.scn.sap.com/wiki/display/TechOps/Managed+System+Setup+of+HANA+in+SAP+Solution+Manager+7.1#ManagedSystemSetupofHANAinSAPSolutionManager7.1-SetupHDBUserStoreforSAPHostAgent  for help in connecting our IDES HANA installation to Solution Manager.  I'm mainly doing it for the experience in connecting HANA to Solution Manager.

 

I've been running into issues where the commands I'm issuing are working but the connection still cannot be made.  HANA and NW are installed on the same system.  The document specifies using <sid>adm to create the connection, but doesn’t specify if it’s should be hdbadm or sb1adm.  My guess was that it expects it to be hdbadm. 

 

For understanding, these are the relevant configuration information:

 

DB SID:                                        HDB

SAP SID:                                      SB1

HANA System no from Studio:     02

sidadm (hana):                              hdbadm

sidadm (SAP):                               sb1adm

Monitoring user created in Studio  MONITOR

 

I've run the command to SET the HDBUSERSTORE:

 

hdbuserstore SET SB1SAPDBCTRL servername:30215 MONITOR xxxxpassxx

                         

hdbadm@servername:/usr/sap/hostctrl/exe/hdbuserstore list SB1SAPDBCTRL

KEY SB1SAPDBCTRL  

ENV : servername:30215  

USER: MONITOR

 

I have tried a few different combinations to try to get this to work. If I try to run sapdbctrl to get a status, I get:

 

hdbadm@servername:/usr/sap/hostctrl/exe> ./sapdbctrl status SB1 -t hdb

ERROR: Database not found: No SAP instance (newDB) SB1 found.

 

I also ran the set command above for HDBSAPDBCTRL

 

hdbadm@servername:/usr/sap/hostctrl/exe> ./sapdbctrl status HDB -t hdb

ERROR: Database software not installed

 

 

 

If I do everything as root including the , I get the following:

 

[root@servername ~]# /usr/sap/SB1/hdbclient/hdbuserstore list HDBSAPDBCTRL

KEY HDBSAPDBCTRL

ENV : servername:30215

USER: MONITOR

 

I had to logon using HANA studio and reset the password for user MONITOR. That password was used to create the HDBUSERSTORE.

 

[root@servername ~]# /usr/sap/hostctrl/exe/sapdbctrl status HDB -t hdb

Instance Name: HDB02, Hostname: servername, Vendor: HDB, Type: hdb, Release: 1.00.110.00.1447753075

Database Name: HDB, Status: Error

Component Name: hdbdaemon (HDB Daemon), Status: Running (Running)

Component Name: hdbcompileserver (HDB Compileserver), Status: Running (Running)

    Component Name: hdbindexserver (HDB Indexserver), Status: Running (Running)

Component Name: hdbnameserver (HDB Nameserver), Status: Running (Running)

Component Name: hdbpreprocessor (HDB Preprocessor), Status: Running (Running)

Component Name: hdbwebdispatcher (HDB Web Dispatcher), Status: Running (Running)

Component Name: hdbxsengine (HDB XSEngine), Status: Running (Running)

Component Name: hdbconnectivity (HDB Connectivity), Status: Error (SQLconnect not possible (invalid username or password))

Component Name: hdbalertmanager (HDB Alertmanager), Status: Unknown (no information available)

 

 

file dev_sapdbctrl contains the following entries:

 

[PID 21959]

Fri Mar 11 09:59:54 2016

[PID 21959] getHanaCompoments: hdbConnect failed (SQLDriverConnect: Failed to select m_database:S1000:1:414:[SAP AG][LIBODBCHDB SO][HDBODBC] General error;414 user is forced to change password: alter password required for user MONITOR

)

[PID 21959] [PID 21959] )

[PID 50410]

Fri Mar 11 13:46:24 2016

[PID 50410] *** ERROR => SqlodbcConnect: connect HANA datbase HDB. [dbhdbinstance.cpp 820]

[PID 50410] getHanaCompoments: hdbConnect failed (SQLDriverConnect: Connect with userkey failed! :HY000:1:10:[SAP AG][LIBODBCHDB SO][HDBODBC] General error;10 authentication failed

)

[PID 50410] [PID 50410] )

 

I know I’m close.  There is some aspect of this that I’m not quite getting.

 

Any ideas?

 

Thanks.

To get column name instead of value.

$
0
0

Hi,

 

I need to return column name of the input parameter passed to a custom function. Is it possible ? The custom function will check for parameter value and based on some logic it should return the column name.

 

Query1 ----> custom_fn(Query1.column_name)

 

Inside function we will get the value usin $input_param. But how to get the actual column name passed as parameter?

 

Thx,

ABAP Trial Version that works with Win 7 Pro?

$
0
0

I'm new to SAP and I am trying to setup a lab at home, so that I can practice and learn more about SAP NetWeaver.

 

I read that a trial version can be installed on Windows 7 Pro.

 

I downloaded a trial version (ABAP_7_03_SP04_64_bit_Trial_3_9_2_GB) ; however, it continues to fail during the installation process.

 

Is there a different version of software that I need to be using?

 

Thanks,

 

Wayne

Need to know Response time of ODATA in frontend apps

$
0
0

Hi Experts,

 

I am being involved in my first mobile apps project, system architecture is SAPUI5 framework being used as front end developments, SAP NWG (central hub) for providing the ODATA service which in turn access the RFC of the SAP R/3 backend system.

 

Application consist of login page, then home page contains the left panel with multiple links (3 links).

on the click of each link, in right hand side panel search box and Table control is to be displayed with the Header data, and on selection of any record from the header data table control, next screen should display the detailed data which may in turn contains the few links for further details on new screen.

 

 

While designing the flow for this app, I have got the below query.

 

After the successful login, should I load bring all the master/details data from backend system for all the links (total 3 links in left side panel) in one shot. so that later when user wants to see the details then simply I have to play with data residing on client side, this is I am thinking to gain the faster speed on mobile apps.

 

second approach would be, after the successful logon, lets bring only the minimum required data on client side and then further as and when user clicks on record or link then at runtime through another ODATA service I should pull the data from backend, here in this approach I am worrying for the response time when user clicks on any link and data comes from the backend.

 

for your reference, RFC in backend system returns the maximum 50-100 records as a maximum limit  (each record contains the 20 fields at maximum),

 

business user wants apps should run faster and there should be minimum wait time.

 

please suggest.

 

Regards,

Jagesh

Viewing all 3257 articles
Browse latest View live


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