Erron in recording pp03 T.code
Hi experts,
when i am recording the pp03 T.code , In the third screen ( Address Infotype ).
It is giving the error like " location is not linked to structure Correctly"..
Thanks & regards.
Dattu M
1. Try doing the recording with transaction code SHDB instead of LSMW - I find that it seems to work better.
2. Not all transactions can be recorded. Particularly those that use a lot of control objects. I am not too familiar with this T-code but it looks to me that a recording would be difficult. Maybe try to find an older T-code that can perform the same functions. - I found that the same program is used in O4N9, O4NA, and O4ND. I am not sure if these will meet your requirements but give it a shot.
3. When you record do not scroll bars or buttons directly on the screen. Use buttons at the top of the menu bar and the application menu to switch from screen to screen, function to function. The recorder picks these actions up better.
4. Once you have your recording done generate a session from it. Then in SM35 view the session information. Double click the session name and click the screen tab. Then double click each screen - this should simulate the screen as the background job will see it. If what you see here is different from the transaction you are out of luck. I have had the same problem and not found much luck.
Similar Messages
-
ERROR IN BDC SESSION BACK GROUND ( USING PP03 T.CODE)
Hi Experts,
When i am executing the session ( pp03 T.Code) ,it is working fine in fore ground as well as in display errors mode. But it is not working in back ground mode.
it is raising the exception ( cntl-system-error).
I used flat file which is in the presentation server . I accessed it by gui_upload Function Module.
<b> I am also getting the error using data sets . After upload the presentation server data into one internal table .I sent it to application server using open data set ( transfer ) , after that i read the application server data using open dataset ( read )
into another internal table ( i declared with same structure of flat file ) .</b>
But this time also it is giving same error ( runtime exception).
Please tell me how can i handle using datasets . Its Very urgentttttttt
Please any body help meee ( If any one worked on this (pp03 T.code) ) .
Send the code or Inform the full detailsss as soon as possibleeee
regards ,
dattu malge.Hi,
Go to the transaction SM35 and select your session and then click the Process Button.
Here you select the Processing Mode as "Background".
It is not possible to execute the same session by more than one user at a same time.
RSBDCSUB is used to automate the processing of Batch input session.
Cheers,
Hakim -
Payment wizard -No matching records found 'Bank Codes' (ODSC) (ODBC -2028)
Hello dear experts,
I'm trying to execute the payment wizard to receive a payment from a vendor
The invoice appears in the recommendation report but the payment isn't added when i execute the payment run.
It appears after that in the Non-Included transactions with the following error message :
No matching records found 'Bank Codes' (ODSC) (ODBC -2028)
Can you solve this problem?
Thank youHi,
Could you find the followings regarding bank information and check if all the settings are correctly defined
1. Define payment run defaults > Payment method
Check payment method details from Administration > Setup > Banking
> Define payment methods
Payment method which is linked to BP > payment means - Bank transfer
2. ODSC table, Bank Code (just to check bank codes are stored well)
3. BP master data > Payment terms > BP Bank accounts
4. BP master data > Payment system > House bank.
Also Check Note no [971105|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000971105].
Regards
VIkas
SAP Business One Forums Team -
Hi Experts,
I am running a Payment Wizard for a Bank Transfer for a certain vendor, however I get the error "No matching records found 'Bank Codes' (ODSC) (ODBC -2028)".
I already checked my Bank settings and payment method settings but I still get the error.
I checked SAP Note 1980507 but the scenario should be without bank details in the BP payment terms tab. But in my case, its defined yet I get the same error as reported.
Any help would be appreciated.
Thanks,
DonHi,
Please check whether following setup done for payment wizard.
725786
- Definitions necessary for the payment wizard
Thanks & Regards,
Nagarajan -
Change default value for no of records in T code KSB1
Hi,
I am trying change the default value (no of records) in T code KSB1.
Is it defaulted progarmatically or through some configuration?
Any help is appreciated.
Thanks
GovindThank you all for immediate reply.
I know that I can create a variant or change the value by hitting more settings.
I have also seen in the program and its hard coded there as 5000.
We need that value to be defulted as 10000.So my question is that can we change via configuration or it can be done only progamatically?
Thanks
Govind -
Record the NOC codes at Job level for a particular country
Hi,
How do we record the NOC codes at job level for a particular country say for example canada?Which infotype the NOC codes exist and can be added to employee record?Is it through statistics infotype?
I could find that table T5K13 can hold these codes at job level, but unable to find a way to create a relationship between a job and the NOC codes.Please help if there is a way in our current SAP environment to record those codes on the job and if so how?
Also, if the initial configuration has not been done to add these codes at the job level what would be required to allow to maintain this.
Please help!!!
Thanks in advance.
Rakeshhi
in the view V_T5K13 , double click on the job code , there will be feild to add the noc code
Regards
sameer. -
Consignment purchase info record - no tax code found
Dear all
I have faced one problem regarding the consignment purchase info records' tax code. When I go to create the consignment pur info record we couldn't find any values existed in the field tax code. However, if I go to change another plant, the tax code information can be selected. (the plant - BP04 country HK is not worked, the plant BP06 country AU is fine). If we created the purchase info record without tax code, we would see a error when we are doing MRKO. Why ??? I have already double checked the configurations, it seems fine. Please see below. Could you help me to solve this ?? thanks a lot.
1. define procedure OBQ3
Step 1,condition type BASB
Step 2,condition type MWVS (input tax),from 1 to 1, account key VST.
Step 3,condition type MWAS (output tax),from 1 to 1, account key MWS (out put tax)
2. Assign country to calculation procedure in OBBG
3. Define tax codes for sale and purchase in TC FTXP
input tax indicates V
output tax indicates A
4.Assign tax code for non taxble transactional OBCL
5.Define tax accounts OB40.closed
-
Condition records and tax code combination table
CAn I know the table where both condition record and tax code stored.
Hi Jose,
I think you have quoted the tax procedure table. There i have not found the tax codes.
My requirement is both condition records and tax codes combination table.
I want to see for which condition type which tax code has been assigned. -
Hi Experts,
I want BAPI for pp03 T.code ....
Please inform me if any one knows ...
Its urgenttttt ,
Thanks & Regards ,
dattu malgeHi there,
Have you managed to find a BAPI for PP03?
Please let me know.
Thanks and Regards,
Preneshen Govender -
While recording a t.code for lsmw upload
How to obtain data collection template from LSMW object for example BOM creation. I forgot this step. Can some one help.
Dear,
LSMW-> 1 Maintain Object Attributes --> Flag on Batch input recording --> insert name and t-code in order to start registration.
Let me know if i solved your dubt.
Daniele -
Is it possible to start a recording from source code?
Hi everybody!
I'm currently using JProfiler in combination with JUnit tests to collect resource consumption metrics of features in our product.
A homemade JUnit runner starts and stops the JProfiler recording and parses the recorded data. It then compares the recorded values to predefined limits and fails the test if they are exceeded.
Now I want to change this to use the flight recorder instead. I found a nice article explaining how to parse .jfr files here: Using the Flight Recorder Parsers | Marcus Hirt
Unfortunately I can't figure out how to start and stop a flight recording from a JUnit runner besides using the jcmd tool.
Can anybody help me out?
Thanks a lot
TobiasAnswering myself once more since other people might stumble upon the same problem.
In the end I created a TestRule which I can add to the JUnit Test Class.
The interesting parts of the code are:
public class ProfilerTest implements TestRule {
@Override
public Statement apply(Statement base, Description description) {
return new PerformanceLimitsStatement(base, description);
class PerformanceLimitsStatement extends Statement {
private PublicFlightRecorderRunner runner;
private final Description description;
private final Statement base;
public PerformanceLimitsStatement(Statement baseParam, Description descriptionParam) {
description = descriptionParam;
base = baseParam;
@Override
public void evaluate() throws Throwable {
runner = new FlightRecorderRunner(description.getTestClass());
// start profiling
runner.startupProfiling("jfr/"+description.getTestClass().getSimpleName()+"."+description.getMethodName()+".jfr", annotation.cpuRecording(), annotation.allocRecording(), annotation.methodStatsRecording(), annotation.monitorRecording(),
annotation.threadProfiling());
// run a test method including its before and after methods inside a simple time measurement
base.evaluate();
// shutdown profiling
final File performanceSnapshot = runner.shutdownProfiling(description);
This uses a PublicFlightRecorderRunner - code:
import java.io.File;
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.nio.file.Files;
import java.util.List;
import javax.management.Attribute;
import javax.management.MBeanServer;
import javax.management.MalformedObjectNameException;
import javax.management.NotCompliantMBeanException;
import javax.management.ObjectName;
import javax.management.openmbean.CompositeData;
import javax.management.openmbean.CompositeDataSupport;
import org.junit.internal.runners.statements.InvokeMethod;
import org.junit.runner.Description;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.InitializationError;
import org.junit.runners.model.Statement;
* <p>
* (c) Copyright Vector Informatik GmbH. All Rights Reserved.
* </p>
* @since 1.0
@SuppressWarnings({ "restriction"})
public class PublicFlightRecorderRunner extends BlockJUnit4ClassRunner implements
IProfilerRunner {
private static MBeanServer ms = null;
private File file;
private static final String REGISTER_MBEANS_OPERATION = "registerMBeans"; //$NON-NLS-1$
private static final String JFR_CREATE_RECORDING_OPERATION = "createRecording"; //$NON-NLS-1$
private static final String START_RECORDING_OPERATION = "start"; //$NON-NLS-1$
private static final String STOP_RECORDING_OPERATION = "stop"; //$NON-NLS-1$
private static final String CLOSE_RECORDING_OPERATION = "close"; //$NON-NLS-1$
private static final String SET_EVENT_ENABLED_OPERATION = "setEventEnabled"; //$NON-NLS-1$
private static final String SET_STACKTRACE_ENABLED_OPERATION = "setStackTraceEnabled"; //$NON-NLS-1$
private static final String SET_THRESHOLD_OPERATION = "setThreshold"; //$NON-NLS-1$
private static final String SET_PERIOD_OPERATION = "setPeriod"; //$NON-NLS-1$
private static final String MC_CLASS_NAME = "com.sun.management.MissionControl"; //$NON-NLS-1$
private static final String MC_MBEAN_NAME = "com.sun.management:type=MissionControl"; //$NON-NLS-1$
private static final ObjectName MC_OBJECT_NAME = createObjectName(MC_MBEAN_NAME);
private static final String FRC_CLASS_NAME = "oracle.jrockit.jfr.FlightRecorder"; //$NON-NLS-1$
private static final String FRC_MBEAN_NAME = "com.oracle.jrockit:type=FlightRecorder";
private static final ObjectName FRC_OBJECT_NAME = createObjectName(FRC_MBEAN_NAME);
private static ObjectName recordingObjectName;
private static CompositeDataSupport recording;
private static ObjectName createObjectName(String beanName) {
try {
return new ObjectName(beanName);
} catch (MalformedObjectNameException e) {
throw new Error("Should not be possible: Could not make a new ObjectName " + beanName); //$NON-NLS-1$
* Constructor for FlightRecorderRunner.
* @param klass
* @throws InitializationError
public PublicFlightRecorderRunner(final Class<?> klass)
throws InitializationError {
super(klass);
@Override
protected Statement methodInvoker(final FrameworkMethod method,
final Object test) {
return new InvokeMethod(method, test) {
@Override
public void evaluate() throws Throwable {
final String targetFile = "jfr/" + method.getClass().getSimpleName()
+ "." + method.getMethod().getName() + ".jfr";
startupProfiling(targetFile);
for (int i = 0; i < 10; i++) {
super.evaluate();
shutdownProfiling(method, test);
public void startupProfiling(final String targetFile) {
file = new File(targetFile);
try {
createFlightRecordingClient(file.getName());
startFlightRecording(file);
} catch (Exception e) {
e.printStackTrace();
public File shutdownProfiling(final FrameworkMethod method,
final Object test) {
try {
stopFlightRecording();
} catch (Exception e) {
e.printStackTrace();
return file;
public static void createFlightRecordingClient(
final String recordingName) throws Exception {
// register Flight Recorder Bean
ms = ManagementFactory.getPlatformMBeanServer();
// Create MissonControl Bean
if (!ms.isRegistered(MC_OBJECT_NAME)) {
ms.createMBean(MC_CLASS_NAME, MC_OBJECT_NAME);
ms.invoke(MC_OBJECT_NAME, REGISTER_MBEANS_OPERATION, new Object[0], new String[0]);
// Create FlightRecorder Bean
try{
if(!ms.isRegistered(FRC_OBJECT_NAME))
ms.createMBean(FRC_CLASS_NAME, FRC_OBJECT_NAME);
ms.invoke(FRC_OBJECT_NAME, REGISTER_MBEANS_OPERATION, new Object[0], new String[0]);
catch (NotCompliantMBeanException e) {
@SuppressWarnings("unused")
boolean wedontcare = true;
// create recording
ms.invoke(FRC_OBJECT_NAME, JFR_CREATE_RECORDING_OPERATION, new Object[] {recordingName}, new String[] {String.class.getName()});
public static void startFlightRecording(File file)
throws Exception {
// Check that only one recording exists and that it's not already running
@SuppressWarnings("unchecked")
List<CompositeDataSupport> recordings = (List<CompositeDataSupport>) ms.getAttribute(FRC_OBJECT_NAME, "Recordings");
if(recordings.size() > 1) {
throw new Error("More than one recording available");
recording = recordings.get(0);
if( (boolean) recording.get("running")) {
throw new Error("Recording is already running");
// store the recording name for later us
recordingObjectName = (ObjectName) recording.get("objectName");
// set duration for the recording
final long duration = 10 * 60 * 1000; // 10 minutes in milliseconds - this number was determined by looking at the slowest test on jenkins
final Attribute durationAttribute = new Attribute("Duration", duration);
ms.setAttribute(recordingObjectName, durationAttribute);
// set destination for the recording
try {
Files.createDirectories(file.getParentFile().toPath());
final Attribute destinationAttribute = new Attribute("Destination", file.getAbsolutePath());
ms.setAttribute(recordingObjectName, destinationAttribute);
} catch (IOException e) {
e.printStackTrace();
// read event settings
@SuppressWarnings("unchecked")
List<CompositeDataSupport> eventSettings = (List<CompositeDataSupport>) ms.getAttribute(recordingObjectName, "EventSettings");
final long period = 0;
final long threshold = 100 * 1000 * 1000; // 100 ms - given in ns
// enable all events, set threshold to 100ms and stacktrace to false (because we only parse this in code)
for(CompositeData eventSetting: eventSettings) {
final Integer eventid = (Integer) eventSetting.get("id");
ms.invoke(recordingObjectName, SET_EVENT_ENABLED_OPERATION, new Object[] {eventid, true}, new String[] {int.class.getName(), boolean.class.getName()});
ms.invoke(recordingObjectName, SET_STACKTRACE_ENABLED_OPERATION, new Object[] {eventid, false}, new String[] {int.class.getName(), boolean.class.getName()});
ms.invoke(recordingObjectName, SET_PERIOD_OPERATION, new Object[] {eventid, period}, new String[] {int.class.getName(), long.class.getName()});
ms.invoke(recordingObjectName, SET_THRESHOLD_OPERATION, new Object[] {eventid, threshold}, new String[] {int.class.getName(), long.class.getName()});
// start the recording
ms.invoke(recordingObjectName, START_RECORDING_OPERATION, new Object[0], new String[0]);
public static void stopFlightRecording() throws Exception {
// make sure the recording is stopped
if ((boolean) ms.getAttribute(recordingObjectName, "Stopped")) {
throw new Error("The FlightRecording has already stopped in current thread. Consider increasing the duration!");
} else {
ms.invoke(recordingObjectName, STOP_RECORDING_OPERATION, new Object[0], new String[0]);
// close the recording to remove it from the flightrecorder
ms.invoke(recordingObjectName, CLOSE_RECORDING_OPERATION, new Object[0], new String[0]);
This creates a .jfr file which can be used later.
I parse it in the TestRule to determine if the test violated memory or time limits, in which case the test is failed. (see the link in my first post for information about parsing .jfr files)
The code may not be the prettiest but so far it's working well.
Message was edited by: the_qa_guy
Changed the code to use the JFR bean -
Mathing record with partner code else all recoreds shown in '+'
SELECT t.dnd_id, t.dnd_no, t.dnd_size, t.dnd_type, t.dnd_iso_code,
t.dnd_carrier, t.dnd_pool_code, t.dnd_hub, t.dnd_booking_no,
(SELECT agt_area_agt_code
FROM tab_mdl_agent_cont_area
WHERE agt_area_hub_code = t.dnd_hub) vwagtcode, t.dnd_bl_no,
t.dnd_release_order, t.dnd_ref, t.dnd_service, t.dnd_rec_country,
t.dnd_rec_loc, t.dnd_del_country, t.dnd_del_loc, t.dnd_commodity,
t.dnd_partner_code, t.dnd_eqp_group, t.dnd_move_start,
t.dnd_move_start_dt, t.dnd_move_end, t.dnd_move_end_dt,
t.dnd_date_diff, t.dnd_free_days, t.dnd_dem_days, t.dnd_dem_flag,
t.dnd_demdet_amt, t.dnd_demdet_cur, t.cr_user, t.cr_dt, t.up_user,
t.up_dt, t.cr_loc_dt, t.dnd_act_type, t.dnd_move_start_id,
t.dnd_ref_group, t.dnd_move_end_id,
( TO_DATE (dnd_move_end_dt, 'DD/MM/RRRR')
- TO_DATE (dnd_move_start_dt, 'DD/MM/RRRR')
+ 1 daydiff,
dd_free_days, tariff_dd_ref, cc.dd_currency,
TO_NUMBER (fn_demamt (tariff_dd_ref,
( TO_DATE (dnd_move_end_dt, 'DD/MM/RRRR')
- TO_DATE (dnd_move_start_dt,
'DD/MM/RRRR'
+ 1,
dd_free_days
) amount
FROM tab_thd_eqp_demdet t INNER JOIN tab_mdl_pool_dnd_parm bb ON t.dnd_pool_code = bb.dnd_pool_code
AND t.dnd_act_type = bb.dnd_dem_type
INNER JOIN tab_mhd_tariff_dnd_param aa ON aa.tariff_dnd_id = bb.dnd_id
INNER JOIN tab_thd_eqp_demdet_tarif cc ON aa.tariff_dd_ref = cc.dd_ref
AND (cc.dd_eqp_size = t.dnd_size OR cc.dd_eqp_size IN ('+'))
AND (cc.dd_eqp_type = t.dnd_type OR cc.dd_eqp_type IN ('+'))
_{color:#ff6600}AND (cc.dd_partner_code = t.dnd_partner_code_
OR cc.ddpartner_code IN ('+')_
_{color}_
WHERE tariff_dd_ref IS NOT NULL
ORDER BY cc.dd_currency, amount
my table (tab_thd_eqp_demdet_tarif ) is
DND_PARTNER_CODE ..............
+ ............
AE00000054 .................
This code shows the Data as below (marked in Red)
DND_NO DND_PARTNER_CODE
BAXU2587219 AE00000054
BAXU2587219 '+'
when the partner code matches with tab_thd_eqp_demdet_tarif column thenit should give the result of the matching data otherwise show
the values matches with + (tab_thd_eqp_demdet_tarif column DND_PARTNER_CODE )
Edited by: user2926377 on Nov 12, 2008 12:43 AMThe problem is
my select stament gives both resuls from where clause
ie matching records and all those with '+' ie not matched records.
what i require is
if i find matching records then it should exit the select statment
and if no matched records found from the where cluase then it should show records from where = '+' -
Hi,
How to find out condition record number created by a Tax code.Hi Mallikarujana,
Goto T.code FTZP then enter country ket and tax code.
then click F6 (environment > claculation procedure) there you get option to select condition record.
Hope this helps.
Please assign points as way to say thanks -
Merging records through C# code
Below is the offending code.
Merge.MergeRecordsWS_MergeRecords_Input mergei = new Merge.MergeRecordsWS_MergeRecords_Input();
Merge.MergeRecordsWS_MergeRecords_Output mergeo;
mergei.PrimaryId = LeadID;
mergei.DuplicateId = ELead.LeadId;
mergei.RecordType = "Lead";
mergei.MergeWhenPrimaryBlank = "True";
mergeo = Merger.CallMergeRecords(mergei);
Merger is declared and initialized as a MergeRecords object with the correct URL and session ID.
When this code is executed, sometimes, it returns an error of There already exists a record with those values.
This doesn't happen all the time, but I am not able to pin down a scenario where it fails consistently. This is part of a larger bit of automated code that runs when a new Lead is created. It is designed to detect duplicates and remove them by merging the records. Why would I get a "record exists with those values" error? Of course one exists, thats why we're trying to merge them. I have checked the ones that have failed recently, and there are only 2 leads that exist with the same information, and both of them are being referenced by the ID's above.Use the below link:
https://msdn.microsoft.com/en-us/library/cc264319(v=office.12).aspx
To back up a site collection, call the Backup method. As parameters pass
the following:
The full URL of the site collection; that is, the full URL of its Top Level Web site.
The full path and file name of the file that will hold the compressed content of the site collection.
True, if the operation should overwrite an existing backup file of the same name; false, if it should not.
C#
mySiteCols.Backup(@"http://Server/sites/MySiteCollection", @"\\OtherServer\WSSBackups\SiteCollections\BackupOfMySiteCollection", true);
To restore a site collection, call the Restore method. It takes the same
parameters as the Backup method. The Boolean parameter
indicates whether the site collection should be overwritten if it already exists at the specified URL.
C#
mySiteCols.Restore(@"http://Server/sites/MySiteCollection", @"\\OtherServer\WSSBackups\SiteCollections\BackupOfMySiteCollection", true);
Example -
ADF,how to delete parent record and related child record without manual cod
Hi All,
I'm using 11g adf.
I have one parent table PAR and two child table CHD1 , CHD2 respectively.
I'm inserting values in three tables , making a form having add , delete and edit buttons.
Issue when i want to delete a record from PAR table , it gives child table record exists . i have did manual coding to delete the child records with related to the selected parent table PAR.
Is there any process in ADF to delete the child records with respective selected parent record with out manual coding.
thanks in advance.http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcentities.htm#BABHFJFJ
John
Maybe you are looking for
-
How to add a symbol to the beginning of a project?
I have a pretty intricate Animate composition. I want to add a simple Symbol/Animation at the beginning. I've tried inserting time and it did nothing. Basically, I just want to shift everything over a couple of frames. I thought of turning the ba
-
Webservice Consumption from ABAP without XI
Hi Experts, Im trying to consume a webservice which I got from ESB(IBM) team. Basically I got a wsdl file. First I have created a proxy from SE80 by uploading this wsdl file and I have activated sucessfully. Second from SOA Manager I have created Log
-
Is there any way to zoom out the text in itunes, or change its resolution. I got a new PC in July and the monitor is 1080p and its the first time I've noticed this. Here's a pic of what I'm talking about. You see I can't read most of the sentences fu
-
Problem logging into infoview crystal reports server X1
Hi, i'm trying to move our crystal server to another server but am running into issues. Our server is Windows 2003 R2 SP2 we use Active directory authenication. when logging into infoview the follow error appears. An error has occurred: An unknown er
-
my iphone 4s was continually searching for a newtwork my carrier informed me my iphone needed a service or exchange. i drove 2hrs and paid $239 to exchange my iphone. i then went to activate it and i recieve a message saying activation failed. the SI