Create Routing Groups using BAPI_ROUTING_CREATE Limitation?
Hi all,
I am doing a conversion for the routing groups for PP. The routing groups include sequence, operation number, material assigned and component allocation.
In this project, the BOM size of the material is super huge, thus to ease the conversion. I have used Function module to download the BOM structure and then allow user to maintain manually the operation and sequence. After that I will use BAPI BAPI_ROUTING_CREATE to do the conversion.
And I manage to get all operation, sequences, material assigned and component allocated. However, I face a problem as the BOM size keep increasing and same material BOM might be assigned to different header BOM at the same time. Thus, key field such as level and path is important for the input.
Note: Please check the order path in CA03, the technical name is STPOB-WEGXX1 with attribute type DEC length 4.
In my case, the Order Path is more than 99... around few hundreds.... But the issue is the order path field used in the BAPI_ROUTING_CREATE: BAPI1012_COM_C-ORDER_PATH is only has attribute type NUMC length 2.
Either I get a short dump by passing in the order path, or I might miss out the some component allocation using the BAPI. Anyone faces this before? Please advise.
Thanks.
Best regards,
Vin
Hi Vivek,
I got this reply from SAP.
ORDER_LVL and ORDER_PATH need not be filled, but PATH has to be
filled with the KANTE values.
The logic to calculate path value is the same as the kante value.
(PATH)
A (N) 0
-> B (P) 1
-> B1(N) 1
-> B2(P) 2
-> C (P) 3
-> C1 (N) 3
-> C2 (P) 4
N- normal item P- phantom
Note 305919 details this.
However, it quite confuses me as I read through sapnote 305919 : It seems like what is been replied from SAP does not really correct.
Symptom
You want to create component allocations to phantom assemblies using batch or direct input. In order to uniquely identify the phantom assembly, you must enter the level and the path. This note describes how the SAP System assigns the level and the path.
Thus, I will continue to check with SAP. I think this is the inconsistency of the database and the BAPI, correct me if I am wrong.
Thanks a lot.
Regards,
Vin
Similar Messages
-
Creating Routings Operations using BAPI_ROUTING_CREATE
Hello,
I am creating Routing operations using BAPI_ROUTING_CREATE. The parameters which I am using are:
PROFILE
TASK
MAT_ALLOC
OPERATIONS.
The group counter and group are given internal number assignment.
In my case for 1 material number plant combination only 1 task exist. This can be considered as Header record. For this Header record there are multiple operations. My program calls BAPI only When any combination of MATNR or WERKS changes in MAT_ALLOC. It works fine for 1 operation but fails incase of multiple operations. The error is routing material assignment does not exist. I have checked for all madatory parameters in FM documentation. The BAPI when executed independently works fine but in program it fails.File format is
Mat. No. Plant Key Date Status Usage Operation Number Work center Control Key Description val unit.
I am calling BAPI only when Mat no or plant changes.Unitl then I append the data in internal tables.
Passing the data in this format every operation is given Mat No and Plant, then y it is giving error routing material assignment does not exist.
Please help in this regard.
Thanks
KhushbooWell actually that´s almost exactly what my task is as well.
So what i do is:
- reading the headdata of the given routing (the one which is to be copied)
- reading the positiondata of the given routing (the one which is to be copied)
then calling the BAPI_ROUTING_CREATE while exporting the headdata and the positiondata to the BAPI.
It works perfect for the routing itself, but the BAPI doesnt create any operations while it displays a sucess message and NO errormessages. -
Error while creating resource group using non-globalzones.
Dear all,
Hi techs please guide me how to create failover resource group in nongloablzones.
I'm getting error while creating resource group using non-globalzones.
My setup:
I have two node cluster running sun cluster 3.2 configured and running properly.
node1: sun5
nide2: sun8
I have create non-globalzone "zone1" in node:sun5
I have create non-globalzone "zone2" in node:sun8
node:sun5# clrg create -n sun5:zone1,sun8:zone2 zonerg
*(C160082) WARNING: one or more zones in the node list have never been fully booted in the cluster mode,verify that correct zone name was entered.*
kindly guide me how to create Apache resource group using non-glabalzones, i'm new to sun cluster 3.2. please guide me step by step information.
Thanks in advance,
veera
Edited by: veeraa on Dec 19, 2008 1:54 AMHi Veera,
Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
zoneadm list -iv
If zone1 or zone2 are not running then boot and configure them
zoneadm -z <zone> boot
zlogin -C <zone>
After that you can continue to follow the step by step instructions at
http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
These may also help
http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
Regards
Neil -
Creating Administration Groups using custom Target Properties?
I've added a Target Property "Usage" to my 'host' Target type. I would like to use this property when creating my Administration Groups. When I try to create my Administration Group hierarchy, the only Target Property's available to use are the default ones (Lifecycle, Location, etc). Usage does not show up.
Is there a way to make this work or is this just a limitation of OEM?Hi Timothy
Typically you want to create user groups for functional areas or grouped reports/queries. You can enter as many users as needed into a user group and only those who have the checkbox next to their name in the user group screen will have authorization to create/modify queries in the infosets where the usergroup is assigned. If you are creating 2 usergroups with the same users and authorizations then that is redundant but if the list of users is different or the authorizations may change then it would make sense to have 2 usergroups. You should have some naming convention to follow when creating the queries but the Z prefix is not required.
Andy -
HT1338 How do you create a group using imail
I am trying to create several different groups using the address book in imail. I tried the help section to no avail, can someone please help me.
Thanks10.7 Lion / 10. 8 Mountain Lion
This may not answer all your question but will provide an idea.
http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
Best. -
Creating user groups using SQ03.
I am going to make a change to a already existing query 01 in the user group /SAPQUERY/AM. I am not a query expert, in fact this is the second query that I am modifing. I am reading some documentation that the first thing that I have to do is create a user group. from what I am reading, the user group will contain the users that are allowing to modify queries. Since our users do not use this tool, I am the only one that creates and modifies queries. I think I am going to create a user group and that my user-id will be the only one in the group - correct? will I create one user group and and queries that I make changes to in the future user this user group or do I create user groups based on the users group that are defined by SAP. example - If I am changing a query in /SAPQUER/AM and in /SAPQUERY/AU - would I create 2 user groups 1 for AM and 1 for AU or would I create only 1 user group and use it for both queries.
After this, I think I have to copy the infoset (SQ02)and the query (SQ01) to custom names (names starting with Z) and then attaching the parts to the new user group.Hi Timothy
Typically you want to create user groups for functional areas or grouped reports/queries. You can enter as many users as needed into a user group and only those who have the checkbox next to their name in the user group screen will have authorization to create/modify queries in the infosets where the usergroup is assigned. If you are creating 2 usergroups with the same users and authorizations then that is redundant but if the list of users is different or the authorizations may change then it would make sense to have 2 usergroups. You should have some naming convention to follow when creating the queries but the Z prefix is not required.
Andy -
How to create a group using photoshop scripting?
Hey guys,
I can create a layer easily by the below code.
but how can i create a group that contain more than one layer.
var docRef = app.documents.add();
var myLayer = docRef.artLayers.add();Here is an example..
var doc = app.documents.add();
var newLayerSet = doc.layerSets.add();
var myLayer = doc.artLayers.add();
var myLayer2 = doc.artLayers.add();
//move the layers into the layerset
myLayer.move(newLayerSet, ElementPlacement.INSIDE);
myLayer2.move(newLayerSet, ElementPlacement.INSIDE); -
How to create user group using Visual Admin Tool
Hi
I am trying to configure the Adobe Service in WAS.As part of this process,i supposed to create the Hroup Called "ADSCallers".In document it suggested to go Servcer>Services>Security Provider.In that i selected UserManagement Engine Tab,but there "Create User","Create Group" buttons are disabled.so how to enable it so that i can create the groups/users there.please help
Thanks
PrasadHi,
Did you change the display mode to change mode by clicking
the "pencil" icon on the top left corner of the screen?
Best Regards
Srikishan -
Create AD group using powershell
foreach ($item in $list) {
If ($item.GroupName -eq "") {
Write-Host "[ERROR]`t Please provide valid group details in spreadsheet." -ForegroundColor Red
} Else {
$item.ID = $ou
New-ADGroup -Name $item.GroupName –path “OU=$ou,DC=account,DC=company,DC=com” -GroupCategory Security -GroupScope DomainLocal
I am getting a syntax error because of OU=$ou. Any idea how to fix this?Try {
Import-Module ActiveDirectory -ErrorAction Stop
Catch {
Write-Host "[ERROR]`t ActiveDirectory Module couldn't be loaded. Script will stop!" -ForegroundColor Red
Exit 1
$path = Split-Path -parent $MyInvocation.MyCommand.Definition
$newpath = $path + "\creategroups.csv"
$list = Import-Csv $newpath
Function Start-Commands {
Create-Groups
Function Create-Groups {
foreach ($item in $list) {
If ($item.GroupName -eq "") {
Write-Host "[ERROR]`t Please provide valid group details." -ForegroundColor Red
} Else {
$item.ID = $ou
New-ADGroup -Name $item.GroupName –path “OU=$ou,DC=company,DC=com” -GroupCategory Security -GroupScope DomainLocal
Write-Host "[INFO]`t Created new group : $($item.GroupName)" -ForegroundColor Green
Write-Host "STARTED SCRIPT`r`n" -ForegroundColor Cyan
Start-Commands
Write-Host "STOPPED SCRIPT" -ForegroundColor Cyan
New-ADGroup : The server is unwilling to process the request
At C:\Users\t-user-aws\Desktop\test\CreateGroups.ps1:29 char:5
+ New-ADGroup -Name $item.GroupName –path 'OU=$item.ID,DC=DC=company, ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (CN=TestGroupB,O...as,DC=com:String) [New-ADGroup], ADException
+ FullyQualifiedErrorId : ActiveDirectoryServer:0,Microsoft.ActiveDirectory.Management.Commands.NewADGroup -
Error in creating a group using createItemRequest
Hi Preston,
I am using createItemRequest for a creating group.
The code is as follows:
gwWB.createItemRequest oCreateAddBookEntryReq = new gwWB.createItemRequest();
gwWB.createItemResponse oCreateAddBookEntryResp ;
gwWB.ContainerRef oContRef = new gwWB.ContainerRef();
gwWB.Group oGroup = new gwWB.Group();
oContRef.Value = sAddBookID;
gwWB.ContainerRef[] oContainerRef = new gwWB.ContainerRef[1];
oContainerRef[0] = oContRef;
oGroup.container = oContainerRef;
oGroup.name = sName;
oGroup.comment = sComments;
oGroup.distinguishedName = sDistinguishedName;
oGroup.domain = sDomain;
oGroup.PABGuid = sPABGUID;
oGroup.postOffice = sPostOffice;
oGroup.userid = sUserID;
oGroup.uuid = sUuid;
oGroup.visibility = GetVisibility(oAddBookEntry.Visibility);
oGroup.customs = null;
oGroup.categories = null;
oGroup.members = null;
oCreateAddBookEntryResp = oUserBinding.createItemRequest(oCreateAddBookEntry Req);
if(oCreateAddBookEntryResp.status.code == 0)
string sNewAddBookEntryID = oCreateAddBookEntryResp.id[0];
createItemResponse is returning Status code as 0 and the id field for group as null. When i see the group in the Address Book , a message box pops up that the group cannot be opened.I'm confused at what you are trying to create.
Some of the fields are only available on a
system address book entry. You can't create a
system address book group from SOAP.
What does the SOAP trace look like for the
the create item request and response and
when you try to get the group after that?
Preston
>>> On Friday, March 12, 2010 at 12:46 AM,
shwetajain<[email protected]> wrote:
> Hi Preston,
>
> I am using createItemRequest for a creating group.
>
> The code is as follows:
> gwWB.createItemRequest oCreateAddBookEntryReq = new
> gwWB.createItemRequest();
> gwWB.createItemResponse oCreateAddBookEntryResp ;
> gwWB.ContainerRef oContRef = new gwWB.ContainerRef();
> gwWB.Group oGroup = new gwWB.Group();
> oContRef.Value = sAddBookID;
> gwWB.ContainerRef[] oContainerRef = new
> gwWB.ContainerRef[1];
> oContainerRef[0] = oContRef;
> oGroup.container = oContainerRef;
> oGroup.name = sName;
> oGroup.comment = sComments;
> oGroup.distinguishedName = sDistinguishedName;
> oGroup.domain = sDomain;
> oGroup.PABGuid = sPABGUID;
> oGroup.postOffice = sPostOffice;
> oGroup.userid = sUserID;
> oGroup.uuid = sUuid;
> oGroup.visibility =
> GetVisibility(oAddBookEntry.Visibility);
> oGroup.customs = null;
> oGroup.categories = null;
> oGroup.members = null;
> oCreateAddBookEntryResp =
> oUserBinding.createItemRequest(oCreateAddBookEntry Req);
> if(oCreateAddBookEntryResp.status.code == 0)
> {
> string sNewAddBookEntryID =
> oCreateAddBookEntryResp.id[0];
> }
>
> createItemResponse is returning Status code as 0 and the id field for
> group as null. When i see the group in the Address Book , a message box
> pops up that the group cannot be opened. -
Getting error while creating report group using T code GR52
HI All,
Below error is coming while generating report group in T code GR52
"Set 01010002SSS6EL0001 does not contain any entries "
Thanks in Advance......Hi Veera,
Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
zoneadm list -iv
If zone1 or zone2 are not running then boot and configure them
zoneadm -z <zone> boot
zlogin -C <zone>
After that you can continue to follow the step by step instructions at
http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
These may also help
http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
Regards
Neil -
Create Response groups multiple reponse groups using CSV file
Hi Champs,
We have good amount of response groups has to be created, I try to write the script but failed. Can any one help me to create Response groups through script.
In below script agents should be taken from CSV file.
Import-Module Lync
$serviceId="service:"+(Get-CSService | ?{$_.Applications -like "*RGS*"}).ServiceId;
$ag = New-CsRgsAgentGroup -Name "agent group" -Parent $serviceId;
$ag.Description = "Contain the agents";
$ag.ParticipationPolicy = "Formal"
$ag.AgentAlertTime = "20"
$ag.AgentsByUri.Add("sip:[email protected]")
$ag.AgentsByUri.Add("sip:[email protected]")
$ag.AgentsByUri.Add("sip:[email protected]")
Set-CsRgsAgentGroup $ag
Regards
VijendharYou also need to create queue and workflow. Please check how to create Response Group using Lync Server Management Shell at
http://blogs.technet.com/b/csps/archive/2010/09/15/rgscreateresponsegroup.aspx.
Lisa Zheng
TechNet Community Support -
Create Routing BAPI_ROUTING_CREATE Component Allocation
Hi,
I am creating routings by using BAPI_ROUTING_CREATE Function Module.
But I am unable to update Component allocation data using this BAPI.
What all the variables do i need to pass for updating Component allocation
Can I have any Inputs Regarding Component Allocation for this BAPI.
Thanks in Advance
Best Regards
RasheedHi,
Check
Re: BAPI_ROUTING_CREATE and components allocation. -
Interoperability routing group connector
Hello,
I have a Exchange 2003 SP3 Exchange organization. Befor i installed the first Exchange
2010 Server I have prepared the Organization.
setup /PrepareLegacyExchangePermissions
setup /PrepareSchema
setup /PrepareAD
setup /PrepareAllDomains
I wonder why no routinggroup connector was created after my Exchange 2010 Multirole installation.
Should I just ctreate a routinggroup connector via Exchange Shell?
New-RoutingGroupConnector -Name "Interop RGC" -SourceTransportServers "Ex2010Hub1.contoso.com" -TargetTransportServers "Ex2003BH1.contoso.com" -Cost 10 -Bidirectional $true -PublicFolderReferralsEnabled $true
"With my specific informations in the shell e.g. Target Server and Source Server"
Thanks for your Feedback
Best Regards
FarhadHi Farhad,
when you perform the Exchange 2010 installation on a unattended setup i.e, via commandlets it will not ask you to create Routing Group Connector (RGC) during the Exchange 2010 Hub Role installation.
It will ask you to create RGC only when you perform Graphical User Interface (GUI) installation via setup.exe
I think you might have been performed the installation in Unattended mode and thats the reason it never asked you to create RGC or you might have skipped the step of creating RGC during GUI installation.
So now you just need to create a new RGC for mail communication between ex2003 and ex2010 by the above command which you have mentioned only then mailflow btw ex2003 and ex2010 will happen.
Note: Ensure you select the correct source transport(EX2003 bridgehead) and target transport (Ex2010 Hub server).
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you to solve your problem.
Regards,
Sathish -
Command line to create a group
Hi,
I would like to create a group using command line. But the weblogic
document states that only mbeans under
weblogic.management.configuration and weblogic.management.runtime can
be used in weblogic.Admin command line. Is there a way to use comand
line?
Thanks,
-Qin Zhang
[email protected]"Qin" <[email protected]> wrote in message
news:[email protected]..
Hi,
I would like to create a group using command line. But the weblogic
document states that only mbeans under
weblogic.management.configuration and weblogic.management.runtime can
be used in weblogic.Admin command line. Is there a way to use comand
line?java weblogic.Admin -username weblogic -password weblogic -url
http://localhost:7001 INVOKE -mbean
Security:Name=myrealmDefaultAuthenticator -method createGroup testgroupname
testgroupdesc
>
Thanks,
-Qin Zhang
[email protected]
Maybe you are looking for
-
How to run image processor with ACR?
I have a folder with 1000 raws. I just want to run image processsor to make small jpegs for the copyright office. Think it ACR opens each one to the ACR window and then stops. (I think Jeff S, explained this in a previous thread of mine I now cannot
-
FPN over different domains and networks
Hello, I did some research on this but could not really find some definitive information if it is possible to set up an FPN over two domains, e.g. domain1.net as producer and domain2.com as consumer. The user connects to the consumer from the interna
-
Macmail and safari will not open
I downloaded safari 3.1 to my eMac with Osx 10.3.9. Now I cannot open safari or open my macmail. I was previously using Safari 1.2.3. So I then downloaded safari 1.2. I still cannot open macmail with the Safari 1.2. I have done some reading and I do
-
After validation want to state maintain of h:outputText /
Hi, I have some fields with validation, after validation want to state maintain of <h:outputText /> <h:outputText id="form_title" value="#{viewCDBean.form_title}"/> <h:outputText id="output1" value="Title"/><h:inputTextarea id="cd_title" value="#{vie
-
GR for non-valuated material (without reference PO)
Good day, SAP Masters! I have an urgent concern. How will I be able to GR material that are non-valuated (only the quantity will be monitored)? Is there a separate transaction code for this? Or can I use MIGO for this type of material? Thank you ver