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

Error KI235 - Cost Element is Category 12

$
0
0

Hi experts, help me please:

 

I'm with erro in T-CODE KO88:

 

Account 31111002 requires an assignment to a CO object

Message no. KI235

Diagnosis

You have not defined a CO account assignment for an account that is relevant to cost accounting.

System Response

Account 31111002 is defined as a cost element.
This means that you must always specify a CO account assignment.

Procedure

Enter one of the following CO account assignments

The posting row affected is 0000000001, account 31111002.

 

 

In Order T-CODE KO02, Profit Center = 132007.

Settlement Rule = G/L   31111002, 100% FUL.

 

 

 

Att,

Cristiane Magalhaes

 

 


unable to run on Android device from Sap webide

Sum function not working in Asset report S_ALR_87011968

$
0
0

Hi Experts,

 

I am trying to sum up amount columns in asset report S_ALR_87011968, but system is not showing total at the end. I am selecting the columns and clicking on SUMMATION button, but system is not displaying the totals.

 

Can anybody help me with this?

 

Regards,

Akshay Zirmirkar

SAP NW Upgrade of 7.4 to 7.5

$
0
0

Hi All,

 

I am going to perform the netweaver upgrade from 7.4 to 7.5.

 

Can anyone share the plan/ pre-steps that are to be considered. Or any NW upgrade document.

 

 

Thanks in advance.

R Gowtham

FO data at BO level in /BOBF/TEST_UI

$
0
0

Hi everyone,

 

can someone please tell me how to check a freight order data at BO level.

 

for example to be more specific,

 

on the charges tab of freight order, i can see different charge types that are calculated and the final amount calculated based on each charge type depending on the rate amount and calculation base etc.

 

So, can i see the same information at the BO level in transaction /BOBF/TEST_UI in BO - TRANSPORTCHARGES? If so i would like to know the sub objects and how these can be viewed.

 

The reason is, we use virtual private network to connect to nwbc and it is very slow and takes lot of time in navigation through orders. hence, the analysis gets delayed most times.

 

looking for answers.

 

Thanks

Raju

Check for popup within script

$
0
0

Hi folks,

 

I am quite new to VBscripting and trying to create a script that automatically mass generates users via SU01.

Everything worked fine so far but now I am stuck because of a stupid popup.

If a user was created and afterwards deleted and I am going to recreate it, SAP will ask me if I want to use his old office data.

If it does my script gets stuck of course because it wants to continue to supply the user details.

Please have a look at the code (problem is

bold

):

Dim strFilename, Dialog, fso, conentTextfile

Dim Test

 

Set Dialog = CreateObject("MSComDlg.CommonDialog")

Set fsobj = CreateObject("Scripting.FileSystemObject")

 

 

'Explorer-Dialog zum Öffnen von Dateien

'Titelzeile

Dialog.DialogTitle = "Datei öffnen"

'Suchmaske (hier benutzerdefiniertes Dateikürzel)

Dialog.Filter = "Textdateien-Datei (.txt)|.txt"

'Filterindex

Dialog.FilterIndex = 1

Dialog.MaxFileSize = 260

'Flags setzen: Explorer-Dialog mit langen Dateinamen

Dialog.Flags = &H1814

'Datei öffnen

Dialog.ShowOpen

'Ergebnis der Dateianwahl ausgeben

strFilename = Dialog.Filename

 

If strFilename <> "" Then
Set textfile = fsobj.OpenTextFile(strFilename,"1")
do while not textfile.AtEndOfStream
'Zeilen einzeln einlesen
TextLine = textfile.ReadLine
UserData = Split(TextLine,",")

If Not IsObject(application) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
Set connection = application.Children(0)
End If
If Not IsObject(session) Then
Set session = connection.Children(0)
End If
If IsObject(WScript) Then
WScript.ConnectObject session, "on"
WScript.ConnectObject application, "on"
End If
session.findById("wnd[0]").maximize
session.findById("wnd[0]/usr/ctxtUSR02-BNAME").text = UserData(0)
session.findById("wnd[0]/usr/ctxtUSR02-BNAME").caretPosition = 7
session.findById("wnd[0]/tbar[1]/btn[8]").press

'Here is the problem!!!

Test = session.findById("wnd[1]").Type
if test = "GuiModalWindow" then
session.findById("wnd[1]/usr/btnBUTTON_1").press
end if
'If I check for the popup window (as shown above) and the user didn't exist before (so there is no popup window) the program will exit with an exception because wnd[1] doesn't exist. Is there any possibility to check wether wnd[1] exists?

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_LAST").text = UserData(1)

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").text = UserData(2)

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").setFocus

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").caretPosition = 10

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO").select

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD1").text = UserData(4)

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD2").text = UserData(5)

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-CLASS").text = UserData(3)

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGV").text = UserData(6)

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGB").text = UserData(7)

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGB").setFocus

session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGB").caretPosition = 10

session.findById("wnd[0]/tbar[0]/btn[11]").press

loop

 

End If

 

Set Dialog = Nothing

Set fso = Nothing

 

Thanks in advance and kind regards,

 

Bastian

 

Hi, I'm new, How do I script?

$
0
0

I am new to SAP, have been trying to understand it for a while, finally got into it at my job, but I don't know how to write scripts for SAP. I am a beginner, so I don't even know what the different pages/tables/forms are called, but I am an old hand at VBS with excel and access, as well as general computing.

 

I don't really have access to change anything within SAP that I know of as far as adding fields to the database or forms or changing the way anything looks or operates, but I am trying to make up for my lack of customizability by using scripting. I can make VBS do things in Excel with the data we use, and even prepare it to just be pasted into SAP forms, lists, etc. I have reached a certain limitation though, and that is SAP does not use standard "separate window" processes, and not everything is hotkeyed. I have no way with sendkeys to mark specific rows in task lists, and no way to make it hit the yes button on editing several long texts in a row (sometimes the auto-focus on yes does not activate, otherwise I could just use enter).

 

I need to know how to get information about customizing my gui with scripting that is native to SAP and integrating the VBS from Excel and Wshell with SAP scripting. Any "SAP scripting for dummies" books that start at a level of a person who has never even seen SAP would be excellent. Tutorial threads and such on here are also welcome.

 

I am so new to SAP i can't even really tell you what program I am using.

Under system>status>

The pertinent things I see:

 

SAP data:

Program(GUI)

SAPLCICU

 

SAP System data:

Component version:

SAP ECC 6.0

 

Database data:

Database system:

ORACLE

Release

10.2.0.4.0

 

 

Anything you can tell me about retrieving data from the database, customizing the actions of SAP through scripting, even a list of valid hotkeys for each type of screen/form/tables/pages, would be miraculously helpful.

 

Anything you can tell me about which program I am using, shortcuts to useful forums pertaining to this program, etc, would also be helpful beyond belief.

 

Please be gentle, I am new here and I am aware that I may anger the locals by asking such a basic question, or may have posted this in the wrong spot, etc, and I apologize in advance for any transgression.

 

Thanks for reading!

Workforce Performance Builder questions

$
0
0

Hi all. I had a conversation with a client today who is interested in WPB. He had a few questions I wasn't sure how to answer, which I listed below:

 

1) Can WPB profiles be customized to match any software? Currently WPB does a great job of pulling in captions and buttons from MS Office and SAP. Our client is in the healthcare space though and was wondering if we could create a profile specific to EPIC software.

 

2) How are users typically brought in to Manager? I know there's the option to import Excel files; below that is an option to "ldap import and sso set up." How would that work? Specifically the client asked if they could use an Active Server Directory to manage their users.

 

Thanks for any help in advance

 

Stephen


Cost Estimate error

$
0
0

Hi experts;

 

I've created a discussion on the SD section where there is an error I'm actually confused about.

The replay came to me informing that part of the issue is CO.

Actually, where I'm yet considered new to the CO I cannot solve its error

 

So, may you kindly refer to the error in the below link and please help and guide how to solve such issue.

 

Release billing documents for accounting issue

 

Thanks in advance;

SAP Sourcing scripts - editing and source control maintenance

$
0
0

Scripts are, in short, one of the winning points of SAP Sourcing. As much as I appreciate the technology behind them (myself being a core java dev), they present huge gaps when it comes to methodology of development and maintenance.

 

The methodology in this case translates to either editing scripts directly in SAP Sourcing (yes, some people are masochists) or a low-level copy-paste. I cannot stress enough the problems that can arise out of this.

 

This blog post will cover my recommendations for scripts on:

  • editing
  • maintaining

 

 

Editing SAP Sourcing Scripts

 

When I’m not coding in Eclipse, my editor of choice for SAP Sourcing scripts (for Windows) is SynWrite (download here).

 

After installing SynWrite, we’ll add two plugins for it:

  • Java lexer
  • Code formatter

 

Adding java lexer

    • Open SynWrite and follow menu Options -> Add-ons manager -> Install
    • Search for Lexer: java and double click, confirm installation.
    • ***Optional*** - Configure java lexer to parse .bsh files (if you prefer to keep your scripts with .bsh extension instead of .java)
      • Options -> Customize lexers library -> Java -> File extensions: java jav bsh

 

Installing code formatter plugin

    • The formatter I'm using is a customised jsbeauty plugin.
    • To install, simply open the formatter zip file plugin.Alexey.extended.JsFormat.zip (download here) in SynWrite and confirm installation. File -> Open
    • Format your code using Ctrl+Alt+F or Plugins -> JS Format -> Format

 

 

Maintaining SAP Sourcing Scripts


Now that we have an editor that can ensure the formatting is consistent, and will not impact our SCM, my recommendation is to:

 

  • Download all your scripts from SAP Sourcing, and maintain them locally on your system
    • Use either script's EXTERNAL_ID or DISPLAY_NAME as file name (with extension .java or .bsh) for easy identification.

 

  • Install a SCM tool of your preference and keep your scripts version-controlled
    • My recommendation is to use only the best available: git
    • For an easy-to-use program you can simply download SourceTree which will handle everything for you with an excellent GUI.

 

 

The result:

 

  • EDITOR

I like SynWrite a lot compared to other alternatives (Notepad++ etc), because of the option to have a good formatterand a neat tree structure which shows all your functions in the script (cool!).

 

Screen Shot 2016-02-21 at 12.16.12.jpg

 

  • SOURCE CONTROL MANANGEMENT

Just compare what ever you are using as methodology (backups etc) with the picture below.

 

SourceTree.jpg

 

 

If you've followed on to this point you might be having two questions:

 

  • Can we have code autocomplete and validation like in a full-fledged IDE?
    • NOT in SynWrite or other editors you might be using.
    • YES, it can be done in Eclipse or Netbeans; I am using such options within Eclipse. BUT, coding beanshell in Eclipse is way too complicated to qualify for a public release or recommendation.

 

  • What's the point of all of this, if it doesn't solve the initial problem - having to copy-paste scripts from local files back into SAP Sourcing?
    • This post aims to provide a phase-one (the basis) for script management - getting the files in a coherent format into a version-control system.
    • In the next couple of days (stay tuned) I will release the phase-two: A tool that will automatically deploy your scripts from your SCM into Sourcing. So make sure you get your scripts in a local format under version control as soon as possible.

 

 

Bogdan Toma

Restricting logon while system is in maintenance - with Security policies.

$
0
0

Information:

 

The concept of the security policies is to make the SAP system more secure, you can use this function to make your SAP system more protected, with collection of security policy attributes.

 

Introduction:

 

We all know the situations in daily work we need to maintenance the SAP system, and we want to restrict the users to login to the system, while system is in maintenance, and only the administrators, should be able to log on to the system.

 

SAP provides us this new feature with the amazing tool - Security policies.

 

Prerequisites:

 

This function is provided only with kernel releases 721, 740, 741 and subsequent versions as of SAP_BASIS 731.

 

Configuration:

 

First weneed to allow the administrators to login to the system while the system is in maintenance. For this we need to create new security policies

 

  1. Use transaction SECPOL to create new security policies and assign the new attribute SERVER_LOGON_PRIVILEGE with the value 1.

          1.png

               Picture 1.0

               Please check SAP Security policies / Group policies blog by Gowrinadh Challagundla

               This will give you more information regarding the Security policies, and how to create it.

 

     2. Change the value of SAP parameter login/server_logon_restriction to 1.

         This value will allow only those users whose assigned security policy contains the new attribute

           SERVER_LOGON_PRIVILEGE with the value 1 can log on to the system

               2.png

                   Picture 1.1

                    Remember this value is dynamic value.

                   

The following values are possible:

    • 0 - No restriction All users can log on to the application server
    • 1 - Logon to the application server only permitted with special authorization. (SERVER_LOGON_PRIVILEGE with the value 1 can log on to the system.)
    • 2 - No logon to the application server permitted
    • 3 - External logon to the application server now only permitted with special authorization. (SERVER_LOGON_PRIVILEGE with the value 1 can log on to the system.)
    • 4 - No external logon to the application server permitted

     3. Add the security policies to the users – Go to SU01 and assign the Security policies

         to the administrator's users.

               3.png

               Picture 1.2


So after we finish the configuration, we can start the tests.

                   

                    4.png

               Picture 2.0

               Users without security policies cannot login to the system. (Restricted logon). Users with security

               policies will succeed.


SAP Sources:


1891583 - Restricting logon to the application server

http://scn.sap.com/community/security/blog/2013/01/04/sap-security-policies-group-policies

 

 

Caution:


Logonto the system with the SAP* user is always possible.



Thanks


Naor Shalom


Service Order created and released in CRM, however Internal Order not created in ECC

$
0
0

Hi Experts,

 

This is Busan.

 

I have created standard service order process and released in CRM, however Internal Order not created in ECC with the reference of Service Order details. I am expecting standard functionalities without any Z code.

 

Kindly help me.

 

Regards,

Busan.

Stopping/Deletion of auto firmed PR

$
0
0

Dear experts.

 

Although this question has been asked many times. But nothing suitable was found to my questions

1. I know how Firmed PR is created and also know the difference between firmed and fixed PR. But is there anyway we can stop creation of firmed PR. OR we can include them in MRP run? I tried OMDQ and OPPR setting, but nothing realized

 

2. if we cannot stop the creation then can have a report to track firmed PR ? its stored in structure MDPS. So Eban has not field for 'firmed'

Triggering Actions in BOPF API

$
0
0

Hi All,


I am trying to pass the name of the action along with its parameters to the DO_ACTION() method of the/BOBF/IF_TRA_SERVICE_MANAGER interface. But the action is not getting triggered. Instead it is filling the failed key table. The key which i am passing is the BO key of my custom object Z***********=>SC_BO_KEY


Please help me out, is there something which i am missing.


Regards,

Thiru

Difference in qty in apo

$
0
0

Dear Experts

 

For my process order there is difference in qty in apo when compare to R/3 Actually in r3 when i check in cor3 it is showing 50000 kg But in APO it is 0

 

i have done CCR it is showing me transfer to r/3  & apo  as per system i am transferring to APO but qty is not updating . I have checked all my queues and I model .every thing is fine   .  What could be reason ?

 

Regards

Jaisree


Manual Pricing Components Errors while request external pricing in sales quote

$
0
0

Hi All,

 

We have integrated C4C with ERP via PI. And for the requesting external pricing for sales quote in the C4C, the system returns some errors while manually adding the price components for some condition types (some condtion types no errors, and can be added sucessfully).

 

Error: Condition type XXX is a structure condition (KDUPL = A);

          Operations with condition of type F not allowed (XXX)

ManualConditionError.jpg

 

However, we test them directly in the ERP, no such above errors.

So does anybody knows why those errors raised in C4C? and is there any impact if leave condition category (say F) as blank?

Is there any impact if leave structure condtion as blank?

 

Begards,

Qiang

How to create a .dbg file for .js,xml,json files?

$
0
0

Hi,

 

Is there any way to convert js,mxl,json files to .dbg files??

extended fiori app runs fine locally but could not be run in fiori launchpad

$
0
0

Hello experts,

 

we have extended the sap fioir my appointments app with sap webide. We have included the openui5/googlemaps library which works fine when i run it locally in the webide. But when uploaded the app in abap repositiry and run it in fiori launchpad i get the error message "Could not open App. Try again later". When analyse the error with Chrome Inspect Element i can see the following error

 

"

2016-02-22 09:35:00 Application initialization failed due to an Exception:

Error: found in negative cache: 'cus/crm/mycalendar/CRM_MYCALExtension/Component.js' from /sap/bc/ui5_ui5/sap/zyps_myTourPlan/Component.js: Error: failed to load 'openui5/googlemaps/library.js' from openui5/googlemaps/library.js: 404 - NOT FOUND"

 

This is the first time i tried to include an external library in an sapui5 project, i need some good advices how to do it the right way.

I guess it has something to do with wrong path or initialization of the googlemaps library.

Here is my Project structure and component.js.

 

componentjs.png

 

I hope that someone can help me out with this problem.

 

Thanks a lot.

 

Best regards,

 

Quan

Environment shell activation failed in 10.1 nw classic

$
0
0

Hello experts,

 

Activation of  ENVIRONMENTSHELL failed due to UJT_EXCEPTION error that occured in reading models like rates, consolidation, etc.

 

I tried to clear the failed environmentshell in client "600" using program UJS_ACTIVATE_CONTENT and tried to reactivate it couple of times but still gave the same error.

 

 

Please find system landscape and error attachments.

 

regards

Praveen

 

 

CPMB PRODUCTION CLIENT IMPORT STATUS.jpg

 

ERROR.jpg

How to Calculate overtime in payroll as Wage Type in IT0015 accept No of hours with rate 1.7 for night 1.35 for morning 2 for off day and 40 L.E for no of days coming?

$
0
0

Hi Expert,

 

i have a problem when i calculate WT over time which i created in Additional Payment IT0015 i will tell you what i did and please tell me where is my mistakes?

 

i create wt 3351 charcteristics  is - & + num

unit is hours this in 512w_d

in T511k ZOVTN = 1.7 , M = 1.35 , Off = 2

in pcr

   PIT   ZOVT      NOAB      Over Time Calculati

 

 

       Input

       Processing

 

 

            /001 Valuation basis 1

            /801 Partial period factor 1

            /802 Partial period factor 2

            /803 Partial period factor 3

            /804 Partial period factor 4

            /806 Partial period factor 6

            /807 Partial period factor 7

            /808 Partial period factor 8

            /809 Partial period factor 9

            /810 Partial period factor 10

            /811 Partial period factor 11

            /812 Partial period factor 12

            /813 Partial period factor 13

            1001 Basic Sal

            1002 Var.Sal

            1003 Basic Salary Taxable

            2001 بدل التليفون المحمول

            2005 حافز

            2111 EE ENR

            2182 ENR- Deductions

            3351 OverTime Night (Basic/240)

            3354 OverTime on call

            7026 Total Salary OverTime

 

in 3354 i write rule like this

3354 OverTime on call

   NUM?0      Comparison

     *

     >

       NUM*KZOVTN Multiplication

       MULTI ANA  Multipl.amt/no/rate

       ADDWT 3354 OT   Output table

 

in simulation i found this

3354 OverTime on01                                 400,00

7026 Total Salar01                                  10,00            6.672,71

 

no result  what are mistakes plsssss?

 

thanks in advanced

 

Maysa Elwan

Viewing all 3578 articles
Browse latest View live


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