Load Program to Assign Class to Routing Operation
Hello Experts,
I used the standard batch direct input program to load Routings/operations/bom component allocation etc.
We also have a requirement to assign Class(for class type 018) to each of these operations.
Please suggest a standard load program to assign classification to a routing operation.
Thanks
Kishore
Found the answer
Similar Messages
-
Assignment of components to operations using LSMW
Hi
i created routing using LSMW.
i created all the operations using direct nput methode
and material to group assignmebt using batch input methode.
but i was not able to assign my components of the BOM to my routnig operations.
How to do this.
which one is the best and easy way. direct or batch input methode.Dear,
Now I am clear.
You need to create different 2 BOM and with BOM items, as below,
example - total requirement of material A is say 10.
Semi finished Product- X BOM
BOM item 1 - material A-qty 8
BOM item 2 - material B-qty -5
Finished material Y - BOM
BOM item 1 - semifished material X-qty 10
BOM item 2 - material C-qty 10
BOM item 3 - material A-qty 2
BOM item 4 - material D-qty -2
You need to create above 2 BOM's if you want to see semifished product into inventory, if not proceed as below
Finished material Y - BOM
BOM item 1 - material A-qty 8 assign it to routing operation 10
BOM item 2 - material B-qty -5 assign it to routing operation 10
BOM item 2 - material C-qty 10 assign it to routing operation 20
BOM item 3 - material A-qty 2 assign it to routing operation 30
BOM item 4 - material D-qty -2 assign it to routing operation 30
I think this is the only way you can map it. -
Create_dynamic_table - error "Load program not found"
Hi experts,
i have receive error "Load program not found" at CALL METHOD cl_alv_table_create=>create_dynamic_table
Runtime Error LOAD_PROGRAM_NOT_FOUND
Exception CX_SY_PROGRAM_NOT_FOUND
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_PROGRAM_NOT_FOUND', was
neither
caught nor passed along using a RAISING clause, in the procedure
"FB_TABLE_CREATE_STRING" "(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
On account of a branch in the program
(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
or a transaction call, another ABAP/4 program
is to be loaded, namely " ".
However, program " " does not exist in the library.
I'm stuck in this annoying problem,,,can anyone help me?Hi Maroz,
I know this is not best practise to post my question in some others, but i have posted it separately earlier
Dynamic ITAB from Excel
I have created a dynamic ITAB from 1 Row of Excel Sheet
LOOP AT ist_excel INTO w_excel WHERE row = 2. " Contains the Values provided in 2nd row of Excel
APPEND w_excel TO row1.
ENDLOOP.
LOOP AT ist_excel INTO w_excel WHERE row = 3. " Contains the Values provided in 3rd row of Excel
APPEND w_excel TO row2.
ENDLOOP.
LOOP AT ist_excel INTO w_excel WHERE row = 4." Contains the Values provided in 4th row of Excel Etc
APPEND w_excel TO row3.
ENDLOOP.
LOOP AT row1 INTO w_excel.
CLEAR wa_it_fldcat.
wa_it_fldcat-fieldname = w_excel-value .
wa_it_fldcat-datatype = 'C'.
wa_it_fldcat-inttype = wa_details-type_kind.
wa_it_fldcat-intlen = 40.
* wa_it_fldcat-decimals = wa_details-decimals.
APPEND wa_it_fldcat TO it_fldcat .
ENDLOOP.
* Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = it_fldcat
IMPORTING
ep_table = new_table.
ASSIGN new_table->* TO <dyn_table>.
* Create dynamic work area and assign to FS
CREATE DATA new_line LIKE LINE OF <dyn_table>.
ASSIGN new_line->* TO <dyn_wa>.
I followed the Link provided by to create a Dynamic ITAB
Please guide me how to pass these Value from excel to Dynamic Internal Table
Warm Regards
Ramchander -
Routing Operation Classification 018
Hi All,
I have mainatined the class type as 018 in CL02.
And assigned class to one of the operation of the routing.
But when i try to check the attahced class to operation after some time it is giving me the error message as
No classifiable objects defined
Message no. CL512
Diagnosis
No classifiable objects are defined.
Before you can classify an object, you must define the object type.
I am using ECC 6.0 version.
Thanks,
Amit ShahAn old question, but if someone is having the same problem this could help.
SAP showed me the same error when I tried to access the operation class in the txn CA02.
No classifiable objects defined
Message no. CL512
Then I displayed the class in txn CL03 and when i tried again to show the class in txn CA02 the error disappeared. You could try to display the class information before using txn CA02 to avoid the message CL512. -
Environment:
Win 7 SP 1
Visual Studio Pro 2012 Update 4
Crystal Reports for Visual Studios Service Pack 10 (13.0.10.1385)
Report created in Crystal Reports XI Release 2 (11.5.8.826)
Targeting x86 .NET 4.0
Scenario:
We have a program that runs and creates a large number of reports before the process is ended. When running after many hours we'd get a Load report failed/Not enough memory of operation exception. I kept removing code and found i could reproduce just using the report.Load call. I simplified the report to a completely blank report to make sure it was nothing specific to a report I was loading. (Opened Crystal Reports XI Release 2, Save As, "Blank.rpt".). I then created, loaded, and disposed of this report in a loop. I was able to cause the same exception after 32,764 iterations on my machine. I also tried using .NET 3.5 same result. I added a counter to our main program and it also went through 32,764 report loads before the same exception was thrown. Main program uses 15 or so different reports with a variable number of subreports in each.
Sample Code to illustrate the problem:
I did this as a WinForms project since our main program is using winforms.
References added:
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
using System;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
namespace CrystalTest
public partial class Form1 : Form
public Form1()
InitializeComponent();
int i = 0;
try
while (true)
i++;
ReportDocument report = new ReportDocument();
report.Load("Blank.rpt");
report.Close();
report.Dispose();
catch(Exception ex)
MessageBox.Show(i.ToString() + ex.Message);
Exception:
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004):
Not enough memory for operation.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at CrystalTest.Form1..ctor() in c:\Test Projects\CrystalTest\CrystalTest\Form1.cs:line 27int = Int32. No it's not the "counter" that's causing the problem. The max size of an int32 is far far larger than 32764.
I am disposing and cleaning up the datasets in the main app. That is why I didn't include them in this test; they aren't relevant.
I'm unsure why this test program is completely irrelevant. It throws the same exception, at the same count, as the main program. It does it in substantially less lines of code than our main program. I spent days running long tests to figure out exactly what I needed to make the problem appear so I could post a clean and precise post on these forums. I then created the test program to illustrate that.
The "real" code as I said does stuff in sections and in a certain order.
For each report I need to export based on rows in a table
1. Creates a new Report Document
2. Loads the report document with the report
3. Creates a dataset of the data to display
4. Calls SetDataSource
5. Calls Report.ExportToDisk
6. Disposes DataSets
7. Closes/Disposes Reports
To help isolate the problem I first took out the export to disk part (Step 5). The problem still occurred. I then took out everything related to our data. (Step 3, Step 4, Step 6). The problem still occurred. And yes I commented out this code in our main real program. This left me with:
1. Creates a new Report Document
2. Loads the report document with the report
7. Closes/Disposes Reports
At this point i had to prove it was not dependent on the report. This makes sure it's not a database connection, or pulling too much data into the report. The most efficient test for this is a blank report.
So my order of operations becomes...
1. Creates a new Report Document
2. Loads the report document with a blank report
7. Closes/Disposes Reports
So you'll see this is exactly why I wrote this test the way that I did.
I've had a run where it error on iteration 32761. My last runs have errored on 32764. I have had many runs over many weeks that all error with the same exception.
There are no temp files left behind, With a test running you can see the temp files being added but they are immediately removed. -
ERROR: 'Sky Go unable to load program information as there is no Internet connection'
I was using Sky Go via my iPad and a T-Mobile hot spot generator (Hauwei) to watch programs whilst in my caravan in Devon. Suddenly it stopped working and I now whenever I try and use Sky Go I get the message 'Sky Go unable to load program information as there is no Internet connection'. Obviously I am connected. I have tried reinstalling Sky Go and have completely rebooted the iPad but to no effect. Why has it suddenly stopped working???
Having returned home I have tried to connect again when the ipad is connected via my BTHomeHub2 but I still get the same message, I have also tried to use BBC iPlayer and I am getting the same error message. What has happened????nikhildhoot wrote:
When the router has an internet connection, the phones automatically connect to the router flawlessly. When there is no internet connection, we get a notification saying "Wi-Fi Connection Limited"
The limited WiFi Connection issue when there is a good internet connection, is a known issue in the OS releases in the past six months, and has been corrected as far as I can tell on the most recent 10.2.1.3xxx or higher OS.
But, I would note that when your router has no internet connection, you should expect to get that notification... no internet connection > limited wifi connection.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
How to write a class loader to solve the class confliction in rt.jar?
Hello guys:
The weblogic.jar has the javax.management.*, it is conflict with rt.jar's
I want to use JMX 1.0 to communicate with weblogic 8.1. The client should be run in the Java 1.5
It throw
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359I know the reason is java 1.5 has JMX 1.2 in it.
So how can I program a class loader to load the weblogic.jar classes in? I have tried a lot of code, but failed.
Is there any sample here?
I want to use the JMX 1.0 in weblogic.jar at jdk1.5 run time
Thanks a lot,
QiangHello guys:
The weblogic.jar has the javax.management.*, it is conflict with rt.jar's
I want to use JMX 1.0 to communicate with weblogic 8.1. The client should be run in the Java 1.5
It throw
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359I know the reason is java 1.5 has JMX 1.2 in it.
So how can I program a class loader to load the weblogic.jar classes in? I have tried a lot of code, but failed.
Is there any sample here?
I want to use the JMX 1.0 in weblogic.jar at jdk1.5 run time
Thanks a lot,
Qiang -
I've started getting an intermittent error editing my Windows 7 OSD task sequence. Sometimes I can open the TS to edit, but when I try to apply changes I get the error. Other times I get the error when trying to open the TS. If I try again
right away, I still get the error, but if I wait a few minutes and try again sometimes it will open the TS.
The error reads:
ConfigMgr Error Object:instance of SMS_Extended Status{Description = "Failed to load dynamic properties for class \"SMS_TaskSequence_ApplyWindowsSettingsAction\" from XML into WMI";Error Code = 2147943746;File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";Line = 3454;Operation = "ExecMethod";ParameterInfo = "SMS_TaskSequencePackage";ProviderName = "WinMgmt";StatusCode = 2147749889;}
Coinciding with this error, I show the following entries in the TaskSequenceProvider.log file:
[PID: 7608] Invoking method SMS_TaskSequence.LoadFromXml
TaskSequenceProvider
Failed to protect memory buffer, hr=0x80070542
TaskSequenceProvider
Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load node Apply Windows Settings from XML into WMI 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "PostInstall" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "Execute Task Sequence" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load XML for the task sequence into WMI 0x80070542 (2147943746)
TaskSequenceProvider
[PID: 7608] Done with method SMS_TaskSequence.LoadFromXml
TaskSequenceProvider
Setting status complete: status code = 0x80070542; Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI
TaskSequenceProvider
I exported the task sequence and checked in "object.xml" for the "ApplyWindowsSettingsAction", to see if there was something odd in the xml, but I don't find anything that jumps out as being wrong. Here's the section of XML for
that step. I've removed identifying info, and replaced it with a generic term in bold.
<step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">COMPANY NAME</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">COMPANY NAME</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">Central Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDDomainName" property="DomainName">DOMAIN.COM</variable><variable name="OSDJoinPassword" property="DomainPassword"></variable><variable name="OSDJoinAccount" property="DomainUsername">DOMAIN ACCOUNT</variable><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable><variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable></defaultVarList></step>
Is there any other log I should check for a clue on this issue? What could be causing this error?Thanks for sharing that! I tend to save contacting MS support until after I've exhausted other options. I'm always afraid that I'll spend the $500 to open a case and then it turns out to be something simple that I would have found if I had just
kept working on it myself a little longer.
It looks like that link is for an update released in February as KB3023562. I downloaded and installed it. I'll try opening/editing/saving the task sequence a few times today to see if the issue is resolved.
After I had already installed it, I thought to look up that update in configmgr. The update is listed as superseded by 2 other updates. The newest of those is KB3046049, which just installed last night with the other March patches, so it's possible
that I didn't need to install KB3023562 after all. -
I'm creating a custom class to retrieve some data using URLoader.
My code is below, doing this from memory, plz ignore any minor typos.
The challenge I'm encountering: when my custom class calls the loader, the event handler takes over. At which point the context of my code leaves the function and it's not clear to me how I then return the data retrieved by the loader. I sense that I'm breaking the rules of how ActionScript really runs by putting a loader in a separate class; at least, that's my primitive understanding based upon the reading I've done on this.
So can I do this? I am trying to create a clean separation of concerns in my program so that my main program doesn't get clogged up with code concerned with retrieving remote data.
Thanks!
Main program;
import bethesda.myLoader;
var ldr:myLoader = new myLoader;
var data:String = myLoader.getData("someurl");
My custom class:
package bethesda {
public class myLoader {
function myLoader(url:String):String {
var loader:URLLoader = new URLLoader();
var request:URLRequest = new URLRequest(url);
loader.addEventListener(Event.COMPLETE, completeHandler);
function completeHandler(event:Event):void {
var ld:URLLoader = new URLLoader(event.target);
data = loader.load(); // here's where I don't know what to do to get the data back to my main programI think you are on the right track in abstracting loading from other code.
Your class may be like that:
package
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.net.URLLoader;
import flash.net.URLRequest;
public class myLoader extends EventDispatcher
// declare varaibles in the header
private var loader:URLLoader;
private var url:String;
public function myLoader(url:String)
this.url = url;
public function load():void {
var loader:URLLoader = new URLLoader();
var request:URLRequest = new URLRequest(url);
loader.addEventListener(Event.COMPLETE, completeHandler);
loader.load(request);
private function completeHandler(e:Event):void
dispatchEvent(new Event(Event.COMPLETE));
public function get data():*{
return loader.data;
Although, perhaps the best thing to do would be to make this class extend URLLoader. With the example above you can use the class as following:
import bethesda.myLoader;
import flash.events.Event;
var ldr:myLoader = new myLoader("someurl");
ldr.addEventListener(Event.COMPLETE, onLoadComplete);
ldr.load();
function onLoadComplete(e:Event):void {
var data:String = ldr.data; -
Track Changes made in Routing Operation Detail
Hi gurus,
I need your help with Routings.
We have a process where if a change is made into the Routing, we have the Change Master process and a Change number is assigned to this Routing.
For example, if a change is made into the Description of the "Operation" into the Routing, I can see this change with transaction CA60 and CA61.
But, if a change is made into the "Operation Details" i.e.: change the labour data or the overlapping data (where before it was Required overlapping and now is No overlapping); this kind of change into my Routing is not showed in transactions CA60 or CA61.
I checked that a changed was made because the "Changed on" field was updated and "Changed by" field.
Then, I checked the tables CHDHR and CDPOS and I can see that a document was created with the changed that I did, but, it does not show the detail of my change (i.e. old value was: Required overlapping, new value is: No overlapping).
Do you know where I can see that my change was made? Or, is it possible to track these kinds of changes into SAP? where and how?
Many thanks for your time and your feedback will be very well appreciated!
Regards,
SandraHi,
Look for the change history in change header and change positions.
The tables are CDHDR and CDPOS.
Regards,
Renjith Michael. -
hi,
please tell me how to assign PRT in routing.
Thanks
Paraghi friend,
for assigning the PRTs in routing go through following ways:-
1. go in TC CF01
2. enter PRT (spanner.hammer,document,etc (only one)
3.enter
4.save the settings
5.go in routing CA01.
6. click on PRT ( first select the operation to which the PRT is to be assign)
7. click on OTHER
8. fill the requirements
9.enter and save.
hope this solution will solved your problem,
thanks and regards,
sachin. -
hi,
I need to select all assigned equipments (PRT) for a plan (routing) operation (PLPO).
Can anybody tell me the database table relation or is there a function module or a BAPI or something like this !?
Thanks
Olaf
Edited by: Olaf Krüger on Feb 20, 2008 12:03 PM: BADI to BAPII suppose you have every PLPO needed (else look at function module WOSTS_TASKLIST_READ_FROM_DB)
Then read
PLMZ Allocation of bill of material items to operations
STPO BOM item
SELECT * FROM plmz INTO TABLE t_plmz
FOR ALL ENTRIES IN t_plpo
WHERE plnty = t_plpo-plnty
AND plnnr = t_plpo-plnnr
AND plnkn = t_plpo-plnkn.
SELECT * FROM stpo INTO TABLE t_stpo
FOR ALL ENTRIES IN t_plmz
WHERE stlty = t_plmz-stlty
AND stlnr = t_plmz-stlnr
AND stlkn = t_plmz-stlkn.
Regards -
Classification for Routing Operation (PLPOD-KLAKZ)
Hi experts,
I have to check if a routing operation (CA03) is classified. In CA03 there is an indicator that shows if a classification exists.
(PLPOD-KLAKZ) I already checked function group CPCL but I didn't find any function module which fits to my needs.
If there is any function module or database table this information is stored please help me to find it.
Thanks.
CJDear,
The classification data of the resource has not yet been converted.
So that the same classes can be used for defining the selection conditions as for classifying resources, a conversion must be carried out for class type 019.
Please start report RCCLUKA2 in SE38 with the following parameters: Object table: CRHD
Class type: 019
Regards,
R.Brahmankar -
Routing Operation item field update in configurable material
Hi All
Material is a configurable material ,which is having a selection options in a sales order and based on the selection options there is characteristics BOM quantity gets updated based on the formulae.
If you go to routing and double click on the operation to see the details , you will see the unit of measure conversion with the header and Operation fields. I want BOM quantity should get updated in the operation field (UMREN).
I was using the Reference characteristics with PLPOD table and UMREN field to update the value in the UMREN field. And i created a procedure with a logic and is assigned to configuration profile and the Routing operation.
Process is MTO process, Production order is generated when the sales order is created. i checked in production order after creating a sales order, UMREN field is not updated and dont know what where i am doing mistake and i also checked in the Routing Master Data there also its not updating.
Above mentioned is not an requirement but to calculate the costs accurately, we have to approach this way.
Please suggest.
Thanks,
Quantumhi all,
this problem is solved...its was a simple thing...go to extra in operation tab of routing, then go to references and there is an option of unlock....
and bingo...the problem is solved.
best regards,
Maulin -
Tables for knowing depedencies associated to routing operations
Hi everyone,
I have created a routing with some operations which I have assigned to a configurable material.
Some of these operations have an associated dependency.
I would be very grateful if someone could explain me which tables should I review to know which dependency is associated to each routing operation.
I have also the same problem with BOM positions.
Thanks a lot in advance and best regards.
Ben.Hi,
Most of routing related informations are stored in the following tables, pl check
PLPO, CRHD, PLKO
Regards
Merwyn
Maybe you are looking for
-
Hi, Because of reasons my computer needed to be refreshed. My old firefox profile folder was saved though, and with that the bookmarkbackups. As the title says I restored my bookmarks from a resent .json file, but one folder (containing probably abou
-
'Remote' Button not visible in Mac iTunes 12.1
My Remote app on iPhone 6 (iOS 8.2) suddenly stopped working with my Macbook Pro (mid 2012, Yosemite 10.10.2) and iTunes 12.1. The documentation points to a Remote button in iTunes 12.1 that isn't there. In the Remote app, my Mac's iTunes library
-
Auto sync iPod on one computer, manually manage on other?
I would like to be able to auto-sync my playlists to my iPod on one computer, but manually manage them on another. I have my iPod set to auto-update with my music library at home, but when I use it on my G5 at work, all my songs are grayed out and I
-
Cannot run eclipse,plz help
hello, guys. i cannot run eclipse on my federa core 3. it says that the program cannot display
-
Hi all, I am trying to restrict role assignment using the object S_USER_AGR. As an example i am using the following in the 'Role Name' field: T1050, T1500. However, with my test user, they are able to assign the role "T_50043964_5100-TEST" to a user