Returning a warning an appropriate message to SCCM 2012 R2
Hi,
Is it possible to return to SCCM an error message at the end of a script?
I would like returning a warning or an error message to SCCM when a script end and the licence still need to be activate.
I know it is possible to return and errorlevel but a warning or the message coming the errorlevel??
Thanks,
François
ConfigMgr forums can be found here:
https://social.technet.microsoft.com/Forums/en-US/home?category=systemcenter2012configurationmanager&filter=alltypes&sort=lastpostdesc
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing)
Similar Messages
-
Hi All,
I installed SCCM 2012 R2 one primary site from one of our customer & using SQL 2012 SP1 DB at the back-end.
Facing Issues while deploying agent from one of our client machine - OS - window 7 Professional Sp1:
==========[ ccmsetup started in process 3828 ]==========
ccmsetup 25-02-2014 02:20:37 PM
284 (0x011C)
Running on platform X86 ccmsetup
25-02-2014 02:20:37 PM 284 (0x011C)
Updated security on object C:\Windows\ccmsetup\cache\.
ccmsetup 25-02-2014 02:20:37 PM
284 (0x011C)
Launch from folder C:\Windows\ccmsetup\ ccmsetup
25-02-2014 02:20:37 PM 284 (0x011C)
CcmSetup version: 5.0.7958.1000 ccmsetup
25-02-2014 02:20:37 PM 284 (0x011C)
Successfully started the ccmsetup service ccmsetup
25-02-2014 02:20:37 PM 332 (0x014C)
In ServiceMain ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
Folder 'Microsoft\Configuration Manager' not found. Task does not exist.
ccmsetup 25-02-2014 02:20:37 PM
332 (0x014C)
CcmSetup is exiting with return code 0 ccmsetup
25-02-2014 02:20:37 PM 332 (0x014C)
Running on 'Microsoft Windows 7 Professional ' (6.1.7601). Service Pack (1.0). SuiteMask = 272. Product Type = 18
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Ccmsetup command line: "C:\Windows\ccmsetup\ccmsetup.exe" /runservice "/config:C:\Windows\ccmsetup\MobileClientUnicode.tcf" "/RetryWinTask:1"
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Command line parameters for ccmsetup have been specified. No registry lookup for command line parameters is required.
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Command line: "C:\Windows\ccmsetup\ccmsetup.exe" /runservice "/config:C:\Windows\ccmsetup\MobileClientUnicode.tcf" "/RetryWinTask:1"
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
SslState value: 224 ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
CCMHTTPPORT: 80 ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
CCMHTTPSPORT: 443 ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
CCMHTTPSSTATE: 480 ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
CCMHTTPSCERTNAME: ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
FSP: SCCM.MYDOMAIN.COM ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
CCMCERTISSUERS: CN=MYDOMAIN-CA-CA; DC=MYDOMAIN; DC=COM
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
CCMFIRSTCERT: 1 ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
Config file: C:\Windows\ccmsetup\MobileClientUnicode.tcf
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Retry time: 10 minute(s)
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
MSI log file: C:\Windows\ccmsetup\Logs\client.msi.log
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
MSI properties: INSTALL="ALL" SMSSITECODE="PRI" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="480" FSP="SCCM.MYDOMAIN.COM" CCMCERTISSUERS="CN=MYDOMAIN-CA-CA; DC=MYDOMAIN; DC=COM"
CCMFIRSTCERT="1" ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
Source List: ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
\\SCCM.MYDOMAIN.COM\SMSClient
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
\\SCCMDMZ.MYDOMAIN.COM\SMSClient
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
\\SCCM.MYDOMAIN.COM\SMSClient
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
\\SCCMDMZ.MYDOMAIN.COM\SMSClient
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
MPs: ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
SCCM.MYDOMAIN.COM
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
No version of the client is currently detected.
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Folder 'Microsoft\Configuration Manager' not found. Task does not exist.
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Attempting #1 retry. Max 5 retries. ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
Updated security on object C:\Windows\ccmsetup\.
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Sending Fallback Status Point message to 'SCCM.MYDOMAIN.COM', STATEID='100'.
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Failed to get client version for sending messages to FSP. Error 0x8004100e
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Params to send FSP message '5.0.7958.1000 Deployment '
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Request failed: 500 Internal Server Error
FSPStateMessage
25-02-2014 02:20:37 PM 1480 (0x05C8)
Running as user "SYSTEM" ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
Detected 69650 MB free disk space on system drive.
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Checking Write Filter Status. ccmsetup
25-02-2014 02:20:37 PM 1480 (0x05C8)
This is not a supported write filter device. We are not in a write filter maintenance mode.
ccmsetup 25-02-2014 02:20:37 PM
1480 (0x05C8)
Performing AD query: '(&(ObjectCategory=mSSMSManagementPoint)(mSSMSDefaultMP=TRUE)(mSSMSSiteCode=PRI))'
ccmsetup 25-02-2014 02:20:38 PM
1480 (0x05C8)
OperationalXml '<ClientOperationalSettings><Version>5.00.7958.1000</Version><SecurityConfiguration><SecurityModeMask>0</SecurityModeMask><SecurityModeMaskEx>448</SecurityModeMaskEx><HTTPPort>80</HTTPPort><HTTPSPort>443</HTTPSPort><CertificateStoreName></CertificateStoreName><CertificateIssuers>CN=MYDOMAIN-CA-CA;
DC=MYDOMAIN; DC=COM</CertificateIssuers><CertificateSelectionCriteria></CertificateSelectionCriteria><CertificateSelectFirstFlag>1</CertificateSelectFirstFlag><SiteSigningCert>308202F2308201DAA00302010202105F02416299E5D1BC44A2DBB2F1CFDE39300D06092A864886F70D01010B05003016311430120603550403130B53697465205365727665723020170D3134303130363037333732365A180F32313133313231343037333732365A3016311430120603550403130B536974652053657276657230820122300D06092A864886F70D01010105000382010F003082010A0282010100B82EF14C5EEB69D726A3E24B3A2248ACC67667E2D4A4021792169437C5C2A03A35649F0FA3D01DC7FF3BB8668C30662B322A73562FA54EE19DF6A0533EBE895F0CA833E375CA2B8298C59C2372B05A61AF1F41360ED700508678AE2A4321F99DCE7C42139E9690009017A69568D59D2480E45EE724EF902757B66ACE24A8C1705B6628863F7C6DD9140B466F36FCB8FA891AF9F01BC1C94093EDE814D711ACB13F7067F69AD970DAF03AA58E1E5C943582B4B5D0B49BB99E7C1E51D76661BE0A4DEBA2FDF6121C7211A33E8E3092F9CFBECCD0EB9BDE2E1E83EB98F57DD905226B1693D1EEFDE826593D5538902C5292B119303CA02D41B11E762BCC1AF118630203010001A33A303830200603551D110419301782155343434D2E68656C70616765696E6469612E6F726730140603551D25040D300B06092B060104018237650B300D06092A864886F70D01010B05000382010100839328B4017E3317BD05E6D35022AFC1C0AA91E7B1EA838143B257BDAF9780B3C582547891FE4361E5D789B269C4E49CFDAA2E38E85AE7252980F392EC7378F482001909E92F752A6292AFF0FE9E9634B915A70CF3E5DECE35B272630B6CAF5A73FFF4928F847B63A35DF05E2B41F05AAD7C436B166AF6C157789FAA084BB5A38E0592F65F5C6D29588DF6B79B6A51AB6D6D2985FDB346FA88FDD36EE0DAF53603F2036371F7D6866F49A96AB9BE3ED757743033C7C3F97FDF772F699F38DB52775BD0B0090381F89B3D8AD2A49DC653991BCE031517F6BA61FCED45E23139CA01E32F61E865DBA2F5FF0E30403BFC7FEDE1892EE890B765C38FE2F06448FC58</SiteSigningCert></SecurityConfiguration><RootSiteCode>PRI</RootSiteCode><CCM>
<CommandLine>SMSSITECODE=PRI</CommandLine> </CCM><FSP> <FSPServer>SCCM.MYDOMAIN.COM</FSPServer> </FSP><Capabilities SchemaVersion ="1.0"><Property Name="SSLState" Value="0" /></Capabilities><Domain
Value="MYDOMAIN.COM" /><Forest Value="MYDOMAIN.COM" /></ClientOperationalSettings>'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Unable to open Registry key Software\Microsoft\CCM. Return Code [80070002]. Client HTTPS state is Unknown.
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
The MP name retrieved is 'SCCM.MYDOMAIN.COM' with version '7958' and capabilities '<Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities>'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
MP 'SCCM.MYDOMAIN.COM' is compatible ccmsetup
25-02-2014 02:20:39 PM 1480 (0x05C8)
Retrieved 1 MP records from AD for site 'PRI'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Retrived site version '5.00.7958.1000' from AD for site 'PRI'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
SiteCode: PRI ccmsetup
25-02-2014 02:20:39 PM 1480 (0x05C8)
SiteVersion: 5.00.7958.1000
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Ccmsetup is being restarted due to an administrative action. Installation files will be reset and downloaded again.
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Only one MP SCCM.MYDOMAIN.COM is specified. Use it.
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Searching for DP locations from MP(s)... ccmsetup
25-02-2014 02:20:39 PM 1480 (0x05C8)
Current AD site of machine is Default-First-Site
LocationServices 25-02-2014 02:20:39 PM
1480 (0x05C8)
Local Machine is joined to an AD domain LocationServices
25-02-2014 02:20:39 PM 1480 (0x05C8)
Current AD forest name is MYDOMAIN.COM, domain name is MYDOMAIN.COM
LocationServices 25-02-2014 02:20:39 PM
1480 (0x05C8)
DhcpGetOriginalSubnetMask entry point is supported.
LocationServices 25-02-2014 02:20:39 PM
1480 (0x05C8)
Begin checking Alternate Network Configuration
LocationServices 25-02-2014 02:20:39 PM
1480 (0x05C8)
Finished checking Alternate Network Configuration
LocationServices 25-02-2014 02:20:39 PM
1480 (0x05C8)
Adapter {95A6D3CE-4F28-4E55-A29A-FF3F1A317C61} is DHCP enabled. Checking quarantine status.
LocationServices 25-02-2014 02:20:39 PM
1480 (0x05C8)
Adapter {6024AB68-EB5E-4370-BD9E-8B2CEFE261A8} is DHCP enabled. Checking quarantine status.
LocationServices 25-02-2014 02:20:39 PM
1480 (0x05C8)
Sending message body '<ContentLocationRequest SchemaVersion="1.00">
<AssignedSite SiteCode="PRI"/>
<ClientPackage/>
<ClientLocationInfo LocationType="SMSPACKAGE" DistributeOnDemand="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" AllowHTTP="1" AllowSMB="0" AllowMulticast="0"
UseInternetDP="0">
<ADSite Name="Default-First-Site"/>
<Forest Name="MYDOMAIN.COM"/>
<Domain Name="MYDOMAIN.COM"/>
<IPAddresses>
<IPAddress SubnetAddress="10.0.0.0" Address="10.10.10.192"/>
</IPAddresses>
</ClientLocationInfo>
</ContentLocationRequest>
' ccmsetup
25-02-2014 02:20:39 PM 1480 (0x05C8)
Sending message header '<Msg SchemaVersion="1.1"><ID>{F6331322-941A-4E44-974F-A755B1B016A4}</ID><SourceHost>POOJASETHI</SourceHost><TargetAddress>mp:[http]MP_LocationManager</TargetAddress><ReplyTo>direct:POOJASETHI:LS_ReplyLocations</ReplyTo><Priority>3</Priority><Timeout>600</Timeout><ReqVersion>5931</ReqVersion><TargetHost>SCCM.MYDOMAIN.COM</TargetHost><TargetEndpoint>MP_LocationManager</TargetEndpoint><ReplyMode>Sync</ReplyMode><Protocol>http</Protocol><SentTime>2014-02-25T08:50:39Z</SentTime><Body
Type="ByteRange" Offset="0" Length="1126"/><Hooks><Hook3 Name="zlib-compress"/></Hooks><Payload Type="inline"/></Msg>'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
CCM_POST 'HTTP://SCCM.MYDOMAIN.COM/ccm_system/request'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Content boundary is '--aAbBcCdDv1234567890VxXyYzZ'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Received header '<Msg SchemaVersion="1.1">
<ID>{14ADB6F1-95C1-4EEF-B8BA-16CD020ACFCF}</ID>
<SourceID>GUID:526CE573-6351-407E-AC2A-2C3927979AD9</SourceID>
<SourceHost>SCCM</SourceHost>
<TargetAddress>direct:POOJASETHI:LS_ReplyLocations</TargetAddress>
<ReplyTo>MP_LocationManager</ReplyTo>
<CorrelationID>{00000000-0000-0000-0000-000000000000}</CorrelationID>
<Priority>3</Priority>
<Timeout>600</Timeout>
<Capabilities><Property Name="SSL" Version="1"/></Capabilities><ReplyCapabilities><AllowRegistrationReset>direct:SCCM:ClientRegistration</AllowRegistrationReset></ReplyCapabilities><TargetHost>POOJASETHI</TargetHost><TargetEndpoint>LS_ReplyLocations</TargetEndpoint><ReplyMode>Sync</ReplyMode><Protocol>https</Protocol><SentTime>2014-02-25T08:50:39Z</SentTime><Body
Type="ByteRange" Offset="0" Length="3494"/><Hooks><Hook3 Name="zlib-compress"/><Hook Name="authenticate"><Property Name="Signature">3082018C06092A864886F70D010702A082017D30820179020101310B300906052B0E03021A0500300B06092A864886F70D01070131820158308201540201013031301D310D300B060355040313045343434D310C300A06035504031303534D530210165D06FED03B9DB94FE763D9360D9AC5300906052B0E03021A0500300D06092A864886F70D010101050004820100501708FC116FFF030AF508AA81D93086786D1E088F8729906DBFC42B6239C511CF34CB5AA9008B4356FA2D314EF43E85D8555A7D185888870EDC7A3D3700AA974B5246D59D9CC72614845768082F3AB463F2F92025D4505C1E8CBF243F6245E224EAE31091A18C9B0ADE6DEF3500DC599B04BDCE176EA49159D2947C84328F7BD2F0F6C93271F72F5826ED6717C19B5C36CDA9E1B02F9810F1D6B91659E9FD5DB25AFE155ECF86A3535A28ADE0B53505C20E69FB4A6406904299D60098B9756180BA3B6D742E3483F9FE0A45A8EC1611565377D8E6788E51057F7082339BF67771BAFC985C56784CE756BCB39C59E77071BCEE7352500B961D4509FC3EFE3828</Property><Property
Name="AuthSenderMachine">SCCM;SCCM.MYDOMAIN.COM;</Property><Property Name="MPSiteCode">PRI</Property></Hook></Hooks><Payload Type="inline"/></Msg>'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Received reply body '<ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite SiteCode="PRI" MasterSiteCode="PRI"
SiteLocality="LOCAL" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://SCCM.MYDOMAIN.COM/SMS_DP_SMSPKG$/PRI00003" Signature="http://SCCM.MYDOMAIN.COM/SMS_DP_SMSSIG$/PRI00003"/><ADSite
Name="Default-First-Site"/><IPSubnets><IPSubnet Address="10.0.0.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7958</Version><Capabilities SchemaVersion="1.0"><Property
Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>SCCM.MYDOMAIN.COM</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="1"/><Locality>LOCAL</Locality></LocationRecord><LocationRecord><URL
Name="http://SCCMDMZ.MYDOMAIN.COM/SMS_DP_SMSPKG$/PRI00003" Signature="http://SCCMDMZ.MYDOMAIN.COM/SMS_DP_SMSSIG$/PRI00003"/><ADSite Name="Default-First-Site"/><IPSubnets><IPSubnet Address="172.16.10.0"/><IPSubnet
Address=""/></IPSubnets><Metric Value=""/><Version>7958</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>SCCMDMZ.MYDOMAIN.COM</ServerRemoteName><DPType>SERVER</DPType><Windows
Trust="1"/><Locality>FALLBACK</Locality></LocationRecord></LocationRecords></Site></Sites><ClientPackage FullPackageID="PRI00003" FullPackageVersion="1" FullPackageHash="BFC11E099E8F451107B43E0DBEFD93B01DB2D6453DA74F8A2CB94B73D676C1CD"
MinimumClientVersion="5.00.7958.1000" RandomizeMaxDays="7" ProgramEnabled="false" LastModifiedTime="30354761;897103744" SiteVersionMatch="true" SiteVersion="5.00.7958.1000" EnablePeerCache="true"/><RelatedContentIDs/></ContentLocationReply>'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Found local location 'http://SCCM.MYDOMAIN.COM/SMS_DP_SMSPKG$/PRI00003'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Found remote location 'http://SCCMDMZ.MYDOMAIN.COM/SMS_DP_SMSPKG$/PRI00003'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Discovered 1 local DP locations. ccmsetup
25-02-2014 02:20:39 PM 1480 (0x05C8)
PROPFIND 'http://SCCM.MYDOMAIN.COM/SMS_DP_SMSPKG$/PRI00003'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Using DP location http://SCCM.MYDOMAIN.COM/SMS_DP_SMSPKG$/PRI00003
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
GET 'http://SCCM.MYDOMAIN.COM/SMS_DP_SMSPKG$/PRI00003/ccmsetup.cab'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Couldn't verify 'C:\Windows\ccmsetup\ccmsetup.cab' authenticode signature. Return code 0x80096001
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Sending Fallback Status Point message to 'SCCM.MYDOMAIN.COM', STATEID='316'.
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Failed to get client version for sending messages to FSP. Error 0x8004100e
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Params to send FSP message '5.0.7958.1000 Deployment Error 0x80004005. Pre-req file name: C:\Windows\ccmsetup\ccmsetup.cab'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Request failed: 500 Internal Server Error
FSPStateMessage
25-02-2014 02:20:39 PM
1480 (0x05C8)
Failed to extract manifest cab file with error 0x80004005. Try next location.
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Enumerated all 1 local DP locations but none of them is good. Fallback to MP.
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
GET 'HTTP://SCCM.MYDOMAIN.COM/CCM_Client/ccmsetup.cab'
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
Couldn't verify 'C:\Windows\ccmsetup\ccmsetup.cab' authenticode signature. Return code 0x80096001
ccmsetup 25-02-2014 02:20:39 PM
1480 (0x05C8)
CcmSetup failed with error code 0x80004005
ccmsetup 25-02-2014 02:20:39 PM
284 (0x011C)
Please let me know any solution or workaround for this
Thanks Rahul$Hi,
The client cannot verify the signature of ccmsetup.cab. I suggest you check the Trusted Root Certification Authorities in certificate store on the client to see whether a certificate is missing.
Try to enable verbose logging for SCCM client installation. Then check the log to see whether there are some useful information.(http://technet.microsoft.com/en-us/library/gg699356.aspx)
Best Regards,
Joyce Li
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Warning and abort message for BAPI_MATERIAL_BOM_GROUP_CREATE
Hi to all,
i am creating BOM using FM BAPI_MATERIAL_BOM_GROUP_CREATE , i have passed all necessary parameters, but
waring and abort message are coming with creating bom for BAPI_MATERIAL_BOM_GROUP_CREATE .
W BAPI1080 028
Error/warning when checking the structure of the BOM group with ID=BOMGROUP1
A BAPI1080 018
Item ID=BOM1 is not assigned to a variant/alternative
A BAPI 001
No instance of object type BOMGroup has been created. External reference:
please can any one tell me what will be the soultion for that.
Regards
Pavneet Rana
Edited by: pavneet rana on Aug 23, 2011 6:27 AMThanks for reply ,
yes i have used that link, and i am using same value , except for matnr and plant.
but warning and abort message are coming, and no BOM is creating in MAST.
W BAPI1080 029
Error when checking the data of the object type=BOM / Id=BOM1 of group Id=BOMGROUP1
A BAPI 001
No instance of object type BOMGroup has been created. External reference:
please can any one provide me the solution for that.
code:
DATA: BOMGROUP TYPE TABLE OF BAPI1080_BGR_C,
wa_BOMGROUP LIKE LINE OF BOMGROUP,
variant TYPE TABLE OF BAPI1080_BOM_C,
wa_variant LIKE LINE OF variant,
ITEM TYPE TABLE OF BAPI1080_ITM_C,
WA_ITEM LIKE LINE OF ITEM,
MATERIALRELATIONS TYPE TABLE OF BAPI1080_MBM_C,
WA_MATERIALRELATIONS LIKE LINE OF MATERIALRELATIONS,
RETURN TYPE BAPIRET2_T.
DATA: wa_return LIKE LINE OF RETURN .
wa_BOMGROUP-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
wa_BOMGROUP-OBJECT_TYPE = 'BGR'.
wa_BOMGROUP-OBJECT_ID = 'BOMGROUP1' .
wa_BOMGROUP-TECHNICAL_TYPE = 'M'.
wa_BOMGROUP-BOM_USAGE = '1'.
wa_BOMGROUP-BOM_GROUP = 'BOMGROUP1' .
wa_BOMGROUP-CREATED_IN_PLANT = '2000'.
wa_BOMGROUP-LTXT_LANG = sy-langu .
wa_BOMGROUP-BOM_TEXT = 'Created Using BAPI_MATERIAL_BOM_GROUP_CREATE'.
APPEND wa_BOMGROUP to BOMGROUP.
VARIANTS
wa_variant-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
wa_variant-OBJECT_TYPE = 'BOM'. "= 'BGR'. "
wa_variant-OBJECT_ID = 'BOM1' .
wa_variant-ALTERNATIVE_BOM = '2'.
wa_variant-BOM_STATUS = '1'.
wa_variant-BASE_QTY = '100'.
wa_variant-BASE_UNIT = wa_bom_header-BASE_UOM.
wa_variant-LTXT_LANG = sy-langu .
WA_VARIANT-LANGU_ISO = SY-LANGU.
wa_variant-ALT_TEXT = 'BAPI_MATERIAL_BOM_GROUP_CREATE'.
wa_variant-VALID_FROM_DATE = wa_bom_header-VALID_FROM.
wa_variant-CHANGE_NO = 'ECN1'.
wa_variant-FUNCTION = 'NEW'.
APPEND wa_variant TO VARIANT.
ITEM
WA_ITEM-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
WA_ITEM-OBJECT_TYPE = 'ITM'.
WA_ITEM-OBJECT_ID = 'BOM1' .
*WA_ITEM-ITEM_ID = 'BOM1'.
WA_ITEM-ITEM_NO = '0010'.
WA_ITEM-ITEM_CAT = 'L'.
WA_ITEM-COMPONENT = '300201001'.
WA_ITEM-COMP_QTY = '100'.
*WA_ITEM-COMP_UNIT = 'KGK'.
WA_ITEM-VALID_FROM_DATE = SY-DATUM.
APPEND WA_ITEM TO ITEM.
MATERIAL
WA_MATERIALRELATIONS-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
WA_MATERIALRELATIONS-MATERIAL = '1020007'. "lv_matnr. "
WA_MATERIALRELATIONS-PLANT = '2000'.
WA_MATERIALRELATIONS-BOM_USAGE = '1'.
WA_MATERIALRELATIONS-ALTERNATIVE_BOM = '2'.
APPEND WA_MATERIALRELATIONS TO MATERIALRELATIONS.
data: ITEMASSIGNMENTS TYPE TABLE OF BAPI1080_REL_ITM_BOM_C,
wa_ITEMASSIGNMENTS like LINE OF ITEMASSIGNMENTS .
wa_ITEMASSIGNMENTS-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
wa_ITEMASSIGNMENTS-SUB_OBJECT_TYPE = 'ITM'.
wa_ITEMASSIGNMENTS-SUB_OBJECT_ID = 'BOM1'.
wa_ITEMASSIGNMENTS-SUPER_OBJECT_TYPE = 'BOM'.
wa_ITEMASSIGNMENTS-SUPER_OBJECT_ID = 'BOM1'.
*wa_ITEMASSIGNMENTS-VALID_FROM_DATE
*wa_ITEMASSIGNMENTS-CHANGE_NO
wa_ITEMASSIGNMENTS-FUNCTION = 'NEW'.
APPEND wa_ITEMASSIGNMENTS to ITEMASSIGNMENTS.
CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
EXPORTING
TESTRUN = ' '
ALL_ERROR = 'X'
TABLES
bomgroup = BOMGROUP
variants = VARIANT
ITEMS = ITEM
SUBITEMS =
materialrelations = MATERIALRELATIONS
ITEMASSIGNMENTS = ITEMASSIGNMENTS
SUBITEMASSIGNMENTS =
TEXTS =
return = RETURN
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
ENDIF.
loop at RETURN INTO wa_return.
write:/ wa_return-type, wa_return-id, wa_return-number,
wa_return-message.
endloop.
regards
pavneet rana
Edited by: pavneet rana on Aug 23, 2011 8:57 AM -
Attributes of system message changing from warning to Erroro message
dear experts,
I have an issue regarding to change the sytem message from warning to error message .For some materail groups are under Purchase requisition release Stratergy.For this without releasing Pur req system should not allow to raise P.O .At that time system should thro error message- Pur req &,item &,not released for ordering.So in SPRO -MM-Purchasing -Environment Data-Define Attributes of sysytem message.
Here
Ver Appl No Message Text Categ
00 06 055 Pur req &,item &,not released for ordering E
The above settigs has been made & saved .
Now we created Pur req with ref to the material Group which are under release Procedure & saved .But with out releasing Pur req we are raising P.O with ref to Pur Req by this time when i was saving System should throw Error message -
Pur req &,item &,not released for ordering .Its not reflecting as per the configuration.
I have checked in Table level also ,here the data's are updating as per the configuration Error message.
Table Name- V_160m
Field Name -MSGNR (Message Number)
Field name- ARBGB( Application Area i,e ME)
Field Name -MSGTP( Error or Warning).
Kinldy give me your suggestion as soon as possible.
Thansk In advance
vishalHi,
While defining release strategy check in release statuses whether you and selected S-first indicator (blocked)
(In top) .......and 2-Request For quotation/Purchase indicators....
regards,
Patil -
My mac keeps locking up it s Power mac G5 Intel using 10.6.8 OS.X. I get no warning or error messages it just locks up and the only way to get it to work again is to depress power button and restart. Its random intermittent and incredibly frustrating. I do get some screen distortion from time to time and wondered whether it may be a graphics card issue or whether it could be solved with a complete system re-install and OS upgrade?
According to everymac.com, your Mac came with Tiger, 10.4.x and can't go any higher than Lion, 10.7.x.
It would have come with gray, machine specific disks. Since there's no reason to install 10.4.x first, and then Snow Leopard over that, just purchase a retail copy of Snow Leopard for $20. What you won't get with the retail version of SL is the iLife suite (Garage Band, iDVD, etc.) that were on the original bundled disks, but you can purchase iLife on Amazon pretty cheap, and get newer versions besides.
When you get Snow Leopard, you can boot to the DVD, erase the drive and install everything clean. Hopefully, you issue is only software, and not hardware related. -
Service entry sheet -Warning or Error message
Hi Everyone....
I have one issue related to Service entry sheet, i.e, it's possible to change a service entry sheet without the accepting.Due to the finance procedure my client has decided that it should not be possible to save a service entry sheet without the acception and it should give the warning or error message.
Please check above requirement and suggest me on this.
Regards,
Nag.Hi Raju,
Thanks for your update.
Is there any way to set as mandatory for the Acceptance Indicator in Service entry sheet?
Prompt response on this issue is highly appreciated.
Regards,
Nag -
Send state message to SCCM after uninstall of SCCM client
Hi Everyone,
I have a batch file to uninstall the client from PC's, how would I could I send a state message back to SCCM to say the uninstall was successful? Asking because the console doesn't come back with success info, just waiting, and accepted on the program.....as
the client is uninstalled etc.
Currently running a simple ccmsetup.exe /uninstall as below, thanks for any help in advance.
I know there's a Vb script to force any existing messages to be sent, but as the CCM WMI will not exist, there would be nothing to send, right?
And I have to do this for a POF......Is this even possible??I could write to a log file with the name of the computer that just uninstalled, but really wanted to use a report.....or if there's another way to uninstall client and get the info in SCCM then
please let me know, it's been a very long few days..... cheers :)
@echo off
echo Please Wait while the system is uninstalling Microsoft's SMS/SCCM Client.
REM 'echo Checking for SCCM 2007 client...
REM 'IF EXIST %windir%\System32\ccmsetup\ccmsetup.exe GOTO DEL07
REM 'echo No SCCM 2007 client found.
echo Checking for SCCM 2012 client...
IF EXIST %windir%\ccmsetup\ccmsetup.exe GOTO DEL12
echo No SCCM 2012 client found.
echo Checking for SMSCFG file...
IF EXIST %windir%\SMSCFG.INI GOTO DELINI
echo No SMSCFG file found.
echo All software already removed or no client installed.
GOTO END
REM :DEL07
REM echo Found SCCM Client v2007. Removing...
REM %windir%\System32\ccmsetup\ccmsetup.exe /uninstall
REM RD /S /Q %windir%\System32\ccmsetup
REM RD /S /Q %windir%\System32\ccm
REM RD /S /Q %windir%\System32\ccmcache
REM echo SCCM Client 2007 removed.
REM IF EXIST %windir%\ccmsetup\ccmsetup.exe GOTO DEL12
REM IF EXIST %windir%\SMSCFG.INI GOTO DELINI
REM GOTO END
:DEL12
echo Found SCCM client v2012. Removing.
%windir%\ccmsetup\ccmsetup.exe /uninstall
REM RD /S /Q %windir%\ccmsetup
REM RD /S /Q %windir%\ccm
RD /S /Q %windir%\ccmcache
echo SCCM Client 2012 removed.
IF EXIST %windir%\SMSCFG.INI GOTO DELINI
GOTO END
:DELINI
echo SMSCFG file found. Removing...
del /F %windir%\SMSCFG.INI
echo SMSCFG file removed.
GOTO END
:END
echo Done!
rem pause
exit
many thanksDon't you think this is a bit of a silly question? The client is what sends state messages therefore what would you expect to "send" the message that the client was removed? Seems about as effective as putting the address on the inside of an
envelope and expecting the post office to just know where to send the mail.
John Marcum | Microsoft MVP - Enterprise Client Management
My blog: System Center Admin | Twitter:
@SCCM_Marcum | Linkedin:
John Marcum -
I recently installed SCCM 2012 R2 CU4 on a LAB environment, and nowhere is it more important to wait until all requisite site roles are reinstalled before doing anything else.
I did, and still do, have an warning/ error on the Site components that shows up on one of the child primary sites after the CU4 installation.
Distribution Manager has not tried to install IIS component of operating system to distribution point “[“Display=\\SCxxx\”]MSWNET:[“SMS_SITE=xxx”]\\xxx\”. You should install and configure IIS manually. Please ensure RDC is also enabled.
IIS is installed, RDC is enabled, but I get this error. What could be the real issue?Hi,
So you have tried to reinstall IIS conponents and DP?
Have you checked the distmgr.log? Anything helpful?
Best Regards,
Joyce
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
"Warning: Unresponsive script" message and Firefox v16+
I recently upgraded to v16, and then v17. In both cases I repeatedly received the dreaded "Warning: Unresponsive script" message, so frequently that the browser became unusable.
https://support.mozilla.org/en-US/kb/warning-unresponsive-script
I reverted to v15 and now I NEVER get the "Warning: Unresponsive script" message anymore
Just so you know...'''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
''(If you're not using it, switch to the Default theme.)''
* You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
* Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Don't select anything right now, just use "'Start in Safe Mode"''
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
'''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
Please follow the [[Troubleshooting extensions and themes]] article for that.
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.'' -
Warning: Unresponsive script' message appears in 'do forever' loop.
This error is in a 'do forever' loop after Tools>add ons. Then error message Firefox not responding.
Can't stop 'Warning: Unresponsive script' message with W7 Task Manager. Requires Reboot.'''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
''(If you're not using it, switch to the Default theme.)''
* You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
* Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Don't select anything right now, just use "'Start in Safe Mode"''
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
'''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
Please follow the [[Troubleshooting extensions and themes]] article for that.
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.'' -
About the warning about changes message.
Hi all,
There is a messageChoice on the page,and the messageChoice must fire an action.But if the action is fired,then I click on the other tab or link, warning about changes message will not occur and directly farward to the other page.Is that possible that popup the warning about changes message after the messageChoice's event was fired ?
Thanks,
binghaoHi,
this question is hard to understand. I don't see a messageChoice component in ADF Faces, can you give more details to your usecase and the components involved
Frank -
I am having issue with some application, packages, and images pushing from my Primary SCCM server to the secondary servers and DPs.
I am thinking that the issues are all related so I am going to just talk about the image that I am having a problem with push.
The image has successfully transfered to the Primary site, and secondary sites, but it is having a problem with a DP. The error that shows up in "Content Status" says "Detail will be available when server finishes processing the
messages". All the servers are 2008 R2 server, with SCCM 2012 SP1.
I would take a look at logs for this, but I am pretty new to SCCM, and I'm not sure which log to look at for additional information.
Thank you for any help that can be provided.The logs pointed me to an error about the Pull DP settings. I think the issue is that I have the images stored on the Primary site, and the DP does not have the Primary site in its Pull DP settings tab. I unchecked the option, and it appears to be working
now. Thank you -
SC created without any warning or error message
Hi,
I'm working with SRM 5.0, classic scenario.
Problem is following:
I create a SC for a specific material for storage location A for example. But this specific material wasn't created for storage location A. SRM doesn't block my SC cart created neither give me any warning or error message.
After SC goes into error into shoppingcart monitor indicating that this specific material wasn't created for storage location A.
Is this normal SRM behaviour? I don't think so...
Can I activate any warning or error message in order to avoid this?
Thanks a lot,
regards,
carolineHi
This seems to be normal behaviour.
Please check for errors, dumps etc. using BBP_MON_SC, RZ20, and ST22 Transactions, if any.
You need to use BBP_DOC_CHECK_BADI for issuing Warning / Error messages.
Implement BBP_DOC_CHECK_BADI for filter type - BUS2121 (Shopping carts) and get the job done.
P.S. Carefully read the Standard SAP Documentation of this BADI using SE18 Transaction.
Hope this will help. Do let me know.
Regards
- Atul -
After SCCM 2012 R2 CU4 update Client won't report status message back
We had SCCM 2012 R2 CU3, just updated it to CU4 (all site servers and clients) last week.
Right after the clients received the CU4 update (no reboot), I saw these started popping up the event log:
The ConfigMgr Client encountered a certificate for Management Point SCCM that could not be verified.
I checked online and it has to do with trusted root key mismatch, but there was no site change. The only thing we did was upgrading from CU3 to CU4.
Right now the symptom is that all these clients do not report status messages back to the MP so we have no idea how our deployments would go.i am having what i think is a similar issue. i upgraded to CU4 and the only clients to report back in are my SCCM site server and my only DP server. no clients have reported in since. i checked a few clients and they did get the CU4 client update
and installed it but they are not reporting back
I have pretty much the same situation.
A successfully upgrade to SCCM 2012 r2 cu4 on the primary site.
Deployed the cu4 to a few computers which was successfully. Later I also deployed the cu4 to the primary site server and it turned out to be the only computer reporting back with the proper client version.
There is no errors or warnings in the event logs which could explain this strange issue. As far as I can tell the clients is operational but they are just not reporting back with the proper client version. A quick look at the sccm client
logs has also not revealed the root cause.
Any ideas would be appreciated a lot.
Per Dahl Christiansen -
Formerly, an e-mail with a website, photo, etc. attachment that I opened required only that I click close tab return to my e-mail message. Since upgrading a few days ago, the only option present is to exit, which now requires re-opening firefox then my e-mail browser. Any website I am examining that I want to close automatically exits me from Firefox.
there should be an X on the right side of each tab. clicking on it should close that tab
Maybe you are looking for
-
NEED HELP IN USING ALL_TAB_COLUMNS FOR RETRIEVING DATA???
A table say T1 contains column like Emp_id,Code. and there are several Code like C1,C2,C3. Another table say T2 contains column like Emp_id,C1,C2,C3.Here the value of the code field of the T1 table is now column of the T2 table.And the amount of each
-
Issue in sales order order import program
Hi all, I need to create a Sales Order using interface tables.First I inserted the record into the interface table OE_HEADERS_IFACE_ALL.I populated necessary columns in it. Then I executed Order Import Concurrent program giving value of order source(
-
Select options in function module
hi friends, pls help me reg my query. I have wERKS select-options on the selection screen. (This same thing, i want to pass in FM) 2. So in FM, I have used the TABLES parameter (Not import, nor export) 3. And the type given is WERKS_RANG i defined it
-
Firewire connection is not supported. Use USB to transfer songs...
Got message on my ipod saying "Firewire connection is not supported. Use USB to transfer songs" and then it says "Press Center to dismiss" Restarted the ipod no use! Connected with my PC no use! (its just charging) does not update of hooked to itunes
-
I was installing ilok software. It said installation was finished and it would need to log off. Now the MBP isn't doing anything and the menu bar is transparent - time and info on the right side, but no apple on the left. I can access Finder and some