Check whether master record conversions exist
Dear All,
I have copied the requests from developement server to quality server for SD IMG configrations.
When i am doing consistency check in Developement server there is no error.
However when i check the same in quality server I am getting the following error.
Check whether master record conversions exist
Dist. channel is missing for condition conversion 1000 10
Dist. channel missing for customer/material conversion 1000 10
Check whether master record conversions exist
Division is missing for condition conversion 1000 10
Division missing for customer conversion 1000 10
Can some body help me to solve this problem.This very urgent and will really appreciate your timely support.
Thanking you,
Best regards,
R.Srinivasan
Check whether master record conversions exist
Division is missing for condition conversion 1000 10
Division missing for customer conversion 1000 10
Experiencing the same problem also.
Right now, i'm re transporting the DEV config for Define Dist Channel, Define Division, Assign Dist channel to sales org, Assign Division to sales org, and Set up sales area. I hope once i transport them again in this order, the issue will be resolved is QAS.
Anyone know what i should do?
Similar Messages
-
Try to check whether a file already exists on disk by using fileExists
Hy all,
i try to check whether a file already exists on disk in my
Action scirpt.
I found this link about fileExists:
link
So i tried somethink like this in my code, but without
success...
if(fl.fileExists("file:///C|/toto.txt"))
{gotoAndPlay(2);}
else
{gotoAndPlay(3);}
Is it not the right syntax?
Thank you for your help.Did you build and application from the swf with mProjector?
The only
way this and other mProjector functions will get called is to
post
process your swf into and application (exe / app) using
mProjector.
you can get a free trial here
http://www.screentime.com/software/mprojector/demo.html
On 2007-01-08 16:02:42 -0500, "Alexis Schneider"
<[email protected]> said:
John Pattenden
Screentime Media - Flash Tools since 1997
http://www.screentime.com -
Use Powershell to check whether and AD user exists
We're trying to clean up roaming profile folders, and as part of the task I need to check whether the user actually exists in AD. I have tried 3 different methods and so far none of them work.
Either the empty result of the search doesn't equal $null (e.g. If ($objUser -eq $null) resolves to false) or Powershell crashes (like when I try to run that If statement). So is there an AD User equivalent to Test-Path?
RFI should add, if you want to use PowerShell filter syntax, you can use:
$Name
= "jsmith"
$User = Get-ADUser
-Filter {sAMAccountName
-eq $Name}
If ($User
-eq $Null) {"User does not exist in AD"}
Else {"User found in AD"}
And if you only have PowerShell V1, you can use the following:
$Name =
"jsmith"
$Searcher =
[ADSISearcher]"(sAMAccountName=$Name)"
$Results =
$Searcher.FindOne()
If ($Results
-eq $Null) {"Users does not exist in AD"}
Else {"User found in AD"}
In all cases I assume you are checking the "pre-Windows 2000 logon" name, not the Common Name (the value of the cn attribute, which does not uniquely identify the object in AD).
Richard Mueller - MVP Directory Services -
How to check whether a Record Exists or not in Ztable
Hi all,
I have Req like this
In ZTable i have 2 fields * Legacy System , Legacy Material No*
Environment Value is coming in one of the field in Idoc
The logic is if the Environment Value is UK and a Record Exists on the ZTable for Legacy Sysyetm = Leg1 means i have send Legacy Material No , else Send 01
Please suggest me the process for this
REgards
Vamsi
Edited by: Vamsi Krishna on May 19, 2009 5:31 PMHi Michal / Aamir,
Thanks for your replies.
The ZTable is at R/3 side only, iam using RFC Lookup for this, but iam bit confuse on how to construct the logic to check whether there is a record Exists or not on Ztable
Logic shld be If the Environment value is UK and a record exists on the Ztable for Legacy system "ABC" means then send Legacy material number else send 01
In Table we will have the fields Legacy System Legacy Material No & Environment value is coming from Idoc itself( Ex: UK or US)
Regards -
Dear All,
I have got an error message in enterprise structure when checking the consistancy check for sales and distribution under master data conversion - The error is
Dist. channel is missing for condition conversion 1500 15
Dist. channel missing for customer/material conversion 1500 15
can any one tell me how to solve this problem
Regards
ShakthiHi
check your assignment of common distribution channel and also if need be common divisions
IMG-SD-Masterdata-Common distribution channel-Common divisions
You should have this assignment must
When you do this, whenever you enter your distribution channel in a salesorder the system searches the records for conditions and customer/material details in the common distribution channel which you have assigned against your dist channel
raja
Edited by: ramanathan raja on Aug 14, 2008 11:50 AM -
How to check whether an attribute is existing in an OU using JNDI
I want to check whether an attribute is exixting some where in a User URl. Right now I am doing like this. I am setthing the Returning attributes with this attribute and will do a search whic will return a naming enumeration. If the namingEnumeration is not null, then the attribute is valid. But this search will take some time to finish. So Is there any way to identify an attreibute is existing or not, without performanc hindrance
your suggestions will help
Thanks in advanceSoulTech2012 wrote:
coolhead wrote:
I'm not sure you can. 24 hours ago you were not sure how to write an if statement and apparently you're still stuck.Probably you didn't notice the previous post.
I clearly told
coolhead wrote:
@SoulTech
thanks for your advice,
I am only using the traditional if statement till now.So I don't know what makes you think I am expecting others to do my job. And also, I have been going through the forum, though the case may be that others want their job done by this forum members, that is not going to be the case with me, because here only to learn, not to travel on someone shoulders.!
Please be a bit patient and go through all the replies in the thread, before you go accusing the poster. Yeah, I can understand your position, you have nearly 2900 posts as such, but don't you think, it is somehow unfair when you go accusing someone without reading the replies.?
And I am not here to have argument with this forum members, because I know they do a great job helping the people with their doubts.
If u still want to argue, do it until you are satisfied. -
[req] how to check whether given oracle table exist or not + C#
Hi,
All.
Actually i m creating a program using C# which connects to the database (oracle) and checks for the given table "OPC_GROUP". if the table doesnt exists then it creates the table else it updates all field with provided values
code
cmd.CommandText = "SELECT tname from tab where tname = 'OPC_GROUP'";
cmd.CommandType = CommandType.Text;
int length = cmd.ExecuteNonQuery();
if (cmd.ExecuteNonQuery() >0)
MessageBox.Show("Table does exist");
else
MessageBox.Show("Table doesnt exist");
But this code return "TABLE DOESNT EXIST" though table is already created
What i m doing wrong???
Please help..........
Thnx in advanceTry this..
cmd.CommandText = "SELECT count(*) from tab where tname = 'OPC_GROUP'";
cmd.CommandType = CommandType.Text;
string strnum = cmd.ExecuteScalar().ToString();
if (strnum!="0")
MessageBox.Show("Table does exist");
else
MessageBox.Show("Table doesnt exist");
Hope it helps,
Greg -
Personnel master record & not found (check entry) Message RU040
Dear Friends,
Error message RU040 is observed when confirmation is posted in CO11N for Personnel No.
However, with same data confirmation is successfully posted in quality server but in Production server it is giving error.
So I am confused why system is giving this error only in Production server & not in quality server even though Personnel Master record doesnt exist in both the servers.
Kindly share your views for the same.
Thanks in advance.
Regards,
TejasHi Hiren,
Thanks for your reply. But actually my issue is different. Actually When personnel no. field value is maintained in Produciton server while confirmation in CO11N by user it is throwing above error since no personnel master record maintained same is the case in quality server but to my surprise system is allowing to save confirmation without throwing above error in quality.
I checked CO86 part but it is not relavant to this issue.
Regards,
Tejas -
Check whether element exists in hierarchy
Hi together,
I've got a profit center hierarchy in BW and I need to develop a function module to check, whether a profit center exists under a certain hierarchy node.
Does anyone has an approach how to do that?
Kind regards
StefanHI Stefan,
You can do it in 2 ways:-
<b>1)</b> Use the Function Module <b>'G_SET_TREE_IMPORT'</b>
<b> CALL FUNCTION 'G_SET_TREE_IMPORT'
EXPORTING
no_descriptions = ' '
no_rw_info = 'X'
setid = p_setid
TABLES
set_hierarchy = lt_hier
set_values = lt_val.</b>
here, in lt_hier table you will get all the Nodes and in lt_val talbe you will get all the values under that nodes, so loop the lt_val Internal talbe and see whether the value is existed or not.
<b>2)</b> you can use SETNODE and SETLEAF tables to get the value and the Hierarchy Node.
i will show the way how to do this
By using the Fm you will get all the nodes and the values, so loop that internal tales and get waht you want and if you want to check a profit center then use the table SETLEAF, you will get the child node, then use the SETNODE to get the next node for that node. do like this up to get the parent node.
Hope you understand my point
Regards
Sudheer -
How to check whether a node exist in a Particular Level. (xmltype)
hi,
please help me to check whether a particular node exists in one level.
for eg
I have the following xml
<map>
<entry>
<key>
heading1
</key>
<map>
<entry>
<key> sub1 heading1</key>
<value> sub1 heading1 value </value>
</entry>
<entry>
<key> sub2 heading1 </key>
<value> sub2 heading1 value </value>
</entry>
</map>
</entry>
<entry>
<key>
heading2
</key>
<map>
<entry>
<key> sub1 heading2</key>
<value> sub1 heading2 value </value>
</entry>
<entry>
<key> sub2 heading2 </key>
<value> sub2 heading2 value </value>
</entry>
</map>
</entry>
</map>i need to check how many heading exists in this xml.
I am checking like
i:=1;
l_section := ip_xml.extract('//map/entry');
WHILE l_section.existsnode('entry[' || i|| ']') = 1 LOOP
// extract the key name within entry tag
// print the key name.
i:=i+1;
end loop;but iam getting all the key name like
heading1
sub1 heading1
sub2 heading1
heading2
sub1 heading2
sub2 heading2
I need only heading1 and heading2. how can I check whether a particular node exist in particular level.
first level , second level etc. Please helpbut iam getting all the key nameThat's because you're using a descendant axis : //map/entry
SQL> DECLARE
2
3 ip_xml xmltype := xmltype('<map>
4 <entry>
5 <key>
6 heading1
7 </key>
8 <map>
9 <entry>
10 <key> sub1 heading1</key>
11 <value> sub1 heading1 value </value>
12 </entry>
13 <entry>
14 <key> sub2 heading1 </key>
15 <value> sub2 heading1 value </value>
16 </entry>
17 </map>
18 </entry>
19 <entry>
20 <key>
21 heading2
22 </key>
23 <map>
24 <entry>
25 <key> sub1 heading2</key>
26 <value> sub1 heading2 value </value>
27 </entry>
28 <entry>
29 <key> sub2 heading2 </key>
30 <value> sub2 heading2 value </value>
31 </entry>
32 </map>
33 </entry>
34 </map>');
35
36 BEGIN
37
38 for r in (
39 select heading, headno
40 from xmltable( '/map/entry/key'
41 passing ip_xml
42 columns heading varchar2(30) path '.'
43 , headno for ordinality )
44 )
45 loop
46 dbms_output.put_line('Heading '||r.headno||' = '||r.heading);
47 end loop
48 ;
49
50 END;
51 /
Heading 1 =
heading1
Heading 2 =
heading2
PL/SQL procedure successfully completed -
Check whether mail account exists
is it possible with the javamail api to check whether an e-mail account exists or not w/o sending a mail to the account?
this would make life easier for me when people try to register for my homepage. Sometimes they enter incorrect mail addresses and I get a mail delivery error.
if I could check whether the mail account exists, and, if not, I could inform the user that tries to register, I could avoid this.
thanks,
chrisNo, it isn't possible to check whether an account exists. (Have you considered the possibility that people give you incorrect e-mail addresses on purpose so that they won't get e-mail from you?)
-
Customer Master Record and Sales Area
Hi All,
I'm new to SAP SD and so would appreciate some help.
A Customer Master Record may exist for many sales areas. Does this mean many sales area within one Sales Organizational right??Welcome to the forum. As a new member, I would like to inform you that there are certain rules and regulations applicable to this forum which you can find to your right screen where it has also been indicated that posting basic / repeated query is not allowed.
Please AVIOD posting queries like this. Since you have indicated that you are new to SD, it would be better if you test in SAP and see whether system is allowing or not so that you will learn on your own.
G. Lakshmipathi -
New outputs generated when changing logical system in output master record
Hi!
We are sending documents from ECC 5 to a legacy system via XI/PI. We are about to move from an old XI installation to a new PI installation. The output record used (for example in a billing document) is set up based on logical system. When moving from the old to the new platform, we need to change the output records from the old logical syste to the new logical system. However this leads to generation of new outputs in all billing docs when opened in change mode. This goes also for billing docs where we already generated outputs via lthe old logical system in the past. Is there any solution to prevent the automatic generation of outputs for documents where the condition type already was successfully processed (as it works when the logical system is not changed)?
Best regards
/BjörnNormally the same output is not supposed to be generated, unless 'Multiple issuing' checkbox is checked in the output type configuration.
Also you can probably add a requirement in the output determination procedure and check if output record already exists. Take a look at the standard 'Reprint' routine, kind of the opposite is needed in this case. -
Check for duplicate record in SQL database before doing INSERT
Hey guys,
This is part powershell app doing a SQL insert. BUt my question really relates to the SQL insert. I need to do a check of the database PRIOR to doing the insert to check for duplicate records and if it exists then that record needs
to be overwritten. I'm not sure how to accomplish this task. My back end is a SQL 2000 Server. I'm piping the data into my insert statement from a powershell FileSystemWatcher app. In my scenario here if the file dumped into a directory starts with I it gets
written to a SQL database otherwise it gets written to an Access Table. I know silly, but thats the environment im in. haha.
Any help is appreciated.
Thanks in Advance
Rich T.
#### DEFINE WATCH FOLDERS AND DEFAULT FILE EXTENSION TO WATCH FOR ####
$cofa_folder = '\\cpsfs001\Data_pvs\TestCofA'
$bulk_folder = '\\cpsfs001\PVS\Subsidiary\Nolwood\McWood\POD'
$filter = '*.tif'
$cofa = New-Object IO.FileSystemWatcher $cofa_folder, $filter -Property @{ IncludeSubdirectories = $false; EnableRaisingEvents= $true; NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite' }
$bulk = New-Object IO.FileSystemWatcher $bulk_folder, $filter -Property @{ IncludeSubdirectories = $false; EnableRaisingEvents= $true; NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite' }
#### CERTIFICATE OF ANALYSIS AND PACKAGE SHIPPER PROCESSING ####
Register-ObjectEvent $cofa Created -SourceIdentifier COFA/PACKAGE -Action {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
#### CERTIFICATE OF ANALYSIS PROCESS BEGINS ####
$test=$name.StartsWith("I")
if ($test -eq $true) {
$pos = $name.IndexOf(".")
$left=$name.substring(0,$pos)
$pos = $left.IndexOf("L")
$tempItem=$left.substring(0,$pos)
$lot = $left.Substring($pos + 1)
$item=$tempItem.Substring(1)
Write-Host "in_item_key $item in_lot_key $lot imgfilename $name in_cofa_crtdt $timestamp" -fore green
Out-File -FilePath c:\OutputLogs\CofA.csv -Append -InputObject "in_item_key $item in_lot_key $lot imgfilename $name in_cofa_crtdt $timestamp"
start-sleep -s 5
$conn = New-Object System.Data.SqlClient.SqlConnection("Data Source=PVSNTDB33; Initial Catalog=adagecopy_daily; Integrated Security=TRUE")
$conn.Open()
$insert_stmt = "INSERT INTO in_cofa_pvs (in_item_key, in_lot_key, imgfileName, in_cofa_crtdt) VALUES ('$item','$lot','$name','$timestamp')"
$cmd = $conn.CreateCommand()
$cmd.CommandText = $insert_stmt
$cmd.ExecuteNonQuery()
$conn.Close()
#### PACKAGE SHIPPER PROCESS BEGINS ####
elseif ($test -eq $false) {
$pos = $name.IndexOf(".")
$left=$name.substring(0,$pos)
$pos = $left.IndexOf("O")
$tempItem=$left.substring(0,$pos)
$order = $left.Substring($pos + 1)
$shipid=$tempItem.Substring(1)
Write-Host "so_hdr_key $order so_ship_key $shipid imgfilename $name in_cofa_crtdt $timestamp" -fore green
Out-File -FilePath c:\OutputLogs\PackageShipper.csv -Append -InputObject "so_hdr_key $order so_ship_key $shipid imgfilename $name in_cofa_crtdt $timestamp"
Rich ThompsonHi
Since SQL Server 2000 has been out of support, I recommend you to upgrade the SQL Server 2000 to a higher version, such as SQL Server 2005 or SQL Server 2008.
According to your description, you can try the following methods to check duplicate record in SQL Server.
1. You can use
RAISERROR to check the duplicate record, if exists then RAISERROR unless insert accordingly, code block is given below:
IF EXISTS (SELECT 1 FROM TableName AS t
WHERE t.Column1 = @ Column1
AND t.Column2 = @ Column2)
BEGIN
RAISERROR(‘Duplicate records’,18,1)
END
ELSE
BEGIN
INSERT INTO TableName (Column1, Column2, Column3)
SELECT @ Column1, @ Column2, @ Column3
END
2. Also you can create UNIQUE INDEX or UNIQUE CONSTRAINT on the column of a table, when you try to INSERT a value that conflicts with the INDEX/CONSTRAINT, an exception will be thrown.
Add the unique index:
CREATE UNIQUE INDEX Unique_Index_name ON TableName(ColumnName)
Add the unique constraint:
ALTER TABLE TableName
ADD CONSTRAINT Unique_Contraint_Name
UNIQUE (ColumnName)
Thanks
Lydia Zhang -
Partner roles in Vendor master record
Hi all
can some one explain me how to enter the partner roles in vendor master record
In sap help i didnt understood this point
"When working with partner roles, you must maintain the following settings:
Separate vendor master records must exist for all the partners of a vendor that are to be entered in that vendors master record."
what does it mean
suppose i am creating vendor master record 1234
Vendor master record:1234
LF 1234 /*vendor
BA1234 /*ordering address
i have to click 1234 in BA and select 'parner' at the top to enter the ordering adress right ...
what is the 'Separate vendor master records must exist for all the partners' mean
it has to be like this?
Vendor master record:1234
LF 1234 /*vendor
BA1235 /*ordering address
1235 vendor master record is created earlier and ordering address maintained ??
please help me in this record, any user manual or some screen shots to explain how to maintain partner roles in vendor master record
regards
Bhushan.NHi Sasi ,
What Ramkrishna explained is correct. I will try to illustrate it with the example.
Suppose you are creating a vendor 1234 which is Head office of the supplier where you need to place the order. But goods will be supplied from Pune plant so you should enter 1235 againts partner function GS , here 1235 is seperate vendor master record with Pune plant details & it must exist in the system so that you can use it as a partner function Hope this has cleared your doubts.
Similarly you vcan create other partner functions like payee,ordering party etc.
Regards,
Anand
Maybe you are looking for
-
Can I use iTunes files on a non-Apple device?
Hi all I have a bit of a random question I was hoping someone could answer. I have a 120GB iPod, and I´ve got an iTunes account with a bit of cash in it, ready to spend on a few movies. HOWEVER, the catch is that I´m actually travelling around South
-
Does anyone else get a Netfix window popping up unexpectedly? I have an iMac with OSX 10.6.8 and Safari browser version 5.1.10. It only happens when I go to a specific local news site, and it is only a Netflix window that opens up. I do have a Netfli
-
Transform XML-String to human readable XML-File
I need to transform a XML-String as coming from a simple transformation into a human readable XML-File. That means with linebreaks and logical indenting, each line not longer than n charactors. Example: <one><two>text</two><three><four>text</four></t
-
Hi When we submit any OWB 10G job, We can get the status of the Job from the RTA_STATUS column of the the table WB_RT_AUDIT. 1.This is numeric column which always gives value as 1 even if the job fails(ie Abended) or succeded.. 2.The view ALL_RT_AUDI
-
Upgrade from Panther: Mail - "Preparing to import messages", 10 minutes now
Mail has been sitting at this point for the last 10 minutes. What shall I do? Beavis2084