White Rabbit module for NI's cRIO based on Spartan-6 FPGA: One clock makes you faster and one clock makes you slow
Many distributed networks including those used for 5G communications, power-grid monitoring, and particle physics research need precise time synchronization among the distributed network nodes. CERN’s White Rabbit Ethernet protocol is designed to provide sub-nanosecond accuracy while synchronizing more than 1000 network nodes connected via either fiber or copper. As reported at a status update meeting a week ago, the University of Zürich has developed a plug-in White Rabbit module for National Instrument’s CompactRIO (cRIO) control and monitoring system based on a low-end Xilinx Spartan-6 FPGA and it has been tested by EN-ICE group in CERN’s Engineering Department. Here’s an annotated photo of the board:
The module connects to the network via its optical SFP port and generates disciplined reference clocks that are used by the rest of the local node for network timing synchronization. With the Spartan-6 FPGA clocking at 160MHz, no output clock jitter was detected in the latest design tests.
Prior Xcell Daily coverage of CERN’s White Rabbit protocol:
White Rabbit: When Every Nanosecond (and Subnanosecond) Counts
I'd like to make a correction to the article. It's the University of Zürich who has developed the plug-in cRIO White Rabbit module. The EN-ICE-MTA section at CERN has tested the performance of the module and organised the meeting.
Similar Messages
-
Function module for creation of Installed base along with product
Hi,
Function module for creation of installed based with product for the business partner.Try
BAPI_IBASE_CREATE
IB_IBASE_CREATE
IB_IBASE_CREATE_INITIAL
CRM_IBASE_COMP_CREATE
CRM_IBASE_CREATE
IB_COM2_CREATE_IBASE
IB_COM_CREATE_IBASE_INITIAL
Regards,
Kaushal -
Function module for uploading file in background
hi friends
i am working on Inbound IDOC interface where in which i am creating a function module for that,
in which based on the idoc received , the interface has to choose the file from the shared folder and it has to move its contents to an internal table
can anybody suggest me what function module can i use.
we cant use GUI_upload,or cl_gui_frontend_services=>gui_upload
because this requires an user to interact in mines it is not the case
thanks in advance
with regards
s.janagarhi,
check this thread,you will get idea how to transfer data from file to internal table.
[https://forums.sdn.sap.com/click.jspa?searchID=17706879&messageID=6281020] -
Function module for reading payroll results
HI,
I need a function module for reading payroll results RT table.
Import parameters are personal number, payroll area, and payroll period.
Export should be RT table.
Regards,
Wasim AhmedHai Wasim
Check the following Code
data: payroll_cluster like t500l-relid.
call function 'PYXX_READ_PAYROLL_RESULT'
exporting
clusterid = payroll_cluster
employeenumber = pernr-pernr
sequencenumber = payroll-evp-seqnr
READ_ONLY_BUFFER = ' '
READ_ONLY_INTERNATIONAL = ' '
CHECK_READ_AUTHORITY = 'X'
IMPORTING
VERSION_NUMBER_PAYVN =
VERSION_NUMBER_PCL2 =
changing
payroll_result = payroll_us
exceptions
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
others = 8
if sy-subrc <> 0.
if sy-subrc <> 0.
write: / 'Fehler beim Laden des US Abrechnungsergebnisses'(003).
write: /'zu Personalnummer'(008), pernr-pernr,
'bei Sequence-Number'(012),
payroll-evp-seqnr.
write: / 'Fehlercode ='(004), sy-subrc.
endif.
endif.
Thanks & regards
Sreenivasulu P -
Java Module for changing the file's name
Hi all
I m developing a java module for altering a file's name. I m trying to append system date and time to the file name and send it back. I was successful in retrieving the file's name, appending date n time in it but now I want to send it back. How can I achieve this ? any pointers will be very helpful
awaiting your reply
Regards
KapilString SIGNATURE = "process(ModuleContext moduleContext, ModuleData inputModuleData)";
TRACE.entering(SIGNATURE, new Object[] { moduleContext, inputModuleData });
// Access the XI message. I.e. this module must be placed in the module chain
// behind a module that sets an XI message as principal data.
Object obj = null;
Message msg = null;
try {
obj = inputModuleData.getPrincipalData();
msg = (Message) obj;
Message msgg = (Message)inputModuleData.getPrincipalData();
AuditMessageKey amk = new AuditMessageKey(msgg.getMessageId(), AuditDirection.INBOUND);
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "RenameFile: Module Called");
// Read the channel ID, channel and the module configuration
String cid = null;
String mode = null;
String fileName = null;
try {
// CS_GETMODDAT START
mode = (String) moduleContext.getContextData("mode");
// CS_GETMODDAT END
// CS_GETCHADAT START
cid = moduleContext.getChannelID();
Channel channel = new Channel(cid);
// channel = (Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, cid);
// Example to access a channel configuration parameter in a module: String someParameter = channel.getValueAsString("YourAttributeName");
// CS_GETCHADAT END
// Hashtable mp = (Hashtable) inputModuleData.getSupplementalData("module.parameters");
// if(null != mp)
// fileName = (String)mp.get("FileName");
// fileName = fileName + todaysDate;
// mp.put("FileName",fileName);
fileName = channel.getValueAsString("file.targetFileName");
Date todaysDate = new Date(System.currentTimeMillis());
fileName = fileName + todaysDate;
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "RenameFile: fileed" + fileName);
if (mode == null) {
TRACE.debugT(SIGNATURE, "Mode parameter is not set. Switch to 'none' as default.");
mode = "none";
TRACE.debugT(SIGNATURE, "Mode is set to {0}", new Object[] {mode});
} catch (Exception e) {
TRACE.catching(SIGNATURE, e);
TRACE.errorT(SIGNATURE, "Cannot read the module context and configuration data");
ModuleException me = new ModuleException(e);
TRACE.throwing(SIGNATURE, me);
Audit.addAuditLogEntry(amk, AuditLogStatus.ERROR, "Rerrrd" + me);
throw me;
// try{
// Hashtable mp = (Hashtable) inputModuleData.getSupplementalData("module.parameters");
// String fileName = null;
// Date todaysDate = new Date(System.currentTimeMillis());
// if(null != mp)
// fileName = (String)mp.get("FileName");
// fileName = fileName + todaysDate;
// mp.put("FileName",fileName);
// inputModuleData.setSupplementalData("module.parameters", mp);
// }catch(Exception e){
} catch (Exception e) {
TRACE.catching(SIGNATURE, e);
if (obj != null)
TRACE.errorT(SIGNATURE, "Input ModuleData does not contain an object that implements the XI message interface. The object class is: {0}", new Object[] {obj.getClass().getName()});
else
TRACE.errorT(SIGNATURE, "Input ModuleData contains only null as XI message");
ModuleException me = new ModuleException(e);
TRACE.throwing(SIGNATURE, me);
throw me;
return inputModuleData;
Please refer the above code, it might help you to understand what i m trying to do. I have also included some code that is in comments which I tried by referring the links given by other users but its nt working. Please tell me how to improve my code to set the filename into the <b>reciever file adapter</b>.
Regards
Kapil -
Function Module for Posting the Delivery Doument
Dear Experts,
Could you please send me the Function Module for Posting the Delivery Doument.
Thanks & Regards,
Ashok.Hi,
What do you mean by POSTING the delivery document?
Are you mentioning the creation of Goods Issue? -
Cannot load underlying module for 'Darwin'
I had to move my "Developer" account from some external drive to the internal drive of my Mac.
For this I zipped the users folder, copied to the internal "users" drive and unzipped it there.
Then I changed the users folder in the users settings. I also updated the permissions on the user "Developer" folder,
allowing admins "R&W", the user "R&W" (+ setting it as owner) and everyone else no permissions.
I was able to login to the new home dir. I opened my old Xcode project (that was updated automatically in some fashion).
But when I compile it I get the error "cannot load underlying module for 'Darwin'"
=> What went wrong ?
Btw:
I already removed Xcode, downloaded it again and placed it into the programs folder - same issue ... :-)Here is the stack trace:
<unknown>:0: error: cannot load underlying module for 'Darwin'
0 swift 0x00000001025fe968 llvm::sys::PrintStackTrace(__sFILE*) + 40
1 swift 0x00000001025fee54 SignalHandler(int) + 452
2 libsystem_platform.dylib 0x00007fff828c1f1a _sigtramp + 26
3 libsystem_platform.dylib 0x0000000000000028 _sigtramp + 2104746280
4 swift 0x0000000101b63588 swift::ModuleFile::getType(swift::Fixnum<31u, unsigned int>) + 856
5 swift 0x0000000101b6936b swift::ModuleFile::getDecl(swift::Fixnum<31u, unsigned int>, swift::Optional<swift::DeclContext*>) + 16027
6 swift 0x0000000101b81671 swift::ModuleFile::loadExtensions(swift::NominalTypeDecl*) + 385
7 swift 0x0000000101bbbd01 swift::SerializedModuleLoader::loadExtensions(swift::NominalTypeDecl*, unsigned int) + 49
8 swift 0x00000001029683af swift::ASTContext::loadExtensions(swift::NominalTypeDecl*, unsigned int) + 63
9 swift 0x00000001029c5339 swift::NominalTypeDecl::getExtensions() + 73
10 swift 0x00000001029ec9e6 swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 22
11 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
12 swift 0x0000000101c1123f (anonymous namespace)::SwiftDeclConverter::recordObjCOverride(swift::AbstractFunctionDecl* ) + 191
13 swift 0x0000000101c047ab (anonymous namespace)::SwiftDeclConverter::VisitObjCMethodDecl(clang::ObjCMethodDecl const*, swift::DeclContext*, bool) + 2299
14 swift 0x0000000101bfffb4 clang::declvisitor::Base<clang::declvisitor::make_const_ptr, (anonymous namespace)::SwiftDeclConverter, swift::Decl*>::Visit(clang::Decl const*) + 3076
15 swift 0x0000000101bff37c swift::ClangImporter::Implementation::importDeclImpl(clang::NamedDecl const*, bool&, bool&) + 316
16 swift 0x0000000101c03ad2 swift::ClangImporter::Implementation::importDeclAndCacheImpl(clang::NamedDecl const*, bool) + 226
17 swift 0x0000000101c07d3e swift::ClangImporter::Implementation::loadAllMembers(swift::Decl const*, unsigned long long, bool*) + 1486
18 swift 0x00000001029ccb56 swift::IterableDeclContext::loadAllMembers() const + 102
19 swift 0x00000001029c313c swift::NominalTypeDecl::getMembers(bool) const + 28
20 swift 0x00000001029eca1f swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 79
21 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
22 swift 0x0000000101c04b17 (anonymous namespace)::SwiftDeclConverter::VisitObjCPropertyDecl(clang::ObjCPropertyDecl const*, swift::DeclContext*) + 183
23 swift 0x0000000101bfffea clang::declvisitor::Base<clang::declvisitor::make_const_ptr, (anonymous namespace)::SwiftDeclConverter, swift::Decl*>::Visit(clang::Decl const*) + 3130
24 swift 0x0000000101bff37c swift::ClangImporter::Implementation::importDeclImpl(clang::NamedDecl const*, bool&, bool&) + 316
25 swift 0x0000000101c03ad2 swift::ClangImporter::Implementation::importDeclAndCacheImpl(clang::NamedDecl const*, bool) + 226
26 swift 0x0000000101c07d3e swift::ClangImporter::Implementation::loadAllMembers(swift::Decl const*, unsigned long long, bool*) + 1486
27 swift 0x00000001029ccb56 swift::IterableDeclContext::loadAllMembers() const + 102
28 swift 0x00000001029c35f5 swift::ExtensionDecl::getMembers(bool) const + 21
29 swift 0x00000001029ec9fd swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 45
30 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
31 swift 0x0000000101c04b17 (anonymous namespace)::SwiftDeclConverter::VisitObjCPropertyDecl(clang::ObjCPropertyDecl const*, swift::DeclContext*) + 183
32 swift 0x0000000101bfffea clang::declvisitor::Base<clang::declvisitor::make_const_ptr, (anonymous namespace)::SwiftDeclConverter, swift::Decl*>::Visit(clang::Decl const*) + 3130
33 swift 0x0000000101bff37c swift::ClangImporter::Implementation::importDeclImpl(clang::NamedDecl const*, bool&, bool&) + 316
34 swift 0x0000000101c03ad2 swift::ClangImporter::Implementation::importDeclAndCacheImpl(clang::NamedDecl const*, bool) + 226
35 swift 0x0000000101c07d3e swift::ClangImporter::Implementation::loadAllMembers(swift::Decl const*, unsigned long long, bool*) + 1486
36 swift 0x00000001029ccb56 swift::IterableDeclContext::loadAllMembers() const + 102
37 swift 0x00000001029c35f5 swift::ExtensionDecl::getMembers(bool) const + 21
38 swift 0x00000001029ec9fd swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 45
39 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
40 swift 0x0000000101c04b17 (anonymous namespace)::SwiftDeclConverter::VisitObjCPropertyDecl(clang::ObjCPropertyDecl const*, swift::DeclContext*) + 183
41 swift 0x0000000101bfffea clang::declvisitor::Base<clang::declvisitor::make_const_ptr, (anonymous namespace)::SwiftDeclConverter, swift::Decl*>::Visit(clang::Decl const*) + 3130
42 swift 0x0000000101bff37c swift::ClangImporter::Implementation::importDeclImpl(clang::NamedDecl const*, bool&, bool&) + 316
43 swift 0x0000000101c03ad2 swift::ClangImporter::Implementation::importDeclAndCacheImpl(clang::NamedDecl const*, bool) + 226
44 swift 0x0000000101c07d3e swift::ClangImporter::Implementation::loadAllMembers(swift::Decl const*, unsigned long long, bool*) + 1486
45 swift 0x00000001029ccb56 swift::IterableDeclContext::loadAllMembers() const + 102
46 swift 0x00000001029c35f5 swift::ExtensionDecl::getMembers(bool) const + 21
47 swift 0x00000001029ec9fd swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 45
48 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
49 swift 0x0000000101c1123f (anonymous namespace)::SwiftDeclConverter::recordObjCOverride(swift::AbstractFunctionDecl* ) + 191
50 swift 0x0000000101c047ab (anonymous namespace)::SwiftDeclConverter::VisitObjCMethodDecl(clang::ObjCMethodDecl const*, swift::DeclContext*, bool) + 2299
51 swift 0x0000000101bfffb4 clang::declvisitor::Base<clang::declvisitor::make_const_ptr, (anonymous namespace)::SwiftDeclConverter, swift::Decl*>::Visit(clang::Decl const*) + 3076
52 swift 0x0000000101bff37c swift::ClangImporter::Implementation::importDeclImpl(clang::NamedDecl const*, bool&, bool&) + 316
53 swift 0x0000000101c03ad2 swift::ClangImporter::Implementation::importDeclAndCacheImpl(clang::NamedDecl const*, bool) + 226
54 swift 0x0000000101c07d3e swift::ClangImporter::Implementation::loadAllMembers(swift::Decl const*, unsigned long long, bool*) + 1486
55 swift 0x00000001029ccb56 swift::IterableDeclContext::loadAllMembers() const + 102
56 swift 0x00000001029c35f5 swift::ExtensionDecl::getMembers(bool) const + 21
57 swift 0x00000001029ec9fd swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 45
58 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
59 swift 0x0000000101c04b17 (anonymous namespace)::SwiftDeclConverter::VisitObjCPropertyDecl(clang::ObjCPropertyDecl const*, swift::DeclContext*) + 183
60 swift 0x0000000101bfffea clang::declvisitor::Base<clang::declvisitor::make_const_ptr, (anonymous namespace)::SwiftDeclConverter, swift::Decl*>::Visit(clang::Decl const*) + 3130
61 swift 0x0000000101bff37c swift::ClangImporter::Implementation::importDeclImpl(clang::NamedDecl const*, bool&, bool&) + 316
62 swift 0x0000000101c03ad2 swift::ClangImporter::Implementation::importDeclAndCacheImpl(clang::NamedDecl const*, bool) + 226
63 swift 0x0000000101c07d3e swift::ClangImporter::Implementation::loadAllMembers(swift::Decl const*, unsigned long long, bool*) + 1486
64 swift 0x00000001029ccb56 swift::IterableDeclContext::loadAllMembers() const + 102
65 swift 0x00000001029c35f5 swift::ExtensionDecl::getMembers(bool) const + 21
66 swift 0x00000001029ec9fd swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 45
67 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
68 swift 0x0000000101c04b17 (anonymous namespace)::SwiftDeclConverter::VisitObjCPropertyDecl(clang::ObjCPropertyDecl const*, swift::DeclContext*) + 183
69 swift 0x0000000101bfffea clang::declvisitor::Base<clang::declvisitor::make_const_ptr, (anonymous namespace)::SwiftDeclConverter, swift::Decl*>::Visit(clang::Decl const*) + 3130
70 swift 0x0000000101bff37c swift::ClangImporter::Implementation::importDeclImpl(clang::NamedDecl const*, bool&, bool&) + 316
71 swift 0x0000000101c03ad2 swift::ClangImporter::Implementation::importDeclAndCacheImpl(clang::NamedDecl const*, bool) + 226
72 swift 0x0000000101c07d3e swift::ClangImporter::Implementation::loadAllMembers(swift::Decl const*, unsigned long long, bool*) + 1486
73 swift 0x00000001029ccb56 swift::IterableDeclContext::loadAllMembers() const + 102
74 swift 0x00000001029c35f5 swift::ExtensionDecl::getMembers(bool) const + 21
75 swift 0x00000001029ec9fd swift::NominalTypeDecl::lookupDirect(swift::DeclName) + 45
76 swift 0x00000001029eae8a swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, unsigned int, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 3178
77 swift 0x00000001028ebd20 swift::TypeChecker::lookupMember(swift::Type, swift::DeclName, swift::DeclContext*, bool) + 112
78 swift 0x00000001028ec3c2 swift::TypeChecker::lookupConstructors(swift::Type, swift::DeclContext*) + 34
79 swift 0x00000001028c965a swift::TypeChecker::addImplicitConstructors(swift::NominalTypeDecl*, llvm::SmallVectorImpl<swift::Decl*>&) + 1050
80 swift 0x00000001028c253d swift::TypeChecker::checkInheritanceClause(swift::Decl*, swift::DeclContext*, swift::GenericTypeResolver*) + 5213
81 swift 0x00000001028c459f swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 1631
82 swift 0x00000001028d2ebf swift::ASTVisitor<(anonymous namespace)::DeclChecker, void, void, void, void, void, void>::visit(swift::Decl*) + 2287
83 swift 0x00000001028c3f0b swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 123
84 swift 0x00000001028aa1d8 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, unsigned int) + 1384
85 swift 0x0000000101bdf5dd swift::CompilerInstance::performSema() + 2381
86 swift 0x0000000101944788 frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 2008
87 swift 0x000000010194286d main + 1677
88 libdyld.dylib 0x00007fff849515c9 start + 1
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/swift -frontend -c /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/Speaker.swift -primary-file /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/EventViewController.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeechTableViewCell.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeechDAO.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeechTableViewController .swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/BaseViewController.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/MyCoreDataUtil.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeakerViewController.swi ft /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeakerExtension.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/MyGraficsUtil.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeakerDAO.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/Speech.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeechViewController.swif t /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/AppDelegate.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/EventDAO.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeakerTableViewCell.swif t /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/Event.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/EventTableViewController. swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/BaseTableViewController.s wift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/EventExtension.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/AppDelegate2.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/EventTableViewCell.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeechExtention.swift /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/SpeakerTableViewControlle r.swift -target x86_64-apple-ios7.1 -target-cpu core2 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/SDKs/iPhoneSimulator8.2.sdk -I /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Products/Debug-iphonesimulator -F /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Products/Debug-iphonesimulator -g -import-objc-header /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/MyEvent-Bridging-Header.h -module-cache-path /Users/developer/Library/Developer/Xcode/DerivedData/ModuleCache -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfi sevremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.bui ld/swift-overrides.hmap -Xcc -iquote -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.build /MyEvent-generated-files.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfi sevremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.bui ld/MyEvent-own-target-headers.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfi sevremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.bui ld/MyEvent-all-target-headers.hmap -Xcc -iquote -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.build /MyEvent-project-headers.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfi sevremphydfg/Build/Products/Debug-iphonesimulator/include -Xcc -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchai n/usr/include -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfi sevremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.bui ld/DerivedSources/x86_64 -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfi sevremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.bui ld/DerivedSources -Xcc -DDEBUG=1 -emit-module-doc-path /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.build /Objects-normal/x86_64/EventViewController~partial.swiftdoc -Onone -module-name MyEvent -emit-module-path /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.build /Objects-normal/x86_64/EventViewController~partial.swiftmodule -serialize-diagnostics-path /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.build /Objects-normal/x86_64/EventViewController.dia -emit-dependencies-path /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.build /Objects-normal/x86_64/EventViewController.d -o /Users/developer/Library/Developer/Xcode/DerivedData/MyEvent-duznkkgndabyibfise vremphydfg/Build/Intermediates/MyEvent.build/Debug-iphonesimulator/MyEvent.build /Objects-normal/x86_64/EventViewController.o
1. While type-checking 'EventViewController' at /Users/developer/_CloudStation/Work2/MyEvent5/MyEvent/EventViewController.swift :11:1
2. While reading from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/lib/swift/iphonesimulator/Foundation.swiftmodule
3. While deserializing decl #105 (EXTENSION_DECL) -
Trouble compiling sleepycat perl module for dbxml on win32
I'm trying to compile the perl module for Oracle DB XML with no luck so far. I've added nmake and cl to my path using the vcvars32 script. But running 'perl Makefile.PL -config.win32' produces:
Note (probably harmless): No library found for DB
Note (probably harmless): No library found for XML
Note (probably harmless): No library found for 2.3.10/lib
Note (probably harmless): No library found for -llibdb45
Writing Makefile for Sleepycat::Db
Note (probably harmless): No library found for DB
Note (probably harmless): No library found for XML
Note (probably harmless): No library found for 2.3.10/lib
Note (probably harmless): No library found for -llibdbxml23
Note (probably harmless): No library found for -llibdb45
Note (probably harmless): No library found for -lxerces-c_2
Note (probably harmless): No library found for -lxqilla10
Writing Makefile for Sleepycat::DbXml
Writing Makefile for Sleepycat::DbXml
That might not be a problem, although I think all of those libraries are included with the dbxml download. In any case, running nmake fails:
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
nmake -f Makefile all -nologo
cp Db.pod ..\blib\lib\Sleepycat\Db.pod
cp DbEnv.pod ..\blib\lib\Sleepycat\DbEnv.pod
cp DbTxn.pod ..\blib\lib\Sleepycat\DbTxn.pod
cp Db.pm ..\blib\lib\Sleepycat\Db.pm
cp Dbc.pod ..\blib\lib\Sleepycat\Dbc.pod
cp Dbt.pod ..\blib\lib\Sleepycat\Dbt.pod
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -noprototypes -C++ -ty
pemap ../typemap -typemap C:\Perl\lib\ExtUtils\typemap Db.xs > Db.xsc && C:\Per
l\bin\perl.exe -MExtUtils::Command -e mv Db.xsc Db.c
cl -TP /EHsc -c -IC:/Berkeley DB XML 2.3.10/include -nologo -EHsc -GF
-W3 -MD -O1 -Gd -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL
IMPLICITCONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -nologo
-DVERSION=\"2.003\" -DXS_VERSION=\"2.003\" "-IC:\Perl\lib\CORE" Db.c
DB
c1xx : fatal error C1083: Cannot open source file: 'DB': No such file or directo
ry
XML
c1xx : fatal error C1083: Cannot open source file: 'XML': No such file or direct
ory
include
c1xx : fatal error C1083: Cannot open source file: '2.3.10/include': No such fil
e or directory
Db.c
Db.xs(7) : fatal error C1083: Cannot open include file: 'db_cxx.h': No such file
or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.EXE"' : return code '0x2'
Stop.
Any ideas what I'm doing wrong?I figured it out. I discovered that the developer tools weren't installed by default on the Darwin OS. I downloaded them from the Apple site, installed the dmg file and then installed the required Perl modules and then it worked beautifully.
The problem was that the modules couldn't make properly when being installed.
Fun Fun
Donna -
Function module for Materials based on class type
Hi ,
Can any one suggest me how to find out Materisl based on class type any standard SAP Function module or BAPI avilable for the same?
Regards,
Raghu.hi,
Check with one of the FM in the list.
BAPI_MATERIAL_MAINTAINDATA_RT Create and change material master data (reta
BAPI_MATERIAL_DELETE Flag Material for Deletion
BAPI_MATERIAL_DISPLAY Display Material
BAPI_MATERIAL_EDIT Change Material
BAPI_RETAILMATERIAL_CREATE Create Material
BAPI_RETAILMATERIAL_DELETE Discontinue Material
BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
BAPI_MATERIAL_SAVEREPLICA BAPI for Mass Maintenance of Material Data
BAPI_MATERIAL_SAVEDATA Create and Change Material Master Data
Thanks
sharath -
Function module for Delivery and billing based on sales order
Hi Friends
I am developing an object which has to create the sales order, delivery for that sales order and billing for it at the same time.
I have tried for few function modules to create the delivery and billing but I am not able to achieve.
Would you please help me by providing the correct function modules for these 2 activities?
Thanks
PraveenHi Nikhil
Thanks for reply,
i am creating the sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT1" only, but the billing document bapi
"BAPI_BILLINGDOC_CREATE" is for online creation, it will call the t-code 'VF01'.
I need to create the billing document with out calling the t-code like using bapi for sales order. Please suggest me if there are function modules to achieve this.
Thanks
Praveen -
A FUNCTION MODULE FOR THE HR MODULE FOR PAYROLL OF EMPLOYEES
hi,
i want some a function module or code where i need to get the payroll details like the basic pay ,hra,special allowance,medical allowance,other allowance of an employee on the monthly basis.
the data that i have on ot os not on the basis of months it contains datd of more than one month.like the baisc pay of an employee is given on a radom day basis of more than one month.
but i need to bifercatethe data on monthly basis.
waiting for the reply.
thanks and regardsHi,
Use the fun module
RP_FILL_WAGE_TYPE_TABLE_EXT
which willget PA0008 results.
but to get the real payroll results you have to import data from clusters by writing the program. Data will be fetch from RT and CRT internal tables based on the Wage Types
see the sample code:
report zporgr0100
line-size 252
line-count 60(1)
no standard page heading
message-id zndc.
Database Tables & Infotypes
tables: pcl1, " HR Cluster1
pcl2, " HR Cluster1
pa0003, " Master data - Payroll Status
cskt, " Cost Center Texts
t528t, " Positions Texts
t513s, " Job Titles
pernr, " Logical PNP
t001p, " Personnel Subarea
t500p, " Personnel Area
t501, " Employee Group
t503k, " Employee Subgroup
csks. " Cost Center
infotypes:0000,0001.
*include rpclst00.
include rpc2rx00.
include rpc2rxx0.
include rpc2cd00.
*include rpc2ps00.
*include rpc2pt00.
*include rpcfvp00.
*include rpcfdc10.
*include rpcfdc00.
include rpppxd00.
include rpppxd10.
Declaration of Internal Tables
Internal Table for Output Data
data: begin of rep_tab occurs 0,
kostl like pa0001-kostl, " Cost Center
pernr like pa0001-pernr, " Personal Number
ename like pa0001-ename, " Employee Name
ctext like cskt-ltext, " Cost Center Text
ptext like t528t-plstx, " Position Text
ot1 type p decimals 2, " Jan OT Amount
ot2 type p decimals 2, " Feb OT Amount
ot3 type p decimals 2, " Mar OT Amount
ot4 type p decimals 2, " Apr OT Amount
ot5 type p decimals 2, " May OT Amount
ot6 type p decimals 2, " Jun OT Amount
ot7 type p decimals 2, " Jul OT Amount
ot8 type p decimals 2, " Aug OT Amount
ot9 type p decimals 2, " Sep OT Amount
ot10 type p decimals 2, " Oct OT Amount
ot11 type p decimals 2, " Nov OT Amount
ot12 type p decimals 2, " Dec OT Amount
ott type p decimals 2, " Total OT Amount
end of rep_tab.
Declaration of Variables
data: v_mon(2) type n, " Month
v_no type i, " Data Lines
v_year(4) type c, " Year
v_date like sy-datum, " Date
v_date1 like sy-datum, " Date
v_seqnr like pc261-seqnr. " Sequence No.
Declaration of Constants
data: c_type like hrp1001-otype value 'S', " Object Type
c_kokrs like cskt-kokrs value '1000', " Controlling Area
c_date1 like sy-datum value '18000101', " Date
c_date2 like sy-datum value '99991231', " Date
c_x type c value 'X', " Sign
c_mon(2) type c value '01', " Month
c_val1(2) type c value '31', " Date
c_val2(2) type c value '12', " Month Type
c_val like p0041-dar01 value '01', " Date Type
c_lgart1 like p0008-lga01 value '0722', " Wage Type
c_lgart2 like p0008-lga01 value '0723', " Wage Type
c_1(2) type n value '01', " Month1
c_2(2) type n value '02', " Month2
c_3(2) type n value '03', " Month3
c_4(2) type n value '04', " Month4
c_5(2) type n value '05', " Month5
c_6(2) type n value '06', " Month6
c_7(2) type n value '07', " Month7
c_8(2) type n value '08', " Month8
c_9(2) type n value '09', " Month9
c_10(2) type n value '10', " Month10
c_11(2) type n value '11', " Month11
c_12(2) type n value '12'. " Month12
Selection-screen
parameters:
p_year like pc2b0-pabrj obligatory. " Payroll Year
At selection-screen
at selection-screen.
Validate the Selection Screen fields
perform validate_screen.
Start-of-Selection
start-of-selection.
Selection of Period
perform get_period.
Get PERNR from LDB
get pernr.
Get the Master data from infotype 0001
perform get_master_data.
Top-of-page
top-of-page.
Write the Report and Column Headings
perform top_of_page.
End-of-Page
end-of-page.
write /1(252) sy-uline.
End-of-Selection
end-of-selection.
Display the Output Report.
perform display_report.
Form-Routines
*& Form validate_screen
Validation of selection Screen fields
form validate_screen.
Validation of Cost Center
clear csks.
if not pnpkostl[] is initial.
select single kostl
into csks-kostl
from csks
where kostl in pnpkostl.
if sy-subrc <> 0.
message e999 with 'Invalid Cost Center'(003).
endif.
endif.
Validation of Personnel Number
clear pa0003.
if not pnppernr[] is initial.
select pernr
from pa0003 up to 1 rows
into pa0003-pernr
where pernr in pnppernr.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Personal Number Entered'(002).
endif.
endif.
Validation of Personnel Area
clear t500p.
if not pnpwerks[] is initial.
select persa
from t500p up to 1 rows
into t500p-persa
where persa in pnpwerks.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Personnel Area Entered'(001).
endif.
endif.
Validation of Personnel Sub Area
clear t001p.
if not pnpbtrtl[] is initial.
select btrtl
from t001p up to 1 rows
into t001p-btrtl
where btrtl in pnpbtrtl.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Personnel Sub Area Entered'(037).
endif.
endif.
Validation of Employee Group
clear t501.
if not pnppersg[] is initial.
select persg
from t501 up to 1 rows
into t501-persg
where persg in pnppersg.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Employee Group Entered'(038).
endif.
endif.
Validation of Employee Sub Group
clear t503k.
if not pnppersk[] is initial.
select persk
from t503k up to 1 rows
into t503k-persk
where persk in pnppersk.
endselect.
if sy-subrc <> 0.
message e999 with 'Incorrect Employee Sub Group Entered'(039).
endif.
endif.
endform. "validate_screen
*& Form get_period
Get the Correct Period based on Selection screen selection
form get_period.
clear: v_year,v_mon, v_date, v_date1.
v_year = sy-datum+0(4).
v_mon = sy-datum+4(2).
if pnptimr1 = c_x. " Current Date
pnpbegda = sy-datum.
pnpendda = sy-datum.
elseif pnptimr2 = c_x. " Current Month
concatenate v_year v_mon c_val into v_date.
concatenate v_year v_mon c_val1 into v_date1.
pnpbegda = v_date.
pnpendda = v_date1.
elseif pnptimr3 = c_x. " Current Year
concatenate v_year c_val c_val into v_date.
concatenate v_year c_val2 c_val1 into v_date1.
pnpbegda = v_date.
pnpendda = v_date1.
elseif pnptimr4 = c_x. " Upto Today
pnpbegda = c_date1.
pnpendda = sy-datum.
elseif pnptimr5 = c_x. " From Today
pnpbegda = sy-datum.
pnpendda = c_date2.
else.
if ( pnpbegda is initial and pnpendda is initial ).
pnpbegda = c_date1.
pnpendda = c_date2.
elseif pnpbegda is initial and not pnpendda is initial.
pnpbegda = c_date1.
pnpendda = pnpendda.
elseif not ( pnpbegda is initial and pnpendda is initial ).
pnpbegda = pnpbegda.
pnpendda = pnpendda.
endif.
endif.
endform. "get_period
*& Form get_master_data
Get the Master Data from Database Tables PA0001,0002,0003
form get_master_data.
Get data from Respective Infotypes
rp_provide_from_last p0001 space pnpbegda pnpendda.
if p0001-kostl in pnpkostl.
rep_tab-kostl = p0001-kostl.
rep_tab-pernr = p0001-pernr.
rep_tab-ename = p0001-ename.
Get the Position Text
clear t528t-plstx.
select single plstx into t528t-plstx from t528t
where plans = p0001-plans and
otype = c_type and
sprsl = sy-langu.
if sy-subrc = 0.
rep_tab-ptext = t528t-plstx.
endif.
Get the Cost Center Text
clear cskt-ltext.
select single ltext into cskt-ltext from cskt
where spras = sy-langu and
kokrs = c_kokrs and
kostl = p0001-kostl.
if sy-subrc = 0.
rep_tab-ctext = cskt-ltext.
endif.
Get the Overtime Payment Data
perform get_ot_data.
rep_tab-ott = rep_tab-ot1 + rep_tab-ot2 + rep_tab-ot3 +
rep_tab-ot4 + rep_tab-ot5 + rep_tab-ot6 +
rep_tab-ot7 + rep_tab-ot8 + rep_tab-ot9 +
rep_tab-ot10 + rep_tab-ot11 + rep_tab-ot12.
append rep_tab.
clear rep_tab.
endif.
sort rep_tab by kostl pernr.
delete rep_tab where kostl = ' '.
delete rep_tab where ott = 0.
endform. "get_master_data
*& Form get_ot_data
Get the Overtime Payment Data
form get_ot_data.
cd-key = pernr-pernr.
rp-imp-c2-cd.
sort rgdir by seqnr.
To get sequence number for the payroll period
loop at rgdir where void is initial
and reversal is initial
and outofseq is initial
and srtza eq 'A'.
if rgdir-fpper+0(4) = p_year.
To consider offcycle run data
if not rgdir-ocrsn is initial.
v_seqnr = rgdir-seqnr.
exit.
endif.
v_seqnr = rgdir-seqnr.
endif.
if not v_seqnr is initial.
perform import_rx.
endif.
perform process_wagetypes.
endloop.
endform. "get_ot_data
include rpppxm00.
*& Form Import_rx
Import the RX data from Clusters
form import_rx.
rx-key-pernr = cd-key-pernr.
rx-key-seqno = v_seqnr.
rp-init-buffer.
rp-imp-c2-rx.
endform. " Import_rx
*& Form Process_wagetypes
Calculate the Overtime Amount based on Wage types
form process_wagetypes.
loop at rt.
if rt-lgart = c_lgart1 or rt-lgart = c_lgart2.
if rgdir-fpper+0(4) = p_year.
v_mon = rgdir-fpper+4(2).
case v_mon .
when c_1.
rep_tab-ot1 = rep_tab-ot1 + rt-betrg.
when c_2.
rep_tab-ot2 = rep_tab-ot2 + rt-betrg.
when c_3.
rep_tab-ot3 = rep_tab-ot3 + rt-betrg.
when c_4.
rep_tab-ot4 = rep_tab-ot4 + rt-betrg.
when c_5.
rep_tab-ot5 = rep_tab-ot5 + rt-betrg.
when c_6.
rep_tab-ot6 = rep_tab-ot6 + rt-betrg.
when c_7.
rep_tab-ot7 = rep_tab-ot7 + rt-betrg.
when c_8.
rep_tab-ot8 = rep_tab-ot8 + rt-betrg.
when c_9.
rep_tab-ot9 = rep_tab-ot9 + rt-betrg.
when c_10.
rep_tab-ot10 = rep_tab-ot10 + rt-betrg.
when c_11.
rep_tab-ot11 = rep_tab-ot11 + rt-betrg.
when c_12.
rep_tab-ot12 = rep_tab-ot12 + rt-betrg.
endcase.
endif.
endif.
endloop.
endform. "process_wagetypes
*& Form top_of_page
Write the Report and Column Headings
form top_of_page.
format color col_heading on.
write: /1(252) 'NATIONAL DRILLING COMPANY'(010) centered,
/1(252) 'Overtime Payments Details'(011) centered.
format color off.
if pnptimr1 = c_x. " Current Date
write: /2 'Period From :'(036), sy-datum, 'To:'(006), sy-datum.
elseif pnptimr2 = c_x. " Current Month
write: /2 'Period From :'(036), v_date, 'To:'(006), v_date1.
elseif pnptimr3 = c_x. " Current Year
write: /2 'Period From :'(036), v_date, 'To:'(006), v_date1.
elseif pnptimr4 = c_x. " Upto Today
write: /2 'Period From :'(036), c_date1, 'To:'(006), sy-datum.
elseif pnptimr5 = c_x. " From Today
write: /2 'Period From :'(036), sy-datum, 'To:'(006), c_date2.
else.
if ( pnpbegda is initial and pnpendda is initial ).
write: /2 'Period From :'(036), c_date1, 'To:'(006), c_date2.
elseif pnpbegda is initial and not pnpendda is initial.
write: /2 'Period From :'(036), c_date1, 'To:'(006), pnpendda.
elseif not ( pnpbegda is initial and pnpendda is initial ).
write: /2 'Period From :'(036), pnpbegda,
'To:'(006), pnpendda.
endif.
endif.
write: 219 'Report Run Date:'(018), sy-datum.
if not pnpkostl[] is initial.
if pnpkostl-high is initial.
write: /2 'Cost Center :'(004), pnpkostl-low,
219 'Time :'(020), sy-uzeit.
else.
write: /2 'Cost Center From:'(005), pnpkostl-low+7(3),
'To:'(006), pnpkostl-high,
219 'Time :'(020), sy-uzeit.
endif.
else.
write: /219 'Time :'(020), sy-uzeit.
endif.
if not pnppernr[] is initial.
if pnppernr-high is initial.
write: /2 'Personal Number :'(007), pnppernr-low,
219 'User :'(021), sy-uname.
else.
write: /2 'Personal No.From:'(008), pnppernr-low,
'To:'(006), pnppernr-high,
219 'User :'(021), sy-uname.
endif.
else.
write: /219 'User :'(021), sy-uname.
endif.
write: /219 'Page No :'(022), sy-pagno.
format color col_heading.
write /1(252) sy-uline.
write:/1 sy-vline, 10 sy-vline,
41 sy-vline,
67 sy-vline, 68(167) 'Overtime Payments(Dirhams)'(013) centered,
235 sy-vline,252 sy-vline.
format color col_heading.
write:/1 sy-vline, 2(8) 'Emp #'(019) centered,
10 sy-vline, 11(30) 'Employee Name'(012) centered,
41 sy-vline, 42(25) 'Position'(014) centered,
67 sy-vline, 68(167) sy-uline,
235 sy-vline,236(16) 'Total'(017) centered,
252 sy-vline.
write:/1 sy-vline, 10 sy-vline,
41 sy-vline,
67 sy-vline, 68(13) 'JANUARY'(024) centered,
81 sy-vline, 82(13) 'FEBRUARY'(025) centered,
95 sy-vline, 96(13) 'MARCH'(026) centered,
109 sy-vline,110(13) 'APRIL'(027) centered,
123 sy-vline,124(13) 'MAY'(028) centered,
137 sy-vline,138(13) 'JUNE'(029) centered,
151 sy-vline,152(13) 'JULY'(030) centered,
165 sy-vline,166(13) 'AUGUST'(031) centered,
179 sy-vline,180(13) 'SEPTEMBER'(032) centered,
193 sy-vline,194(13) 'OCTOBER'(033) centered,
207 sy-vline,208(13) 'NOVEMBER'(034) centered,
221 sy-vline,222(13) 'DECEMBER'(035) centered,
235 sy-vline,252 sy-vline.
format color off.
write /1(252) sy-uline.
endform. "top_of_page
*& Form Display_report
Write the Report Output
form display_report.
clear v_no.
describe table rep_tab lines v_no.
if v_no = 0.
message i999 with
'No Data found for the entered Selection'(015).
endif.
loop at rep_tab.
format color 3.
at new kostl.
read table rep_tab index sy-tabix.
write:/1 sy-vline, 2(12) 'Cost Center:'(009),
14(10) rep_tab-kostl,
25(30) rep_tab-ctext,
252 sy-vline.
format color off.
write /1(252) sy-uline.
endat.
format color col_normal.
write: /1 sy-vline, 2(8) rep_tab-pernr,
10 sy-vline, 11(30) rep_tab-ename,
41 sy-vline, 42(25) rep_tab-ptext,
67 sy-vline, 68(13) rep_tab-ot1 no-zero,
81 sy-vline, 82(13) rep_tab-ot2 no-zero,
95 sy-vline, 96(13) rep_tab-ot3 no-zero,
109 sy-vline,110(13) rep_tab-ot4 no-zero,
123 sy-vline,124(13) rep_tab-ot5 no-zero,
137 sy-vline,138(13) rep_tab-ot6 no-zero,
151 sy-vline,152(13) rep_tab-ot7 no-zero,
165 sy-vline,166(13) rep_tab-ot8 no-zero,
179 sy-vline,180(13) rep_tab-ot9 no-zero,
193 sy-vline,194(13) rep_tab-ot10 no-zero,
207 sy-vline,208(13) rep_tab-ot11 no-zero,
221 sy-vline,222(13) rep_tab-ot12 no-zero,
235 sy-vline,236(16) rep_tab-ott no-zero,
252 sy-vline.
at end of kostl.
write /1(252) sy-uline.
endat.
format color off.
at last.
sum.
format color 1.
write: /1 sy-vline,
10 sy-vline, 11(30) 'Total'(017) centered,
41 sy-vline,
67 sy-vline, 68(13) rep_tab-ot1 no-zero,
81 sy-vline, 82(13) rep_tab-ot2 no-zero,
95 sy-vline, 96(13) rep_tab-ot3 no-zero,
109 sy-vline,110(13) rep_tab-ot4 no-zero,
123 sy-vline,124(13) rep_tab-ot5 no-zero,
137 sy-vline,138(13) rep_tab-ot6 no-zero,
151 sy-vline,152(13) rep_tab-ot7 no-zero,
165 sy-vline,166(13) rep_tab-ot8 no-zero,
179 sy-vline,180(13) rep_tab-ot9 no-zero,
193 sy-vline,194(13) rep_tab-ot10 no-zero,
207 sy-vline,208(13) rep_tab-ot11 no-zero,
221 sy-vline,222(13) rep_tab-ot12 no-zero,
235 sy-vline,236(16) rep_tab-ott no-zero,
252 sy-vline.
write /1(252) sy-uline.
endat.
format color off.
endloop.
endform. "display_report
reward points if useful
regards,
Anji -
Printing in black and white only - looking for a definitive solution
Hi
I've been trying to find out once and for all how to make sure my black and white text documents are printing only from the large pigment-based cartridge (525 PGBK), rather than using the smaller black dye-based cartridge (526BK), or from a combination of the dye-based colour cartridges. I've trawled through endless forums, and finally in frustration I recently called Canon's Australian phone support team.
I thought I'd nailed it. The phone support person told me that if the document I'm printing is definitely black only, then all I need to do is print normally, with grayscale DE-selected. He said nothing about also de-selecting duplex. But I've since read online advice that contradicts this in relation to other models (I haven't found any advice based specifically on the MG6150, apart from the phone guy from Canon). Some say you need to SELECT grayscale and DE-select duplex; others say to DE-select both grayscale and duplex; others say to select grayscale, DE-select duplex, and also select dither (on my screen that's under Main > Print Quality > Custom). I'm now wondering whether I've nailed it after all.
If anyone from Canon is reading this, can you please give a definitive answer to these questions:
1. How do I ensure that my black and white text documents print only from the large pigment cartridge?
2. Can I print in automatic duplex using this method, or do I have to do manual duplex?
2. Will this also work for purely black and white NON-text documents as well (e.g., photos that have been converted from colour to B&W)?
3. If not, is there another way of forcing B&W NON-text documents to print from the pigment cartridge? What about a way of forcing colour documents to print from the pigment cartridge?
4. If my smaller black dye cartridge (526BK) isn't being used up at the same rate as the other dye cartridges, is there a way of forcing the printer to use this instead of the pigment cartridge for B&W text documents, but NOT to mix in any of the colour cartridges at the same time?
5. Does this procedure work for all other Canon printer models in addition to the MG6150, or just a limited range?
Many thanks for your patience in reading this -- I'm really trying to get the best out of my printer rather than give up and buy a different brand, and I'm sure others would appreciate a definitive answer to these questions as well.I have at MG8100 and it seems that there is no solution to this. I have scoured the web for one and it seems that there is no way to print in black and white only. The grayscale option uses all the colours including black to print.
I have gone through a ton of colour ink just printing black and white documents. Its cost me a fortune and I've worked out that I can get it done cheaper by going to the print shop.
As far as I am concerned this unbelievable. A printer that doesn't give you the option to print using black ink only! And its not advertised or made known in any way. You have to buy the product and then find out later that it does not have a black and white print option. It seems there are a lot of people out there that are unhappy about this, and the "problem" seems to go quite far back. Why haven't Canon responded by adding this feature?! I wont say it here, but I think it must be obvious. Brings to mind the story of housecleaning product manufacturers that increase the size of the closures so that consumers will use more of the product, which is actually wasteful, so as to increase the purchase cycle.
This leaves a really bad taste in my mouth. I'm flogging mine now, and I am done with Canon for good! -
Creation of function module for updating the ztable
Hi,
I am sending the requirement for ceation of function module for updating the ztable.
Requirement----
Table Updation rule (New record)
While creating a new record the calling function will export the following to the table handling function.
Table field Probable Values
ZORDERNO-------> Sales Delivery no in case of sales orderShipment no in case of transfer order
UNAME----
> User ID
ZORDTYPE----
> SALEOR in case of sales orderTRANSF in case of transfer order
ZREFDOCNO----
>Sales Order no in case of sales orderPurchase Order no in case of transfer order
ZREFDOCNO1----
>Delivery no in case of transfer order
The table handling function will calculate the following fields
Table field Probable Values
ZREQNO----
>Running serial number (incremented by 1 for each new record)
ZREQDAT -
>System date
ZREQTIME----
> System time
ZSTATUS----
>OPEN (for all new records)
Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
Table Updation rule (Status Update)
While updating a record the calling function will export the following to the table handling function.
Table field Probable Values
ZORDERNO----
>Sales order no in case of sales orderShipment no in case of transfer order
ZSTATUS----
>CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
The table handling function will calculate the following fields
Table field Probable Values
ZSTATDAT----
>System date
ZSTATTIME----
> System timeDo you have to create/update new record in Ztable through Function Module ?
or you need to write FM only for validation?
Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
Let me know clearly what exactly u need ?
Regards,
Kiran -
My iMac won't start up, or wake from sleep. I've tried everything, except for reinstalling the SO-DIMM memory modules. Still, my iMac will not wake up. Turning it on, you can hear the fan run, but the display stays dark. Any ideas what to do? Thanks!
Mac doesn't boot
Can you hear the fans and hard drive and see the white boot screen? Flashing question mark? The circle just runs and nothing happens? Only black screen and nothing else? These can be very helpful to diagnose the source of the problem. [1]
Flashing question mark [2]: This is usually a sign of a failed hard drive. This indicates that boot up volume can not be found.
Black screen: This is usually a sign of a failed logic board. There is no single reason for this and this may be caused by failed GPU, screen, CPU or RAM.
Circle of death/no circle/blue screen: This is usually a sign of a hard drive failure. This may NOT be a dead hard drive, just broken permissions or something
Gray screen/Apple logo/spinning gear or globe/prohibitory sign/folder with flashing question mark [3]: This could be a sign of faulty hardware but more likely a software issue, i.e. broken permissions, failed software update, etc.
[edit]
What to do
First, hold down the option key (also known as the alt key) just after you've pressed the power button. This should show all the available options to boot from, so if you have Windows installed through Bootcamp or a disk in your SuperDrive, you should be able to see them along with your OS X drive/partition. Select the OS X partition with arrow keys and press enter. Startup key combinations
If that doesn't help continue doing the steps from below:
1. SMC reset [4]. Shut down and unplug all cables including power cord for at least 30 seconds and then plug in power cord and keyboard/mouse.
2. PRAM reset [5]. Hold down option, command, P and R while booting. Start it when you hear the sound and don't let go before it reboots.
3. Safe boot [6]. Hold down shift while booting to boot into safe mode. If this works, open Disk Utility from Utilities and repair your permissions and verify the disk
4. Hardware test [7]. Insert the install disk (disk 1 in Mac which shipped with OS X 10.5.4 or earlier, disk 2 if shipped with OS X 10.5.5 or newer) and hold down "D" before the grey boot screen opens. Follow on screen instructions
5. Boot from install disk. Boot from the disk that came with your Mac. Hold C while booting. Select Disk Utility from top bar and repair permissions and verify the disk. Reboot normally and see if it works now.
6. Boot from another Mac (Firewire target disk mode). Connect the machines with a Firewire cable. Power on your Mac and press T. Select the other Mac's hard drive. Download the current OS X combo update. Run the combo update installer and select the drive that won't boot as the destination.
7. "Repair" OS X. Boot from the install disk as in point 5. and reinstall OS X. This should NOT erase any data, just replaces the system files which may have caused your booting problem. Now install the latest combo update for OS X and repair permissions on your drive with Disk Utility.
7.1. Install OS X into an external hard drive and then boot from it [8] and try to copy your data from the hard drive before proceeding. If you have done a backup recently, you don't have to do this.
8. Restore OS X from Time Machine backup. Boot from the disk that came with your Mac and choose the Time Machine restore option. This step will lose any changes made since your last backup but the system and your data will be put back to exactly as it was on that date.
8.1 Reinstall OS X. Boot from the install disk as in point 5. and select Disk Utility again. Now erase the whole hard drive and install OS X again. If you had a Time Machine backup and step 7 worked you don't have to do this. -
What's needed for a PDF processing module for InDesign Server?
Hello,
After digging through lots of documentation and whitepapers, I am still puzzled about what would be an efficient way to implement a software module that handles some specific processing tasks of PDF output (automatically generated in InDesign Server and targeted for various types of print configurations from small-run LFP up to very high volume commercial printing).
We have a working standalone script that uses Acrobat's preflight and correction functions, and now we would like to port and integrate this into a server-based workflow. Apparently, there is no Acrobat Server product available. Distiller Server does exist, but seems to be limited to converting PostScript to PDF without the PDF-to-PDF processing features we need. Some of the functionality that is typically found in RIPs (e.g. converting colours to a preset output intent with highly configurable options [for pixel/vector elements, black and spot colour ink issues etc.] and flattening native transparency) could probably be implemented using the Adobe PDF Print Engine, but this seems a bit overkill and would probably require extensive programming from scratch. I suspect there should be a smarter way to use existing software – but which? I am not yet familiar with InDesign Server; does its SDK permit full access to the same parts/functions of the PDF library that Acrobat uses for its preflight and correction features?
Any help is welcome.
EricGordon,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/
Maybe you are looking for
-
My PC had a meltdown last week and since then Acrobat 9 Pro had not worked. It says I need to uninstall and reinstall. I can't since I do not have a disc because this was an upgraded download (from version 6 for which I do have a disc) but I do have
-
Hi, I am new to ADF Business Components. I am into a project where i use only the ADF BC as ORM/DB Operations and for the front end I use some other framework. The Problem is. I have two entity objects and a ViewLink between them. [Relation between "
-
Any help with flashplayer 10.3 for a mac 10.5.8?
Hello i have a mac with a OSX 10.5.8 and I can't dowload any flashplayer of the latest version, what can I do?
-
Textinput skipping characters as i type
anybody else having this issue or knows a solution for it ? If i type real slow like 1 characters per 2 seconds i may get all the characters in the textinput. it seems like its lagging behind. any help would be apreciated.
-
Hi all! Need some help. When I'm creating PO I can adopt data from PR. All I need is to put contract owner from PR to PO after pressing "adopt" button. I guess I should use badi ME_PROCESS_PO_CUST with PROCESS_HEADER method. But how can I transfer da