Created Service in Automator, shows up in Sys Prefs, nowhere in Services
Hello, I'm brand new to the awesome idea of creating Services using the Automator. I needed a keystroke to give me a time stamp in any application, so I found this:
http://superuser.com/questions/227213/what-is-the-easiest-way-to-get-a-yyyy-mm-d d-hhmmss-timestamp-hotkey-on-the-mac
I followed the instructions there, copying the the macro into the Run Shell Script action, selected "receives no input in any application" and replaces selected text. Pressing command + R shows that it works there.
Now, I have its check box selected in the keyboard shortcuts pane in System Preferences, and a keystroke assigned to it, but there are no services listed in the service tab of any application.
What gives?
I'm totally new to this so please forgive me, and thanks in advance.
Cheers.
You may have a corrupted system and/or a corrupted old user folder.
Try booting into safe mode. Then do the following:
Repairing the Hard Drive and Permissions
Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. Then select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your OS X volume from the list on the left, click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now shutdown the computer for a couple of minutes and then restart normally.
If DU reports errors it cannot fix, then you will need Disk Warrior (3.0.3 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X. Note that Disk Warrior will not work on Intel Macs.
Restart again in safe mode. Now see if you can archive the old user account.
Similar Messages
-
TC backup starts very slowly & stops..."TM cldn't complete bkup to TC. The bkup disk is not available." The TC bkup disk shows up in sys pref with plenty of avail disk space. Suggestions?
The best place to research this would be Time Machine - Troubleshooting, an excellent support document authored by Time Machine guru Pondini.
See # C19
http://pondini.org/TM/Troubleshooting.html -
How Do You Get the Apple Trackpad Icon to Show Up in Sys Prefs?
Just upgraded to 10.6.4, did all software updates, and bought the Trackpad. Trackpad works, but there is no icon for it in the Sys Prefs to make adjustments. Suggestions?
Thanks
TomThanks!
Yeah I saw it last night on the Apple website, and ran to the Apple store today to get one, All Things Apple Fanboy that I am
It really looks cool, and is very responsive as you would expect, but after decades with a mouse, will take some getting used to. I've been using it all evening and starting to feel a bit more comfortable with it. Quite a change though. I do love not having the space it saves in not having to move the mouse around....thanks again..
Tom -
Greetings,
When I go to System Preferences, Startup Disk I see an icon that says "Network Setup" with an icon that has a question mark on it.
I am hard wired to a router but think that I should still have the start up disk icon there.
Does anybody have any idea's or knowledge on this subject?
Thank you.
macuser222Greetings baltwo,
I just switched over to my administrator account and the hard drive is in Sys. Pref, start up disk. on that account! The problem is only on my standard account!
Would it be best for me to remove the secondary account and create a new one?
Actually, I really only have the secondary account as I was taught years ago to use a standard account as opposed to an administrator account for security purposes. Is that still recommended?
Also, thank you for bringing the 10.6.5 and 10.6.7 to my attention.
Regards,
macuser222 -
Need to create service order in one system with SO from other sys
Hi,
i need to create a DTO program to copy service order from one system to other system. Both systems are SAP systems.
My requirement is to create service order with same number as it was in the existing system.
Service order type : SM03
Now standard SAP automatically create a service order of type SM03 when i add repair qty within the repair tab of IRPA line within a RAS order.
Can you please let me know if there is a way by which i can change the service order number while creating it from a RAS order??
Thanks,
WillbanHi!
In the customizing, you have to set its numbering to
external in the receiver system for the SM03 order type. And of course you have to set its range the same, as in the sender system.
It's working fine here.
Regards
Tamá -
im on firefox 4 ,recently ,i tried new addon for firefox 4 called start up faster, i removed it, just as comparison to see boot up times , and then when i tried to install again i get the message create service failed, the icon stays on my desktop, want to check this addon is still performing its role, or could i fix something to make sure its properly on my addon list, thank you,
Is it still showing up in your ad-on manager?
-
Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?
Dear All,
I am trying to create Service AP Invoice through DI API.
If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
But if I change amount in above field then DI API throws error Unbalanced Transaction.
If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
Where I am doing wrong?
please guide.
Using:
SAP B1 version 9 Patch Level 11
Location : India.
Thanks.Hi ,
maybe you can find solution to these note 1812344
1846344 - Overview Note for SAP Business One 8.82 PL12
Symptom
This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
Solution
Patch installation options:
SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
Patch content:
SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
For details about the contained corrections, please see the SAP Notes listed in the References section.
Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
Patch download:
Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
Header Data
Released On
02.05.2013 02:34:18
Release Status
Released for Customer
Component
SBO-BC-UPG Upgrade
Priority
Recommendations/additional info
Category
Upgrade information
References
This document refers to:
SAP Business One Notes
1482452
IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
1650289
Printing Inventory Posting List for huge amount of data
1678528
Withholding amount in the first row is zeroed.
1754529
Error Message When Running Pick and Pack Manager
1756263
Open Items List shuts down on out of memory
1757641
Year-end closing
1757690
SEPA File Formats - New Pain Versions
1757898
Incoming Bank File Format
1757904
Outgoing Bank File Format
1762860
Incorrect weight calculation when Automatic Availability Check is on
1770690
Pro Forma Invoice
1776948
Calendar columns are wrong when working with Group View
1780460
OINM column description is not translated
1780486
UI_System crash when you set extreme value of double type to DataTable column
1788256
Incorrect User-Defined Field displayed in a Stock Transfer Request
1788372
ZH: 'Unacceptable Field' when export document to word
1788818
RU loc: No freight in the Tax Invoice layout
1790404
Cash Flow Inconsistency when Canceling Payment
1791295
B1info property of UI API AddonsInstaller object returns NULL value
1791416
Adding a new item to BoM is slow
1794111
Text is overlapping in specific localization
1795595
Change log for item group shows current system date in all the "Created" fields
1797292
Queries in alerts should support more query results
1800055
B1if_ Line break issue in inbound retrieval using JDBC
1802580
Add Journal Voucher to General Ledger report
1803586
Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
1803751
Period indicator of document series can be changed although it has been used
1804340
LOC_BR_Cannot update Nota Fiscal Model
1805554
G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
1806576
Payment Cannot Be Reconciled Internally
1807611
Cannot update UDF in Distribution Rule used in transactions
1807654
Serial No./Batch inconsistency by canceled Inventory Transfer
1808694
BR: Business Partner Code cannot be updated with CNPJ CPF error
1809398
CR_Cannot Display Related Multi-Value Parameters
1809758
Arrow key not work for Batch/Serial Number Transactions Report
1810099
Tax Amount is Recalculated Even if Tax Code Is Not Changed
1811270
Upgrade fails on Serial And Batches object with error code -10
1811846
Cannot run Exchange Rate Differences when multi branch is activated
1812344
Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
1812740
DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
1813029
US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
1813835
Wrong amounts of Goods Return in Open Item List
1814207
Preliminary page prints setting does not keep after upgrade
1814860
Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
1815535
RFQ: Web front end not displayed in supplier language
1815810
GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
1816191
BR:System Crashes While Working with Tax Code Determination Window
1816611
CR_Crystal Report Displayed Incorrectly Afte -
I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. I need to know what process is run under the hood to create such a script.
To put you in context, I have an NFS mount point with all my music and with the "add to library" command, I can add more music to the folder and update iTunes without dragging the individual folders or the whole mount point and avoid having the songs show up as doubles.
Anyone know what OS/Unix process is being called for such a command?I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. I need to know what process is run under the hood to create such a script.
To put you in context, I have an NFS mount point with all my music and with the "add to library" command, I can add more music to the folder and update iTunes without dragging the individual folders or the whole mount point and avoid having the songs show up as doubles.
Anyone know what OS/Unix process is being called for such a command? -
Problem in Creating Service Entry Sheet
Hi,
We have a Service PO. When we are creating Service Entry Sheet for it, showing error msg -
"Goods receipt for purch. order" is not allowed (ORD 10000722)
What should be issue...Hi,
I am very sure that PO is created with the account assignment -F (Internal Order) , So provided IO number in PO under account assigment tab is already locked by your accounts/commercial team.
Please check if the Interal Order is blocked ,you need to activate IO again from KO02 or either change your IO accordingly.
Hope this will resolve your issue.
Thanks & Regards,
Sandesh Sawant -
The problem of creating service for adapter for mq series v8.1
Hi everyone, I have some problem when I try to create service for adapter for mq series using application integration design console. Everything is fine when I define the service but some error shows when I try to test it. The error message is:
-------- Begin level 0 Exception Stack Trace --------
com.bea.wlai.client.ApplicationViewException: Failed to locate deployment information for service ' on ApplicationView 'AppView1'
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:186)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at __WLAdapter4MQSeries_Prototype_48f240ab.AppView1_6k4mbt_EOImpl_814_WLStub.getRequestDocumentDefinition(Unknown Source)
at com.bea.wlai.client.ApplicationView.getRequestDocumentDefinition(ApplicationView.java:573)
at jsp_servlet.__testrslt._jspService(__testrslt.java:361)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
at jsp_servlet.__display._jspService(__display.java:659)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
-------- End level 0 Exception Stack Trace --------
And my request document is:
<?xml version="1.0"?>
<ns0:s1 xmlns:ns0="wlai/AppView1_s1_request">
<Data>123</Data>
</ns0:s1>
The following is the schema for the request document:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified"
targetNamespace="wlai/AppView1_s1_request"
xmlns="wlai/AppView1_s1_request"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="s1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Data"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Anybody got some idea about this problem? Thanks for your help.Did you check these links ->
http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html
http://www.dbasupport.com/oracle/ora10g/CreateDBManually.shtml
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#ADMIN002
Regards.
Satyaki De -
Create Service entry sheet based on % work completion
Dear Experts
Is it possible to enter the percentage for planned services, while creating service entry sheet.??
For example:
My client requirement is like that, while creation service PO, there a planned service like 1 lot - 10,000RS.
while creatiog service entry sheet, they need to keyin like 34.567%, so it possible to keyin as 34.567% while creating service entry sheet. if so please advice me the steps..is there any confiq to be done?
Please advice me..
Regards
SaravananReally appreciate your response!
They want percentage enter with min 3 decimal points like 34.567%, its one of most important requirements, bez the 3rd digits of percentage,...will shows big fluction in VALUE. say around like millions.
Thats what they want to be implemented.
While creating service entry sheet, instead of Quantity field, is it possible to bring the Percentage field in SES?
There is one control data in condition table, where we can assign percentage, but i dont know the confiq...i dont know is this the correct place or not...even after change to percentage..whether it will allows 3 digit decimal or not..that one more question?
Regards
Saravanan -
Create service entry sheet against service PR
HI expert
Can we create service entry sheet against service PR?
If yes, can you show me the step in system?Thanks!
Regards
MarkNo you can not create Service entry sheet against service PR. The purpose of creating pr is just requestion for purchase of services or material. This is required for internal purpose even in pr ur not maintaining Vendor details, conditions. If you see standard business process with ref. to pr we creating po than service entry sheet. So in standard business process every documents have own purpose / value.
-
How to create service order in CRM
Hi All,
Now I can create a service plan. I want to know how to create a service order in CRM. Then I can get service plan from solution manager side for testing. Could anyone tell me how to do that on system ICT/ICP?
Thanks a lot.Hi Vincent,
If you are only talking about creating of service orders in SAP CRM, you can follow this path: [Create Service Orders|http://help.sap.com/saphelp_crm60/helpdata/en/1a/c697d376f24869a755dcf83bbbc9d2/frameset.htm]. This will tell you the overall process along with the items which are necessary to create service orders.
[Service Orders|http://help.sap.com/saphelp_crm60/helpdata/en/1a/023d63b8387c4a8dfea6592f3a23a7/frameset.htm] will also give you a very comprehensive overview on Service Orders and its creation.
But I'm still not clear with the system details that you mentioned here. What is ICT/ICP? And what kind of Service Plan data are you expecting from Solution Manager? Is this a SAP CRM Setup for a Demo or are you show casing this solution for some mid-sized clients or customers?
Hope this helps.
Thanks,
Samantak. -
How to creating Service Contract using BAPI_SLSTRANSACT_CREATEMULTI
Hi,
In my requirement, I have to create a Service Contract from flat file by using BAPI - BAPI_SLSTRANSACT_CREATEMULTI and data which are comming from flat files are, Serial number, Sold-to party, Ship-to party, Installation date, Contract start date, Contract end date, Service profile, Response profile.
Please suggest me what are the Import parameters should I pass in this BAPI to create Service Contract?
Thanks in Advance,
DeepeshHi All,
for everybody's benefit (and to avoid you the time I've spent to work this out...), here is a working example on how to create an sales order (TA) via the BAPI_SLSTRANSACT_CREATEMULTI.
Not really a Service Contract, but it tells you how to call the BAPI.
Points appreciated, if you find this helpful...
I use the convention entryField for the values that should be set based on your system.
Cheers
G
*& Report ZZGVBAPISALESORDER
REPORT ZZGVBAPISALESORDER.
include constants
include crm_direct.
// GUIDs
data: lv_guid_h type GUID_32,
lv_guid_i type GUID_32,
lv_guid_sl type GUID_32,
lv_guid_p type GUID_32.
// Handles
data: lv_current_handle type crmt_handle,
lv_handle_h type crmt_handle,
lv_handle_i type crmt_handle,
lv_handle_sl type crmt_handle,
lv_handle_p type crmt_handle.
// Administration header + item + etc
data: lt_salesorder_header type table of bapibus20001_header_ins,
ls_salesorder_header type bapibus20001_header_ins,
lt_salesorder_item type table of bapibus20001_item,
ls_salesorder_item type bapibus20001_item,
lt_scheduleline type table of BAPIBUS20001_SCHEDLIN,
ls_scheduleline type BAPIBUS20001_SCHEDLIN,
lt_partner type table of BAPIBUS20001_PARTNER_INS,
ls_partner type BAPIBUS20001_PARTNER_INS,
ls_logical_key TYPE crmt_partner_logic_partner_key,
lt_organisation type table of BAPIBUS20001_ORGMAN_INS,
ls_organisation type BAPIBUS20001_ORGMAN_INS.
// Saved sales orders
data: lt_saved_process type table of bapibus20001_object_id,
ls_saved_process type bapibus20001_object_id,
ls_salesorder type CRMT_RETURN_OBJECTS_STRUC.
data: lt_input_fields type table of bapibus20001_input_fields,
ls_input_fields type bapibus20001_input_fields,
lt_return type table of bapiret2,
ls_return type bapiret2.
// Macro definition to populate structure and input field
This, called as
setfield ls_salesorder_header GUID lv_guid_h
is exploded as
ls_salesorder_header-GUID = lv_guid_h.
ls_input_fields-fieldname = 'GUID'.
append ls_input_fields to lt_input_fields.
Note 1: &2 (field name) MUST be uppercase
Note 2: for the salesorder header, I haven't used the macro,
to show how the code should look.
I've used the macro everywhere else.
define setfield.
&1-&2 = &3.
ls_input_fields-fieldname = '&2'.
append ls_input_fields to lt_input_fields.
end-of-definition.
// end of macro definition
// fill order administration header
perform get_guid changing lv_guid_h.
add 1 to lv_handle_h.
ls_salesorder_header-guid = lv_guid_h.
ls_salesorder_header-handle = lv_handle_h.
ls_salesorder_header-process_type = 'TA'.
clear ls_input_fields.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_guid = lv_guid_h.
*ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-orderadm_h.
ls_input_fields-fieldname = 'GUID'.
append ls_input_fields to lt_input_fields.
ls_input_fields-fieldname = 'HANDLE'.
append ls_input_fields to lt_input_fields.
ls_input_fields-fieldname = 'PROCESS_TYPE'.
append ls_input_fields to lt_input_fields.
append ls_salesorder_header to lt_salesorder_header.
// fill organisation data (I needed this, you may rely on
sales org determination instead...)
clear ls_input_fields.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-orgman.
setfield ls_organisation REF_GUID lv_guid_h.
setfield ls_organisation REF_HANDLE lv_handle_h.
setfield ls_organisation REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_organisation SALES_ORG_RESP salesOrgResp(input).
setfield ls_organisation SALES_ORG salesOrg(input).
setfield ls_organisation DIS_CHANNEL disChannel(input).
append ls_organisation to lt_organisation.
// fill order administration item
perform get_guid changing lv_guid_i.
lv_handle_i = lv_handle_h.
add 1 to lv_handle_i.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_i.
ls_input_fields-ref_handle = lv_handle_i.
*ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_i.
ls_input_fields-objectname = gc_object_name-orderadm_i.
setfield ls_salesorder_item GUID lv_guid_i.
setfield ls_salesorder_item HEADER lv_guid_h.
setfield ls_salesorder_item HANDLE lv_handle_i.
setfield ls_salesorder_item HEADER_HANDLE lv_handle_h.
setfield ls_salesorder_item ORDERED_PROD product(input).
*_set_field ls_salesorder_item ITM_TYPE 'TAN'.
setfield ls_salesorder_item MODE 'A'.
*adjustment taken from standard include LCMS_MAPPERF04
*(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
delete lt_input_fields where fieldname = 'HANDLE'
OR
fieldname = 'HEADER_HANDLE'.
append ls_salesorder_item to lt_salesorder_item.
// fill schedule line for item
perform get_guid changing lv_guid_sl.
add 1 to lv_handle_sl.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_i.
ls_input_fields-ref_handle = lv_handle_i.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_i.
ls_input_fields-objectname = gc_object_name-schedlin.
setfield ls_scheduleline ITEM_GUID lv_guid_i.
setfield ls_scheduleline GUID lv_guid_sl.
setfield ls_scheduleline HANDLE lv_handle_sl.
setfield ls_scheduleline ITEM_HANDLE lv_handle_i.
setfield ls_scheduleline QUANTITY '1.000'.
append ls_scheduleline to lt_scheduleline.
// fill partner line
*perform get_guid changing lv_guid_p.
*the partner use the logical key as well
ls_logical_key-ref_partner_handle = '0001'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
setfield ls_partner REF_GUID lv_guid_h.
setfield ls_partner REF_HANDLE lv_handle_h.
setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_partner REF_PARTNER_HANDLE '0001'.
setfield ls_partner KIND_OF_ENTRY 'C'.
setfield ls_partner PARTNER_FCT '00000001'.
setfield ls_partner PARTNER_NO bpNumber(input).
setfield ls_partner NO_TYPE 'BP'.
setfield ls_partner DISPLAY_TYPE 'BP'.
move-corresponding ls_partner to ls_logical_key.
append ls_partner to lt_partner.
// example of a second partner function (custom) with data
override
ls_logical_key-ref_partner_handle = '0002'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
setfield ls_partner REF_GUID lv_guid_h.
setfield ls_partner REF_HANDLE lv_handle_h.
setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_partner REF_PARTNER_HANDLE '0002'.
setfield ls_partner KIND_OF_ENTRY 'B'. "manual entry...
setfield ls_partner PARTNER_FCT customFct(input).
setfield ls_partner PARTNER_NO bpNumber(input).
setfield ls_partner NO_TYPE 'BP'.
setfield ls_partner DISPLAY_TYPE 'BP'.
setfield ls_partner TITLE 'Mr.'.
setfield ls_partner FIRSTNAME 'John'.
setfield ls_partner LASTNAME 'Smith'.
setfield ls_partner STR_SUPPL1 'John Smith and Co'.
setfield ls_partner STREET 'Street1'.
setfield ls_partner STR_SUPPL3 'Street4'.
setfield ls_partner HOUSE_NO '42'.
setfield ls_partner CITY 'Townville'.
setfield ls_partner DISTRICT 'Districtshire'.
setfield ls_partner POSTL_COD1 'AA1 2BB'.
note now ...
*adjustment taken from standard include LCMS_MAPPERF04
*(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
I don't use macro because name of the field in input_table is different
*_set_field ls_partner COUNTRYISO 'GB'.
*instead
ls_partner-COUNTRYISO = 'GB'.
ls_input_fields-fieldname = 'COUNTRY'.
append ls_input_fields to lt_input_fields.
*_set_field ls_partner LANGU_ISO 'EN'.
ls_partner-LANGU_ISO = 'EN'.
ls_input_fields-fieldname = 'LANGU'.
append ls_input_fields to lt_input_fields.
move-corresponding ls_partner to ls_logical_key.
append ls_partner to lt_partner.
Create sales orders *
call function 'BAPI_SLSTRANSACT_CREATEMULTI'
EXPORTING
testrun = false
TABLES
header = lt_salesorder_header[]
item = lt_salesorder_item[]
partner = lt_partner[]
organisation = lt_organisation[]
input_fields = lt_input_fields[]
scheduleline = lt_scheduleline[]
saved_process = lt_saved_process[]
return = lt_return[].
// get the GUID of the created object
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01.
The include contains only this:
***INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01 .
*& Form get_guid
text
<--guid text
FORM get_guid CHANGING GUID.
CALL FUNCTION 'SYSTEM_UUID_C_CREATE'
IMPORTING
UUID = GUID.
ENDFORM. " get_guid -
Hello all,
I am wondering why is that when a filegroup/file is removed from the DB, it still shows up in sys.master_files and msdb.dbo.backupfile.
To reproduce, just create a database and add a filegroup or file to an existing file and delete that filegroup\file.
Now,Query Sys.master_files and you can still see the deleted Filegroup/file for the database. Of course the State_desc shows as 'Offline' but I am wondering why it is not removed completely.
Also, if you take a backup and query the msdb.dbo.backupfile, it will show up there as well. Again, State_desc = 'Dropped' but why is it not removed completely.
Thank you and have a wonderful day.
Hope it Helps!!Hi Andrew--Msdb.dbo.backupfile showing online is correct because the backup was taken when file group was active. However, I do not see what you are seeing, ie, when I drop the filegroup/file, i still see it in the sys.master_files. and in msdb.dbo.backupfile.
I tested this is on both sql2008R2 build 10.50.4000 and sql 2012 sp1.
below is the script..
CREATE DATABASE [TestFileGroup] ON PRIMARY
( NAME = N'TestFileGroup', FILENAME = N'F:\Backup\TestFileGroup.mdf' , SIZE = 4072KB , FILEGROWTH = 1024KB ),
FILEGROUP [TestFG]
( NAME = N'TestFile', FILENAME = N'F:\Backup\TestFile.ndf' , SIZE = 4072KB , FILEGROWTH= 1024KB )
LOG ON
( NAME = N'TestFileGroup_log', FILENAME = N'F:\Backup\TestFileGroup_log.ldf' , SIZE = 1024KB , FILEGROWTH = 10%)
GO
USE [TestFileGroup]
GO
IF NOT EXISTS (SELECT name FROM sys.filegroups WHERE is_default=1 AND name = N'PRIMARY')
ALTER DATABASE [TestFileGroup] MODIFY FILEGROUP [PRIMARY] DEFAULT
GO
select state_desc,Name,getdate() from sys.master_files where database_id= db_ID('TestFileGroup')
BACKUP DATABASE testFileGroup TO DISK = N'F:\Backup\TestFG.bak' with init,Format
USE [TestFileGroup]
GO
ALTER DATABASE [TestFileGroup] REMOVE FILE [TestFile]
GO
ALTER DATABASE [TestFileGroup] REMOVE FILEGROUP [TestFG]
GO
select State_desc,Name,getdate() from sys.master_files where database_id= db_ID('TestFileGroup')
BACKUP DATABASE testFileGroup TO DISK = N'F:\Backup\TestFG.bak' with init,Format
select A.Backup_set_id,A.State_desc,logical_name,Database_Name,getdate() from msdb.dbo.backupfile A Inner join msdb.dbo.backupset B on B.backup_set_id=A.backup_set_id
where database_Name = 'TestFileGroup' and A.backup_set_id = (Select max(backup_set_id) from msdb.dbo.backupset where database_Name = 'TestFileGroup' )
The above queried also returned 'DROPPED' filegroup. (I could upload the screen shot but it errors saying i could upload only 2 images)
I tired querying the sys.master_files and took a backup and queried msdb.dbo.backupfile after restarting the instance and I still see the same thing...
Hope it Helps!!
Maybe you are looking for
-
I recently purchased a Surface Pro 3 (i7/256GB) for the main purpose of getting back into drawing. I wanted to run Photoshop CS6 (I'm not buying into Adobe's CC subscription crap) with N-trig's latest 64bit driver that is supposed to add pen pressur
-
How do you know what's in your sharing queue?
I've got 10+ videos in my upload to youtube queue In the background task list, all I see is youtube upload Details are only given when a file is processed Let's say i want to cancel one of the video uploads, how do I know which one in the queue?? Tha
-
HR Master data replication from R3 to SRM
Hi All, I am trying to replicate one orguint from R3 to SRM. So I do PFAL for the orguint on R3 but when I check the Idoc status in SRM using transcation WE02 under Status Record there are four status as 51 With following messages: 1)HR: ALE inbound
-
Hi, I have Windows 2008 R2 Terminal server (64Bit) with Reader X. (V10.0.0). I'm having a problem with Windows Preview Pane (in outlook preview pane it's work perfect). I'm getting error when I'm stand on PDF file. to solved it i need to open acrobat
-
How do I set System properties within WL6.0?
I am setting WL6.0 up to have a startup class, but this class needs to read system properties which have not yet been set. How do I set these up within weblogic? I was able to get the startup class set up, but it needs these system properties to cont