Error AM 010 with 201/ 202 movements
Hi,
We are trying to post 201 movement. But the document is not saved. Observed the error "AM 010: Address doesn't exist 13489" on checking SM13. What could be the reason for this?
Thanks in advance
Aparna
Hi Tej,
There is no address maintained for the cost center. There was this problem when trying to post for the first time.
Now the user is able to post it successfully. But there has been no changes to the cost center.
Should this still be because of cost center address?
Thanks
Aparna
Similar Messages
-
Cannot cancel 202 movement after 201 using VLMOVE
Hi,
I have dont 201 movement using VLMOVE. I have to cancel this movement since the Cost Center was wrong.
I tried 202 movement with MB1A, but get the error as "Document is incomplete: You cannot save the delivery".
Can you tell me how I can cancel this movement which has HU involved.
Thank YouHI Benu Mathew
What error message you are getting.?
Try to cancel Material Document in MIGO or MBST.
Reb,
Bhg -
Hi all,
query has to show the values of keyfigures with above 200(201,202.....) as 200.
for example
james 200
willy 180
Jhones 450
kiris 204 and so on.
the values above 200 that is 450 204 has 200 in the query output.
Thanks,
JamesHi ganesh,
Thanks for response.
but assumption is wrong.
the values below 200 also needed and the values above 200(400,204) has to show 200 in the output of the report.
format before the output of the query.
james 400
kitty 200
jhones 180
francy 204.
Now my output has to show
james 200
kitty 200
jhones 180
francy 200.
I hope you can understand better now.
Thanks,
James -
I get an error when you play a rented movie, also happens to me with the purchased music.
Welcome to the Apple Community Jebson.
Try the following steps, check whether things are working after each step where appropriate, before trying the next.
1. Restart the Apple TV (Settings > General > Restart).
2. Restart the Apple TV by removing ALL the cables for 30 seconds.
3. Restart your router. (Also try removing it’s power cord for at least 30 seconds)
4. Reset the Apple TV (Settings > General > Reset > Reset all settings)
5. Restore the Apple TV (Settings > General > Reset > Restore) -
Flash 8 Video Encoder Error with Sony Handycam movie
Hi,
I'm using Flash 8 Video Encoder to convert movies to .fla
format to use them on websites. Now trying to do this with movies
shot with my new Sony Handycam, Flash Video Encoder gives an error
and doesn't convert the movie.
Any idea what to do?
Thanks, have a nice day.Ferrohead wrote:
> Thanks for the reply.
> I haven't tried this option yet, I've opened the Picture
Motion Browser but I don't see how to convert it to mpeg2.
>
> Can you tell me how to do this?
>
> Thanks again.
I have this option from right click menu - Convert to Mpeg 2
and save.
By the way, does your CD comes with Sony Vega program?
This one is able to open Sony's raw file format and export to
very nice
quality mpeg that works superb in flash. I did lots of video
using Vega,
to adjust the sharpness, color contrasts and all, before
start exporting and
down sizing...
Best Regards
Urami
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Dear Experts,
we created a material and there is no stock for the material in plant or there is no movement type recorded for the material.
but user not issued the material to any cost center with 201 movement.but he can able to make reversal with 202,
without any making 201,can this is possible in standard SAP,please clarify me.
Regards,
VarunHi dear,
Mvt type 202 is technically the movement type for reversal of 201 mvt type ( issue to cost center ).
This mvt type is picked up automatically in case of cancellation of 201 mat docs .
But when manually a posting is done using this movement type , this is deemed as good as direct uploading of the stock.
It is highly recommended to be extremely disciplined in directly posting such document . The system will never check it if it is a cancellation.
Also in case issued are to be reversed , always cancel the 201 document . -
Error in Communicating with DCA Server
Hi,
I have Cisco LMS 2.6 and next modules:
1. CiscoWorks Common Services 3.0.6
2. Campus Manager 4.0.13
3. CiscoView 6.1.5
4. Device Fault Manager 2.0.13
5. Internetwork Performance Monitor 2.6.0
6. Integration Utility 1.6.0
7. Resource Manager Essentials 4.0.6
Windows Server 2003 SE SP2
I have some problems:
1)
When I try enter to Device and Credentials I get message "Error in communicating with DCA Server.
DCA Server may be down. Please start the DCA Server and then refresh the page."
I try to restart CiscoWorks Daemon Manager over Services.
I cannot get information a lot of time from command "pdshow". Only black screen on the window CMD.
Or I get error
C:\Documents and Settings\zykov>pdshow
ERROR: GetReply failed:
ERROR: Daemon Manager startup in progress. Please wait.
dcr.log
[ Чт фев 18 16:51:28 YEKT 2010 ] [Ajp13Processor[9009][4]] FATAL com.cisco.nm.dcr.DCRProxy - Error in Communication to DCRServer , Reason :DCRException ID - -202 : CSTM Error Code [-1] CSTM Comm Type [0] - Unknown exception before invocation
[ Чт фев 18 20:32:35 YEKT 2010 ] [Ajp13Processor[9009][3]] FATAL com.cisco.nm.dcr.DCRDatabaseAccess - Severe error in DCRDatabaseAccess initialization - JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s). 0 JZ00L
[ Чт фев 18 20:32:35 YEKT 2010 ] [Ajp13Processor[9009][3]] FATAL com.cisco.nm.dcr.DCRSystem - Unable to Instantiate DCRDataManagement ObjectJZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
DCRServer.log
[ Thu Feb 18 21:10:41 YEKT 2010 ] Starting DCR Server...
[ Thu Feb 18 21:10:43 YEKT 2010 ] No restore has happened
dcrclient.log
[ Чт фев 18 20:50:49 YEKT 2010 ] [Ajp13Processor[9009][5]] FATAL com.cisco.nm.dcr.DCRProxy - Error in Communication to DCRServer , Reason :DCRException ID - -202 : CSTM Error Code [-1] CSTM Comm Type [0] - Unknown exception before invocation
2) When I run Alerts and Activites I get error "An exception occurred. Please check the AAD.log file for further details."
AAD.log
18-фев-2010|21:30:10.291|ERROR|AAD|Ajp13Processor[9009][3]|AFDLaunchAction|perform|.|Error in calling getPartitionNamePMServercom.cisco.nm.xms.ctm.common.CTMException: Read timed out/Error in received response Connection reset
3) On the window Home of Common Services I have message "JRM server is down or inaccessible for this user"
I try reinstall last modules Campus Manager 4.0.13,
Device Fault Manager 2.0.13,
CiscoWorks Common Services 3.0.6.
But it cannot help me.
I think that this problems related. Yesterday all works correctly.
Thank you for your help.You are right the problem was related with antivirus.
After removal antivirus DCA Server started successfully.
Remains the question as to be without an antivirus program?
Also remains a problem in the window Alerts and Activites.
When I click on the Device Name field (for some devices) does not open Detailed Device View.
The window closes immediately after opening. -
Error in communicating with DCR
Preliminary question:
For LMS 3.2 on Windows, which is better 2003 or 2008?
Primary issue:
Background: new install of LMS 3.2 on Windows 2008 sp2 Virtual Machine.
Upgraded Campus to 5.2.1
Upgraded RME to 4.3.1
when updating device packages, services started extremely slow with anidbeng taking 2hrs. portal showed service unavailable.
had to restart crmdmgtd to be able to login.
most links in CS return the following: Error in communicating with DCR server. DCR server may be down. Please start the DCR server and then refresh the page. The DCR server shows running normal.
tried restarting crmdmgtd
attached DCR.log
tried CSCtd07131 .. no successWindows 2008 offers more scalability so I would go with that although LMS has been tested on both (you will have a longer life of support as well).
When applying the CSCtd07131 patch, you need to be sure it is the right patch for the right CS version as there are multiple versions out there. However, this is fixed in LMS 3.2.1 so you should just upgrade there.
An often overlooked matter when installing LMS are the steps mentioned here:
https://supportforums.cisco.com/docs/DOC-9132
I see constant TAC cases due to installation problems because the above steps are not met or are half-met. Services starting slowly are usually an after-effect of something blocking ports (anti-virus or such) or possible database corruption. Setting DEP and anti-virus as specified above might help here, but if you did not follow these steps to the letter during this new install, I would suggest to cleanup this server and re-install properly; then move all the way to LMS 3.2.1. -
Error in communicating with Group Administration Server
Hello everyone, i am requesting your help for an issue with LMS 4.2.5
When i browse to Admin-> Group Management -> Fault.
I get the following:
OGS Server Error
Error
Error in communicating with Group Administration Server.
It may be down or not yet up. Please make sure that the Group Administration Server is up and running, then refresh the page.
here is the pdshow output
pdshow
Process= ESS
State = Program started - No mgt msgs received
Pid = 5536
RC = 0
Signo = 0
Start = 10/31/14 14:13:21
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EssMonitor
State = Running normally
Pid = 5567
RC = 0
Signo = 0
Start = 10/31/14 14:13:25
Stop = Not applicable
Core = Not applicable
Info = ESS is fully up now !
Process= EventFramework
State = Program started - No mgt msgs received
Pid = 5584
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= SyslogCollector
State = Running normally
Pid = 5585
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = SyslogCollector Started at Fri Oct 31 14:13:28 CST 2014
Process= RMEDbEngine
State = Program started - No mgt msgs received
Pid = 5586
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHDbEngine
State = Program started - No mgt msgs received
Pid = 5663
RC = 0
Signo = 0
Start = 10/31/14 14:13:30
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMDbEngine
State = Program started - No mgt msgs received
Pid = 5696
RC = 0
Signo = 0
Start = 10/31/14 14:13:34
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMServer
State = Running normally
Pid = 5729
RC = 0
Signo = 0
Start = 10/31/14 14:13:38
Stop = Not applicable
Core = Not applicable
Info = EPMServer is up and running
Process= AdapterServer
State = Program started - No mgt msgs received
Pid = 5748
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= AdapterServer1
State = Program started - No mgt msgs received
Pid = 5749
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHServer
State = Running normally
Pid = 5750
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = FHServer started.
Process= INVDbEngine
State = Program started - No mgt msgs received
Pid = 5751
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= PMServer
State = Running normally
Pid = 5936
RC = 0
Signo = 0
Start = 10/31/14 14:13:46
Stop = Not applicable
Core = Not applicable
Info = PMServer is up and running
Process= IpmDbEngine
State = Program started - No mgt msgs received
Pid = 5960
RC = 0
Signo = 0
Start = 10/31/14 14:13:50
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbEngine
State = Program started - No mgt msgs received
Pid = 5993
RC = 0
Signo = 0
Start = 10/31/14 14:13:54
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbMonitor
State = Running normally
Pid = 6026
RC = 0
Signo = 0
Start = 10/31/14 14:13:58
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= ANIDbEngine
State = Program started - No mgt msgs received
Pid = 6027
RC = 0
Signo = 0
Start = 10/31/14 14:13:59
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= MACUHIC
State = Running normally
Pid = 6055
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= UTLITE
State = Running normally
Pid = 6056
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= FDRewinder
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= CmfDbEngine
State = Program started - No mgt msgs received
Pid = 6057
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CmfDbMonitor
State = Running normally
Pid = 6183
RC = 0
Signo = 0
Start = 10/31/14 14:14:08
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= DfmBroker
State = Running normally
Pid = 6190
RC = 0
Signo = 0
Start = 10/31/14 14:14:09
Stop = Not applicable
Core = Not applicable
Info = DfmBroker is running normally
Process= DfmServer
State = Running normally
Pid = 6322
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer initialized OK.
Process= DfmServer1
State = Running normally
Pid = 6323
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer1 initialized OK.
Process= DFMLogServer
State = Program started - No mgt msgs received
Pid = 6324
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMCTMStartup
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 11:55:05
Stop = 11/03/14 11:55:05
Core = Not applicable
Info = Application started by administrator request.
Process= FHPurgeTask
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 00:00:00
Stop = 11/03/14 00:00:44
Core = Not applicable
Info = DPS Task FHPurgeTask completed at Mon Nov 03 00:00:44 CST 2014. For status check Job Browser UI.
Process= DFMMultiProcLogger
State = Program started - No mgt msgs received
Pid = 6327
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CSDiscovery
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= DCRDevicePoll
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 09:15:02
Stop = 11/03/14 09:15:50
Core = Not applicable
Info = Application started by administrator request.
Process= CSRegistryServer
State = Running normally
Pid = 6328
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = CSRegistryServer is running
Process= Tomcat
State = Program started - No mgt msgs received
Pid = 6330
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TomcatMonitor
State = Running normally
Pid = 6670
RC = 0
Signo = 0
Start = 10/31/14 14:14:17
Stop = Not applicable
Core = Not applicable
Info = Tomcat Server up
Process= Apache
State = Running normally
Pid = 7183
RC = 0
Signo = 0
Start = 10/31/14 14:16:02
Stop = Not applicable
Core = Not applicable
Info = Web Server initialized ok.
Process= DCRServer
State = Running normally
Pid = 7204
RC = 0
Signo = 0
Start = 10/31/14 14:16:06
Stop = Not applicable
Core = Not applicable
Info = DCRServer is up and running
Process= CMFOGSServer
State = Program started - No mgt msgs received
Pid = 7257
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TISServer
State = Program started - No mgt msgs received
Pid = 7258
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMOGSServer
State = Program started - No mgt msgs received
Pid = 7323
RC = 0
Signo = 0
Start = 10/31/14 14:16:16
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NOSServer
State = Running normally
Pid = 7375
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = NOSServer is up and running
Process= PTMServer
State = Running normally
Pid = 7376
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = Started Successfully
Process= InventoryCollector
State = Running normally
Pid = 7377
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = InventoryCollector is up and running
Process= Interactor
State = Program started - No mgt msgs received
Pid = 7496
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= InventoryCollector1
State = Program started - No mgt msgs received
Pid = 7497
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= Interactor1
State = Program started - No mgt msgs received
Pid = 7589
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMProcess
State = Running normally
Pid = 7590
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = UPMProcess started successfully.
Process= UTManager
State = Running normally
Pid = 7591
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= EssentialsDM
State = Running normally
Pid = 7592
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = RME Device Management started.
Process= ICServer
State = Running normally
Pid = 7730
RC = 0
Signo = 0
Start = 10/31/14 14:16:31
Stop = Not applicable
Core = Not applicable
Info = ICServer started.
Process= EnergyWise
State = Running normally
Pid = 7923
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = EnergyWise Process is running normally Fri Oct 31 14:16:45 CST 2014
Process= PMCOGSServer
State = Program started - No mgt msgs received
Pid = 7924
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= ConfigMgmtServer
State = Running normally
Pid = 7925
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = DCMA is running normally Fri Oct 31 14:17:02 CST 2014
Process= ConfigUtilityService
State = Running normally
Pid = 7926
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = ConfigUtilityService started.
Process= CAAMServer
State = Running normally
Pid = 7927
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = CAAMServer started.
Process= VNMServer
State = Program started - No mgt msgs received
Pid = 7928
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= WlseUHIC
State = Running normally
Pid = 7929
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= IPMOGSServer
State = Program started - No mgt msgs received
Pid = 7940
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TopoServer
State = Program started - No mgt msgs received
Pid = 7941
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= LicenseServer
State = Program started - No mgt msgs received
Pid = 7942
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServer
State = Program started - No mgt msgs received
Pid = 7946
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServiceMonitor
State = Program started - No mgt msgs received
Pid = 8205
RC = 0
Signo = 0
Start = 10/31/14 14:16:39
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EDS
State = Running normally
Pid = 8290
RC = 0
Signo = 0
Start = 10/31/14 14:16:43
Stop = Not applicable
Core = Not applicable
Info = Initialization complete
Process= ANIServer
State = Running with busy flag set
Pid = 8768
RC = 0
Signo = 0
Start = 10/31/14 14:17:14
Stop = Not applicable
Core = Not applicable
Info = ANIServer started.
Process= UTMajorAcquisition
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 10:00:00
Stop = 11/03/14 10:14:13
Core = Not applicable
Info = Application started by administrator request.
Process= EDS-GCF
State = Running normally
Pid = 8807
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = GCF Initialization complete at Fri Oct 31 14:17:53 CST 2014
Process= jrm
State = Running normally
Pid = 8808
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DataPurge
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = 10/31/14 14:19:11
Core = Not applicable
Info = DataPurge initialization completed at Fri Oct 31 14:19:11 CST 2014.
Process= IPMProcess
State = Program started - No mgt msgs received
Pid = 9155
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CTMJrmServer
State = Running normally
Pid = 9156
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = CTMJrmServer started.
Process= SyslogAnalyzer
State = Running normally
Pid = 9246
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = SyslogAnalyzerService Started at Fri Oct 31 14:18:35 CST 2014
Process= ChangeAudit
State = Program started - No mgt msgs received
Pid = 9247
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1014
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1965
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1964
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 2360
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3056
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3104
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1001
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3177
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3206
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1015
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1524
State = Program started - No mgt msgs received
Pid = 21804
RC = 0
Signo = 0
Start = 11/02/14 19:00:00
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 3306
State = Program started - No mgt msgs received
Pid = 17433
RC = 0
Signo = 0
Start = 11/03/14 11:37:17
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1005
State = Running normally
Pid = 19289
RC = 0
Signo = 0
Start = 11/03/14 12:00:00
Stop = Not applicable
Core = Not applicable
Info = 1005 started.
Process= diskWatcher
State = Program started - No mgt msgs received
Pid = 9249
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Thanks in advance for your help.
Best regards.Also when i click the alarms bar that is sitting in the bottom right i got these in DFMOGSServer.log
[ Thu Nov 06 15:25:37 CST 2014 ] ERROR com.cisco.nm.xms.ogs.kilner10.KilnerEventConsolidator makeEvent - MAKE CONSOLIDATED_DFMOGS_EVENT: 9 data:
[ Thu Nov 06 15:25:46 CST 2014 ] FATAL com.cisco.nm.xms.ogs.server.OGSServer main - Exception while OGS Server start up: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
com.cisco.nm.xms.ogs.util.OGSException: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
at com.cisco.nm.xms.ogs.server.OGSImpl.publishURN(OGSImpl.java:1396)
at com.cisco.nm.xms.ogs.server.OGSServer.main(OGSServer.java:73)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unreachable Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 9 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unmanaged Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Suspended Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 0 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
Don´t know much about databases, but it seems im missing some important tables or data -
Error in transmission with BBPSC01
I have typical problem where in
When ordered, SC created via BBPSC02 goes through without errors. But the cart that is created via BBPSC01 will have ' Error in Transmission, With an error 'SE142 please enter qunatity in line 3000111'. This error is coming from the backend in the RFC mode while debugging BBP_REQREQ_TRANSFER.
This happens only when number items in the cart are more than four, if the items were less than or equal to 4, follow on document is created even in case of BBPSC01.
We are implementing BADI for Follow-on-Document for service-category.
May I know 1.what could be the difference between these two templates.2.And where they exactly these dump the values 3. How could I go from here 4.what fields I need to look while debugging.
Input will be:
BBPSC02: User selects description item and the service button, enters the price, quantiy as 1 service unit and selects the a specific-service-Category
BBPSC01: Selects the Same category as in BBPSC02 enters the same data .
Thank you,
ManyamThank you.
This is a long code please bear with me. And provide your suggestion.
METHOD if_ex_bbp_create_req_back~fill_req_interface.
Method Parameters:
*LOGICAL_SYSTEM TYPE BBP_BACKEND_DEST-LOG_SYS OPTIONAL
*REQ_ITEMS TYPE BBP_REQ_ITEM_SPOOL
*REQ_ITEM_ACCOUNT TYPE BBP_REQ_ACCT_SPOOL
*REQ_ITEM_TEXT TYPE BBP_REQ_TEXT_SPOOL
*REQ_LIMITS TYPE BBP_REQ_LIMITS_SPOOL
*REQ_CONTRACT_LIMITS TYPE BBP_REQ_LIMITS_CONTR_SPOOL
*REQ_SERVICES TYPE BBP_REQ_SERV_SPOOL
*REQ_SERV_ACCOUNT TYPE BBP_REQ_SERV_ACC_SPOOL
*REQ_SERV_TEXT TYPE BBP_REQ_SERV_TEXT_SPOOL
*REQ_ADDRDELIVERY TYPE BBP_REQ_ADDRDELIVERY_SPOOL
This is the logic to create a Service Requisition based on a service
material group selected in the Shopping Cart. This logic is based on
SAP's standard function SPOOL_RQ_READ_BAPI_EXPORTS from which this
BADI is called.
INSERT FUNCTION SPOOL_RQ_READ_BAPI_EXPORTS TO REPROCESS DATA FOR
SERVICE SPECIAL REQUESTS. -- IOK 07/13/01
*function spool_rq_read_bapi_exports.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(REQNO) LIKE REQHEAD-REQNO
*" VALUE(REQUIS_NUMBER) LIKE BAPIEBANC-PREQ_NO
*" EXPORTING
*" VALUE(SKIP_ITEMS_WITH_ERROR) LIKE BAPIMMPARA-SELECTION
*" VALUE(LOGICAL_SYSTEM) LIKE BBP_BACKEND_DEST-LOG_SYS
*" TABLES
*" REQUISITION_ITEMS STRUCTURE BAPIEBANC
*" REQUISITION_ACCOUNT_ASSIGNMENT STRUCTURE BAPIEBKN
*" REQUISITION_ITEM_TEXT STRUCTURE BAPIEBANTX
*" REQUISITION_LIMITS STRUCTURE BAPIESUHC
*" REQUISITION_CONTRACT_LIMITS STRUCTURE BAPIESUCC
*" REQUISITION_SERVICES STRUCTURE BAPIESLLC
*" REQUISITION_SRV_ACCASS_VALUES STRUCTURE BAPIESKLC
*" RETURN STRUCTURE BAPIRETURN
*" REQUISITION_SERVICES_TEXT STRUCTURE BAPIESLLTX
*" REQUISITION_ADDRDELIVERY STRUCTURE BBPS_RQADDRDELIVERY_46
*" CONTROL_RECORD STRUCTURE BBP_CONTROL_RECORD
*" EXCEPTIONS
*" INTERNAL_ERROR
---- Data Declaration - from LBBP_BS_RQTOP -
- Header -
DATA: reqheader TYPE reqhead.
- Header services -
DATA: reqheaders TYPE reqheads.
- References -
TYPES: reqreferences_type TYPE reqref.
DATA: reqreferences TYPE STANDARD TABLE OF reqreferences_type
INITIAL SIZE 10.
DATA: l_reqreferences TYPE reqreferences_type,
x_reqreferences TYPE reqreferences_type.
- Administrative lines requirement request -
TYPES: reqlines_type TYPE reqline.
DATA: reqlines TYPE STANDARD TABLE OF reqlines_type
INITIAL SIZE 10.
DATA: l_reqlines TYPE reqlines_type.
- MRO-Lines requirement request -
TYPES: reqlinemas_type TYPE reqlinema_eci.
DATA: reqlinemas TYPE STANDARD TABLE OF reqlinemas_type
INITIAL SIZE 10.
DATA: l_reqlinemas TYPE reqlinemas_type.
- SRV-Lines requirement request -
TYPES: reqlinesrs_type TYPE bbps_reqlinesr_eci.
DATA: reqlinesrs TYPE STANDARD TABLE OF reqlinesrs_type
INITIAL SIZE 10.
DATA: l_reqlinesrs TYPE reqlinesrs_type.
- Texts requirement request -
TYPES: reqtexts_type TYPE reqtext.
DATA: reqtexts TYPE STANDARD TABLE OF reqtexts_type
INITIAL SIZE 10.
DATA: l_reqtexts TYPE reqtexts_type.
*- Delivery address
TYPES: reqaddress_type TYPE reqaddress.
DATA: reqaddress TYPE STANDARD TABLE OF reqaddress_type
INITIAL SIZE 10.
DATA: l_reqaddress TYPE reqaddress_type.
- Account assignment requirement request -
TYPES: reqaccts_type TYPE reqacct_470.
DATA: reqaccts TYPE STANDARD TABLE OF reqaccts_type
INITIAL SIZE 10.
DATA: l_reqaccts TYPE reqaccts_type.
- tablekey with the shortlife-line -
DATA: BEGIN OF shortkey,
client TYPE ec_client, "REQLINE-CLIENT,
reqno TYPE ec_reqno, "REQLINE-REQNO,
reqsline TYPE reqsline, "REQLINE-REQSLINE,
reqlline TYPE reqlline, "REQLINE-REQLLINE,
END OF shortkey.
- tablekey with the longlife-line -
DATA: BEGIN OF longkey,
client TYPE ec_client, "REQLINE-CLIENT,
reqno TYPE ec_reqno, "REQLINE-REQNO,
reqlline TYPE reqlline, "REQLINE-REQLLINE,
END OF longkey.
DATA: BEGIN OF bankey,
preq_no TYPE banfn, "BAPIEBAN-PREQ_NO,
preq_item TYPE bnfpo, "BAPIPOGN-PREQ_ITEM,
END OF bankey.
any other working fields
DATA: h_preq_item TYPE bnfpo, "BAPIEBANC-PREQ_ITEM,
h_srv_item TYPE bnfpo, "BAPIEBANC-PREQ_ITEM,
h_logsys TYPE log_system. "reqref-logical_system.
DATA: h_serial_no TYPE dzebkn. "BAPIEBKN-SERIAL_NO.
DATA: h_packno_item TYPE packno, "BAPIESLL-PCKG_NO,
h_packno_srv TYPE packno, "BAPIESLL-PCKG_NO,
h_introw TYPE srv_line_no, "BAPIESLL-LINE_NO,
h_serial_no_srv TYPE dzekkn, "BAPIESKN-SERIAL_NO,
h_srv_outl_created,
next TYPE i,
h_index LIKE sy-tabix,
h_wempf TYPE wempf. "bapiekkn-gr_rcpt.
------ End of std data declaration -
DATA: l_req_items TYPE bapiebanc,
l_req_item_account TYPE bapiebkn,
l_req_item_text TYPE bapiebantx,
l_req_limits TYPE bapiesuhc,
l_req_contract_limits TYPE bapiesucc,
l_req_services TYPE bapiesllc,
l_req_serv_account TYPE bapiesklc,
l_req_serv_text TYPE bapieslltx,
l_req_addrdelivery TYPE bbps_rqaddrdelivery_46.
DATA:
old_req_items TYPE STANDARD TABLE OF bapiebanc,
old_req_item_account TYPE STANDARD TABLE OF bapiebkn,
old_req_item_text TYPE STANDARD TABLE OF bapiebantx,
old_req_limits TYPE STANDARD TABLE OF bapiesuhc,
old_req_contract_limits TYPE STANDARD TABLE OF bapiesucc,
old_req_services TYPE STANDARD TABLE OF bapiesllc,
old_req_serv_account TYPE STANDARD TABLE OF bapiesklc,
old_req_serv_text TYPE STANDARD TABLE OF bapieslltx,
old_req_addrdelivery TYPE STANDARD TABLE OF
bbps_rqaddrdelivery_46.
DATA: l_mat_group TYPE comm_category-category_id.
DATA: f_change_required TYPE c,
f_limit_change TYPE c,
f_mat_sr_change TYPE c,
f_first_change TYPE c VALUE 'X'.
Data declaration for Shopping Cart number and PO number
DATA: reqno TYPE ec_reqno,
requis_number TYPE banfn.
DATA: l_current_item TYPE bnfpo,
line_item(5) TYPE n.
---- Begin Processing ----
DATA: l_requis_number TYPE banfn. "jms 022802
DEBUG TOOL ****** Goto SM50
*data: i type i value 1.
*while i <> 0.
i = i + 1.
*endwhile.
END DEBUG TOOL *******
Get Req Number and Shopping Cart Number
read table req_items into l_req_items index 1.
requis_number = l_req_items-preq_no.
select single reqno
into (reqno)
from reqref
where refnumber = requis_number.
read detailed data from the requirement request
call function 'BBP_REQREQ_GETDETAIL'
EXPORTING
reqno = reqno
IMPORTING
req_header = reqheader
req_header_srv = reqheaders
TABLES
req_reference = reqreferences
req_line = reqlines
req_line_mat = reqlinemas
req_line_srv = reqlinesrs
req_text = reqtexts
req_acct = reqaccts
req_address = reqaddress
EXCEPTIONS
not_found = 1
foreign_lock = 2
no_enqueue_possible = 3
others = 4.
if sy-subrc <> 0.
raise internal_error.
exit.
endif.
Begin JMS
PO_NUM = PO_HEADER-PO_NUMBER.
CMH Data declaration
TYPES: et_header TYPE bbp_pds_sc_header_d.
DATA: t_et_header TYPE STANDARD TABLE OF et_header INITIAL SIZE 0,
x_et_header TYPE et_header.
TYPES: et_item TYPE bbp_pds_sc_item_d.
DATA: t_et_item TYPE STANDARD TABLE OF et_item INITIAL SIZE 0,
x_et_item TYPE et_item.
TYPES: sc_header TYPE bbp_pds_sc_header_d.
DATA: x_sc_header TYPE sc_header.
TYPES: sc_is_pd TYPE xfeld.
DATA: l_sc_is_pd TYPE sc_is_pd.
TYPES: sc_item TYPE bbp_pds_sc_item_d.
DATA: t_sc_item TYPE STANDARD TABLE OF sc_item INITIAL SIZE 0,
x_sc_item TYPE sc_item.
TYPES: sc_account TYPE bbp_pds_acc.
DATA: t_sc_account TYPE STANDARD TABLE OF sc_account INITIAL SIZE 0,
x_sc_account TYPE sc_account.
TYPES: sc_partner TYPE bbp_pds_partner.
DATA: t_sc_partner TYPE STANDARD TABLE OF sc_partner INITIAL SIZE 0,
x_sc_partner TYPE sc_partner.
TYPES: sc_confirm TYPE bbp_pds_con.
DATA: t_sc_confirm TYPE STANDARD TABLE OF sc_confirm INITIAL SIZE 0,
x_sc_confirm TYPE sc_confirm.
TYPES: sc_longtext TYPE bbp_pds_longtext.
DATA: t_sc_longtext TYPE
STANDARD TABLE OF sc_longtext INITIAL SIZE 0,
x_sc_longtext TYPE sc_longtext.
TYPES: sc_limit TYPE bbp_pds_limit.
DATA: t_sc_limit TYPE STANDARD TABLE OF sc_limit INITIAL SIZE 0,
x_sc_limit TYPE sc_limit.
TYPES: sc_orgdata TYPE bbp_pds_org.
DATA: t_sc_orgdata TYPE
STANDARD TABLE OF sc_orgdata INITIAL SIZE 0,
x_sc_orgdata TYPE sc_orgdata.
TYPES: sc_tax TYPE bbp_pds_tax.
DATA: t_sc_tax TYPE STANDARD TABLE OF sc_tax INITIAL SIZE 0,
x_sc_tax TYPE sc_tax.
TYPES: sc_pridoc TYPE bbp_pds_prc.
DATA: t_sc_pridoc TYPE STANDARD TABLE OF sc_pridoc INITIAL SIZE 0,
x_sc_pridoc TYPE sc_pridoc.
TYPES: sc_messages TYPE bbp_pds_messages.
DATA: t_sc_messages TYPE
STANDARD TABLE OF sc_messages INITIAL SIZE 0,
x_sc_messages TYPE sc_messages.
TYPES: sc_actval TYPE bbp_pds_actval.
DATA: t_sc_actval TYPE STANDARD TABLE OF sc_actval INITIAL SIZE 0,
x_sc_actval TYPE sc_actval.
TYPES: sc_acc_actval TYPE bbp_pds_actval.
DATA: t_sc_acc_actval TYPE STANDARD TABLE OF sc_acc_actval
INITIAL SIZE 0,
x_sc_acc_actval TYPE sc_acc_actval.
TYPES: sc_header_rel TYPE bbp_pds_hrel.
DATA: t_sc_header_rel TYPE STANDARD TABLE OF sc_header_rel
INITIAL SIZE 0,
x_sc_header_rel TYPE sc_header_rel.
TYPES: sc_itmlim_rel TYPE bbp_pds_ilrel.
DATA: t_sc_itmlim_rel TYPE STANDARD TABLE OF sc_itmlim_rel
INITIAL SIZE 0,
x_sc_itmlim_rel TYPE sc_itmlim_rel.
TYPES: it_cuf_item_type TYPE bbps_cuf_item.
DATA: t_it_cuf_item TYPE STANDARD TABLE OF it_cuf_item_type
INITIAL SIZE 0,
x_it_cuf_item TYPE it_cuf_item_type.
- Contract limits -
TYPES: reqconlimits_type TYPE reqheads.
DATA: reqconlimits TYPE STANDARD TABLE OF reqconlimits_type
INITIAL SIZE 10.
DATA: l_reqconlimits TYPE reqconlimits_type.
DATA: lv_abort TYPE xfeld,
lv_is_pd TYPE xfeld,
lv_deliv_date LIKE sy-datum,
lv_tabix LIKE sy-tabix,
lv_line TYPE introw,
lv_msarg TYPE char200,
lv_sc_guid TYPE bbp_pdview_iap-header,
lv_req_guid TYPE bbp_pdview_iap-header.
DATA: x_requis_number TYPE bapiebanc.
IF NOT req_items[] IS INITIAL.
CLEAR l_requis_number.
READ TABLE req_items INTO x_requis_number INDEX 1.
l_requis_number = x_requis_number-preq_no.
requis_number = x_requis_number-preq_no.
ENDIF.
Get PO Guid from Backend Table.
SELECT SINGLE guid
INTO lv_req_guid
FROM bbp_pdbei
WHERE be_object_id = l_requis_number
AND be_object_type = 'BUS2105'.
Get Shopping Cart Guid from PO Guid
SELECT SINGLE header
INTO lv_sc_guid
FROM bbp_pdview_iap
WHERE guid = lv_req_guid.
Get detail from shopping cart
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
EXPORTING
i_guid = lv_sc_guid
i_with_itemdata = 'X'
IMPORTING
e_header = x_sc_header
ev_is_pd = l_sc_is_pd
TABLES
e_item = t_sc_item
e_account = t_sc_account
e_partner = t_sc_partner
e_confirm = t_sc_confirm
e_longtext = t_sc_longtext
e_limit = t_sc_limit
e_orgdata = t_sc_orgdata
e_tax = t_sc_tax
e_pridoc = t_sc_pridoc
e_messages = t_sc_messages
e_actval = t_sc_actval
e_acc_actval = t_sc_acc_actval
e_header_rel = t_sc_header_rel
e_itmlim_rel = t_sc_itmlim_rel.
lv_is_pd = l_sc_is_pd.
message handling
IF NOT t_sc_messages[] IS INITIAL.
CALL FUNCTION 'BBP_BS_ADD_MESSAGES'
IMPORTING
ev_abort = lv_abort
TABLES
it_messages = t_sc_messages.
ENDIF.
if error occured set alert/ exception.
IF NOT lv_abort IS INITIAL.
CALL FUNCTION 'BBP_ALERT_SB_LOCAL'
EXPORTING
msgid = 'BBP_PD'
msgno = 280
msgarg1 = lv_msarg
EXCEPTIONS
invalid_parameters = 1
OTHERS = 2.
RAISE internal_error.
ENDIF.
map shopping cart in new structure into old structure to be able
to continue with the old coding
REFRESH t_sc_messages.
CALL FUNCTION 'BBP_SC_MAP_PD_TO_REQ'
EXPORTING
is_new_header = x_sc_header
IMPORTING
es_reqhead = reqheader
es_req_heads = reqheaders
es_cuf_header = is_cuf_header
TABLES
et_req_reference = reqreferences
et_req_line = reqlines
et_req_line_mat = reqlinemas
et_req_line_srv = reqlinesrs
et_req_text = reqtexts
et_req_acct = reqaccts
et_req_address = reqaddress
et_req_conlimit = reqconlimits
it_new_items = t_sc_item
it_account = t_sc_account
it_partner = t_sc_partner
it_longtext = t_sc_longtext
it_limit = t_sc_limit
it_orgdata = t_sc_orgdata
it_tax = t_sc_tax
it_actval = t_sc_actval
it_itmlim_rel = t_sc_itmlim_rel
et_messages = t_sc_messages.
et_cuf_item = it_cuf_item
et_cuf_acc = it_cuf_acc.
IF NOT t_sc_messages[] IS INITIAL.
message handling
CALL FUNCTION 'BBP_BS_ADD_MESSAGES'
IMPORTING
ev_abort = lv_abort
TABLES
it_messages = t_sc_messages.
ENDIF.
if error occured set alert/ exception.
IF NOT lv_abort IS INITIAL.
CALL FUNCTION 'BBP_ALERT_SB_LOCAL'
EXPORTING
msgid = 'BBP_PU'
msgno = 326
msgarg1 = lv_msarg
EXCEPTIONS
invalid_parameters = 1
OTHERS = 2.
RAISE internal_error.
ENDIF.
End insert 03/26/2003
ReqReferences doesn't list the PO item number. We'll need that to
associate the WBS to a Service Sub Item later. Let's put it in.
SORT reqreferences BY client refnumber reqlline.
LOOP AT reqreferences INTO x_reqreferences.
IF x_reqreferences-refline IS INITIAL.
IF l_requis_number = x_reqreferences-refnumber. "jms 022802
ADD 1 TO line_item.
ELSE.
l_requis_number = x_reqreferences-refnumber. "jms 022802
line_item = 1.
ENDIF.
Accumulate the line item
x_reqreferences-refline = line_item.
MODIFY reqreferences FROM x_reqreferences INDEX sy-tabix.
ENDIF.
ENDLOOP.
SORT reqlines BY client reqno reqlline.
SORT reqreferences BY client reqno reqlline counter.
SORT reqlinemas BY client reqno reqsline reqlline.
SORT reqlinesrs BY client reqno reqsline reqlline.
SORT reqaccts BY client reqno reqlline serial_no. " note 359605
CLEAR: h_preq_item.
CLEAR: h_srv_item, h_srv_outl_created,
h_packno_item, h_packno_srv, h_introw.
First, the Shopping Cart number should be extracted from REQREF table
based on the Req number.
take all items with the specific reference number
LOOP AT reqreferences
INTO l_reqreferences "iok 091701
WHERE refnumber EQ requis_number.
if logical_system is initial.
logical_system = l_reqreferences-logical_system.
endif.
MOVE-CORRESPONDING l_reqreferences TO longkey.
read table reqlines with key longkey binary search.
READ TABLE reqlines INTO l_reqlines "iok 091701
WITH KEY client = longkey-client
reqno = longkey-reqno
reqlline = longkey-reqlline
BINARY SEARCH.
CHECK sy-subrc EQ 0.
h_preq_item = l_reqlines-reqsline+5(5).
clear h_preq_item.
Change line_type based on Material Group
add code here later.
CLEAR: f_change_required,
f_mat_sr_change,
f_limit_change.
SELECT SINGLE category_id
INTO l_mat_group
FROM comm_category
WHERE category_guid = l_reqlines-category.
Check if Services Special Request
IF l_reqlines-catalogid IS INITIAL AND
l_reqlines-product IS INITIAL AND
l_mat_group(1) = 'S' AND
l_reqlines-line_type = '1'. "Service Special Request
Set flags for future processing
l_reqlines-line_type = '3'.
f_change_required = 'X'.
f_limit_change = 'X'.
Check if Material Special Request
ELSEIF l_reqlines-catalogid IS INITIAL AND
l_reqlines-product IS INITIAL AND
l_mat_group(1) <> 'S' AND
l_reqlines-line_type = '1'. "Material Special Request
Set flags for future processing
f_change_required = 'X'.
f_mat_sr_change = 'X'.
ENDIF.
CHECK f_change_required = 'X'.
For Material Special Requests only need to select and store UNSPSC
code -- iok 092401
IF f_mat_sr_change = 'X'.
Get UNSPSC code (first hit) based on Material Group and store
in text id B05. iok 092101
READ TABLE req_items INTO l_req_items
WITH KEY preq_item = h_preq_item
mat_grp = l_mat_group.
READ TABLE req_item_text INTO l_req_item_text
WITH KEY preq_no = requis_number
preq_item = l_req_items-preq_item
text_id = 'B05'.
IF sy-subrc <> 0.
CLEAR l_req_item_text.
Find a UNSPSC Code from a Material Group .. even it's arbitrary
SELECT unspsc_code UP TO 1 ROWS
FROM zxl8_category_id
INTO l_req_item_text-text_line
WHERE category_id = l_mat_group.
ENDSELECT.
If nothing found then fill in a dummy UNSPSC. The first
letter of the Material will designate whether it's a Material
or Service.
IF sy-subrc NE 0.
Move the Material Group value into a holding variable
CONCATENATE l_mat_group(1) 'XXXXXXXX'
INTO l_req_item_text-text_line.
ENDIF.
l_req_item_text-preq_no = requis_number.
l_req_item_text-preq_item = l_req_items-preq_item.
l_req_item_text-text_id = 'B05'.
INSERT l_req_item_text INTO TABLE req_item_text.
ENDIF.
CONTINUE. "to next item.
ENDIF.
IF f_first_change = 'X' AND f_limit_change = 'X'.
Save old P.Req. data and clear tables
old_req_items[] = req_items[].
old_req_item_account[] = req_item_account[].
old_req_item_text[] = req_item_text[].
old_req_limits[] = req_limits[].
old_req_contract_limits[] = req_contract_limits[].
old_req_services[] = req_services[].
old_req_serv_account[] = req_serv_account[].
old_req_serv_text[] = req_serv_text[].
old_req_addrdelivery[] = req_addrdelivery[].
REFRESH: req_items,
req_item_account,
req_item_text,
req_limits,
req_contract_limits,
req_services,
req_serv_account,
req_serv_text.
req_addrdelivery.
CLEAR f_first_change.
ENDIF.
Limit
IF l_reqlines-line_type EQ '3'.
and not reqheaders-limit is initial.
DATA: l_reqreferences_temp TYPE reqreferences_type.
+JMS 2/26/2002
CLEAR l_reqreferences_temp.
READ TABLE reqreferences INTO l_reqreferences_temp
WITH KEY client = longkey-client
reqno = longkey-reqno
reqlline = longkey-reqlline
BINARY SEARCH.
IF sy-subrc = 0.
h_preq_item = l_reqreferences_temp-refline.
ENDIF.
CLEAR l_req_items.
READ TABLE old_req_items INTO l_req_items
WITH KEY preq_item = h_preq_item.
MOVE-CORRESPONDING l_req_items TO reqheaders.
reqheaders-begdate = l_req_items-deliv_date.
reqheaders-limit = l_req_items-c_amt_bapi.
reqheaders-exp_value = l_req_items-c_amt_bapi.
reqheaders-gr_ind = 'X'.
reqheaders-reqno = l_req_items-preq_no. "jms 022602
CLEAR l_req_items.
INSERT FORM **** CREATE_SERVICE_ITEM
h_packno_item = h_packno_item + 1.
h_packno_srv = h_packno_srv + 10000.
h_introw = h_introw + 1.
CLEAR l_req_items. " Note 364396
MOVE-CORRESPONDING reqheaders TO l_req_items.
l_req_items-preq_no = reqheaders-reqno. "jms 022602
l_REQ_ITEMS-PREQ_NO = REQUIS_NUMBER. "jms 022602
l_REQ_ITEMS-PREQ_ITEM = H_PREQ_ITEM + 1. "iok 091801
l_req_items-preq_item = h_preq_item. "iok 091801
l_current_item = h_preq_item. "iok 092101
h_srv_item = l_req_items-preq_item.
h_preq_item = h_preq_item + 1.
IF NOT reqheaders-limit IS INITIAL OR
NOT reqheaders-exp_value IS INITIAL.
IF reqheaders-gr_ind IS INITIAL.
l_req_items-item_cat = '1'.
ELSE.
l_req_items-item_cat = '9'.
ENDIF.
l_req_items-deliv_date = reqheaders-begdate.
ELSE.
l_req_items-item_cat = '9'.
ENDIF.
IF l_req_items-del_datcat IS INITIAL.
l_req_items-del_datcat = '1'.
ENDIF.
l_req_items-quantity = 1.
l_req_items-pckg_no = h_packno_item.
IF l_req_items-preq_name EQ space.
l_req_items-preq_name = sy-uname.
ENDIF.
APPEND l_req_items TO req_items.
END OF FORM INSERTION ********
l_req_limits-pckg_no = h_packno_item.
l_req_limits-limit = reqheaders-limit.
l_req_limits-exp_value = reqheaders-exp_value.
l_req_limits-no_limit = reqheaders-no_limit.
l_req_limits-no_frlimit = 'X'.
APPEND l_req_limits TO req_limits.
*.... Account assignment
clear requisition_srv_accass_values.
CLEAR l_req_serv_account.
l_req_serv_account-pckg_no = h_packno_item.
MOVE-CORRESPONDING l_reqlines TO longkey.
read table reqaccts with key longkey binary search. "iok 091801
READ TABLE reqaccts INTO l_reqaccts "iok 091801
WITH KEY client = longkey-client
reqno = longkey-reqno
reqlline = longkey-reqlline
BINARY SEARCH.
IF sy-subrc = 0.
LOOP AT reqaccts
INTO l_reqaccts
WHERE reqno = l_reqreferences-reqno
AND reqlline = l_reqreferences-reqlline.
INSERT FULL FORM *********** FILL_REQ_ACCT_SRV
DATA: acctcomp1 TYPE bapiebkn,
acctcomp2 TYPE bapiebkn,
high_serial TYPE dzekkn. "LIKE BAPIEKKN-SERIAL_NO.
CLEAR l_req_serv_account-serial_no.
CLEAR acctcomp1.
MOVE-CORRESPONDING l_reqaccts TO acctcomp1.
CLEAR: acctcomp1-preq_no,
acctcomp1-preq_item,
acctcomp1-serial_no,
acctcomp1-created_on,
acctcomp1-created_by,
acctcomp1-preq_qty,
acctcomp1-distr_perc,
acctcomp1-change_id,
acctcomp1-currency.
LOOP AT req_item_account INTO l_req_item_account.
CLEAR acctcomp2.
MOVE-CORRESPONDING l_req_item_account TO ACCTCOMP2. "is blank
CLEAR: acctcomp2-preq_no,
acctcomp2-preq_item,
acctcomp2-serial_no,
acctcomp2-created_on,
acctcomp2-created_by,
acctcomp2-preq_qty,
acctcomp2-distr_perc,
acctcomp2-change_id,
acctcomp2-currency.
IF acctcomp1 EQ acctcomp2 AND h_srv_outl_created IS INITIAL.
l_req_serv_account-serial_no = l_req_item_account-serial_no.
EXIT.
ENDIF.
high_serial = l_req_item_account-serial_no.
ENDLOOP.
h_srv_outl_created = ' '.
IF l_req_serv_account-serial_no IS INITIAL.
MOVE-CORRESPONDING l_reqaccts TO l_req_item_account.
l_REQ_item_ACCOUNT-PREQ_NO = REQUIS_NUMBER. "jms 022702
l_req_item_account-preq_no = l_req_items-preq_no."jms 022702
l_req_item_account-preq_item = h_srv_item.
REQUISITION_ACCOUNT_ASSIGNMENT-WBS_ELEM_E = REQACCT-BBP_PROJECT.
l_req_item_account-serial_no = high_serial + 1.
l_req_serv_account-serial_no = l_req_item_account-serial_no.
APPEND l_req_item_account TO req_item_account.
ENDIF.
END OF FORM INSERTION ***********
h_serial_no = h_serial_no + 1.
l_req_serv_account-serno_line = h_serial_no.
l_req_serv_account-percentage = l_reqaccts-distr_perc.
APPEND l_req_serv_account TO req_serv_account.
ENDLOOP.
INSERT FULL FORM **************** CONVERT_ACCOUNT_***_CAT
data: account_tab LIKE bbp_pds_acc OCCURS 0 WITH HEADER LINE.
DATA: account_tab TYPE STANDARD TABLE OF bbp_pds_acc.
DATA: l_account_tab TYPE bbp_pds_acc.
DATA: h_knttp TYPE knttp.
move the accounting data to that item into the interface table
LOOP AT reqaccts
INTO l_reqaccts
WHERE reqno EQ l_reqreferences-reqno
AND reqlline EQ l_reqreferences-reqlline.
MOVE-CORRESPONDING l_reqaccts TO l_account_tab.
APPEND l_account_tab TO account_tab.
ENDLOOP.
call the convert API
CALL FUNCTION 'BBP_ACCCAT_MAP_EXP'
EXPORTING
i_logical_system = logical_system
IMPORTING
e_r3_acc_cat = h_knttp
TABLES
i_pd_account = account_tab.
IF h_knttp IS INITIAL.
h_knttp = 'X'.
ENDIF.
+JMS 2/14/2002 Issue #1590
CLEAR account_tab.
REFRESH account_tab.
account assignment category - set in the correct item
LOOP AT req_items
INTO l_req_items
WHERE preq_item EQ l_req_item_account-preq_item.
l_req_items-acctasscat = h_knttp.
MODIFY req_items FROM l_req_items INDEX sy-tabix.
ENDLOOP.
END OF FORM INSERTION ************
ELSE.
INSERT FULL FORM ************* Form CONVERT_ACCOUNT_***_CAT_U
LOOP AT req_items
INTO l_req_items
WHERE preq_item EQ l_current_item.
l_req_items-acctasscat = 'U'.
MODIFY req_items FROM l_req_items INDEX sy-tabix.
ENDLOOP.
END OF FORM INSERTION ************
ENDIF.
Get UNSPSC code (first hit) based on Material Group and store
in text id B05. iok 092101
READ TABLE req_items INTO l_req_items
WITH KEY preq_item = l_current_item
mat_grp = l_mat_group.
READ TABLE req_item_text INTO l_req_item_text
WITH KEY preq_no = requis_number
preq_item = l_req_items-preq_item
text_id = 'B05'.
IF sy-subrc <> 0.
CLEAR l_req_item_text.
Get UNSPSC Code from Material Group .. even if arbitrary
SELECT unspsc_code UP TO 1 ROWS
FROM zxl8_category_id
INTO l_req_item_text-text_line
WHERE category_id = l_mat_group.
ENDSELECT.
If nothing found then fill in a dummy UNSPSC. The first
letter of the Material will designate whether it's a Material
or Service.
IF sy-subrc NE 0.
Move the Material Group value into a holding variable
CONCATENATE l_mat_group(1) 'XXXXXXX'
INTO l_req_item_text-text_line.
ENDIF.
l_req_item_text-preq_no = requis_number.
l_req_item_text-preq_item = l_req_items-preq_item.
l_req_item_text-text_id = 'B05'.
INSERT l_req_item_text INTO TABLE req_item_text.
ENDIF.
Don't send Internal Note to Backend
delete req_item_text where text_id = 'B02'.
Service -- NOT NEEDED -- IOK 07/13/01
elseif not reqlines-reqsline is initial
and reqlines-line_type eq '2'.
move-corresponding reqlines to shortkey.
read table reqlinesrs with key shortkey binary search.
if sy-subrc = 0.
h_serv = reqlinesrs.
append h_serv.
endif.
material item -- NOT NEEDED -- IOK 07/13/01
ENDIF.
ENDLOOP.
Services -- NOT NEED -- IOK 07/13/01
IF f_limit_change = 'X'.
Check multiple account assignment
LOOP AT req_items INTO l_req_items.
h_index = sy-tabix.
CLEAR next.
LOOP AT req_item_account
INTO l_req_item_account
WHERE preq_item EQ l_req_items-preq_item.
next = next + 1.
ENDLOOP.
IF next > 1.
l_req_items-distrib = '2'. "prozentuale Verteilung
l_req_items-part_inv = '1'.
l_req_items-gr_non_val = 'X'.
MODIFY req_items FROM l_req_items INDEX h_index. "217191
modify requisition_items. "217191
ENDIF.
ENDLOOP.
ENDIF.
Remap delivery address for backend processing
LOOP AT req_addrdelivery INTO l_req_addrdelivery.
MOVE: l_req_addrdelivery-name_2 TO l_req_addrdelivery-name,
l_req_addrdelivery-c_o_name TO l_req_addrdelivery-name_2.
CLEAR: l_req_addrdelivery-c_o_name.
MODIFY req_addrdelivery FROM l_req_addrdelivery INDEX sy-tabix.
ENDLOOP.
CHM 07/16/2003 Changed created by to always be actual creator even
for on behalf of situations
LOOP AT req_items
INTO l_req_items.
l_req_items-created_by = x_sc_header-created_by.
MODIFY req_items FROM l_req_items INDEX sy-tabix.
ENDLOOP.
CMH - end change
MA 12/10/04 - Pass MP2 number from Manu Prod# to Req Item Text
LOOP AT req_items INTO l_req_items.
READ TABLE t_sc_item into x_sc_item
WITH KEY number_int = l_req_items-preq_item.
l_req_item_text-preq_no = requis_number.
l_req_item_text-preq_item = l_req_items-preq_item.
l_req_item_text-text_id = 'B06'.
l_req_item_text-text_line = x_sc_item-manu_prod.
INSERT l_req_item_text INTO TABLE req_item_text.
ENDLOOP.
ENDMETHOD. -
Movement type 122 Error while GI" Update control of movement type is incorr
Hai Gurus,
I am having an errow when doing a GI thru movement type 122. i am getting this error message " Update control of movement type is incorrect (entry 122 X X)" Can any one help me how to fix this.
I did this transaction using MIGO_GI and selecting Goods issued and other as the options with 122 as movement type.
warm regards.
mahesh.Hi
Mov type 122 is return to vendor if the qualtiy of Goods is Poor / Quality
Regatds
AKM -
Error 43 when trying to export movie to image sequence
Hello, I'm trying to export a movie to image sequence. I did this successfully on our other xp machine but am getting an error 43 message with this one. I have searched online and on the forums and can't find a solution. Help would be appreciated.
Thanks,
SharonJenny, the solution for me was to save to the desktop. I can export when I save there.
Sharon -
Error when working with TableView using JCA
Hi sdns,
I am getting an iview rutnime error when working with Tableview using JCA. Here i am putting all my code, go thorugh it and tell me if any error is there.One more thing is Usermappping and all properties are set to system object.
Now you can throught he code which is followed by error also.
<u>Java file.</u>
public class DisplayComponent extends PageProcessorComponent {
public DynPage getPage() {
return new DisplayComponentDynPage();
public static class DisplayComponentDynPage extends JSPDynPage {
private JCATviewBean bean;
public void doInitialization() {
IPortalComponentProfile profile =
((IPortalComponentRequest) getRequest())
.getComponentContext()
.getProfile();
Object o = profile.getValue("myBean");
if (o == null || !(o instanceof JCATviewBean)) {
bean = new JCATviewBean();
profile.putValue("myBean", bean);
} else {
bean = (JCATviewBean) o;
// fill your bean with data here...
IPortalComponentRequest request =
(IPortalComponentRequest) this.getRequest();
doJca(request);
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
this.setJspName("Report.jsp");
private IConnection getConnection(
IPortalComponentRequest request,
String alias)
throws Exception {
IConnectorGatewayService cgService =
(IConnectorGatewayService) PortalRuntime
.getRuntimeResources()
.getService(
IConnectorService.KEY);
ConnectionProperties prop =
new ConnectionProperties(
request.getLocale(),
request.getUser());
return cgService.getConnection(alias, prop);
public void doJca(IPortalComponentRequest request) {
IConnectionFactory connectionFactory = null;
IConnection client = null;
String rfm_name = "BAPI_COMPANYCODE_GETLIST";
try {
try {
// pass the request & system alias
// Change the alias to whatever the alias is for your R/3 system
client = getConnection(request, "MyIDES");
} catch (Exception e) {
System.out.println(
"Couldn't establish a connection with a target system.");
return;
Start Interaction
IInteraction interaction = client.createInteractionEx();
IInteractionSpec interactionSpec =
interaction.getInteractionSpec();
interactionSpec.setPropertyValue("Name", rfm_name);
CCI api only has one datatype: Record
RecordFactory recordFactory = interaction.getRecordFactory();
MappedRecord importParams =
recordFactory.createMappedRecord(
"CONTAINER_OF_IMPORT_PARAMS");
IFunctionsMetaData functionsMetaData =
client.getFunctionsMetaData();
IFunction function = functionsMetaData.getFunction(rfm_name);
if (function == null) {
System.out.println(
"Couldn't find " + rfm_name + " in a target system.");
return;
How to invoke Function modules
System.out.println("Invoking... " + function.getName());
MappedRecord exportParams =
(MappedRecord) interaction.execute(
interactionSpec,
importParams);
How to get structure values
IRecord exportStructure = (IRecord) exportParams.get("RETURN");
String columnOne = exportStructure.getString("TYPE");
String columnTwo = exportStructure.getString("CODE");
String columnThree = exportStructure.getString("MESSAGE");
System.out.println(" RETURN-TYPE = " + columnOne);
System.out.println(" RETURN-CODE = " + columnTwo);
System.out.println(" RETURN-MESSAGE =" + columnThree);
How to get table values
IRecordSet exportTable =
(IRecordSet) exportParams.get("COMPANYCODE_LIST");
exportTable.beforeFirst();
// Moves the cursor before the first row.
while (exportTable.next()) {
String column_1 = exportTable.getString("COMP_CODE");
String column_2 = exportTable.getString("COMP_NAME");
System.out.println(
" COMPANYCODE_LIST-COMP_CODE = " + column_1);
System.out.println(
" COMPANYCODE_LIST-COMP_NAME = " + column_2);
// create the tableview mode in the bean
bean.createData(exportTable);
Closing the connection
client.close();
} catch (ConnectorException e) {
// app.putValue("error", e);
System.out.println("Caught an exception: \n" + e);
} catch (Exception e) {
System.out.println("Caught an exception: \n" + e);
<u>Bena file</u>
package com.sap.JCA.bean;
import java.util.Vector;
import com.sapportals.connector.execution.structures.IRecordSet;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.table.TableViewModel;
public class JCATviewBean {
public DefaultTableViewModel model;
public TableViewModel getModel() {
return this.model;
public void setModel(DefaultTableViewModel model) {
this.model = model;
public void createData(IRecordSet table) {
// this is your column names
Vector column = new Vector();
column.addElement("Company Code");
column.addElement("Company Name");
// all this logic is for the data part.
Vector rVector = new Vector();
try {
table.beforeFirst();
while (table.next()) {
Vector data = new Vector();
data.addElement(table.getString("COMP_CODE"));
data.addElement(table.getString("COMP_NAME"));
rVector.addElement(data);
} catch (Exception e) {
e.printStackTrace();
// this is where you create the model
this.setModel(new DefaultTableViewModel(rVector, column));
<b>JSP File:</b>
<%@ taglib uri="tagLib" prefix="hbj" %>
<jsp:useBean id="myBean" scope="application" class="com.sap.JCA.bean.JCATviewBean" />
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
<br>
<hbj:textView id = "tv1" text = "<b>TableView Example Using JCA</b> <br>"/>
<hbj:tableView
id="myTableView1"
model="myBean.model"
design="ALTERNATING"
headerVisible="true"
footerVisible="true"
fillUpEmptyRows="true"
navigationMode="BYLINE"
selectionMode="MULTISELECT"
headerText="TableView example1"
visibleFirstRow="1"
visibleRowCount="30"
width="500 px"
/>
</hbj:form>
</hbj:page>
</hbj:content>
<b>Error when Executing this component:</b><u></u>
Portal Runtime Error
<b>An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com/sapportals/portal/htmlb/page/PageProcessorComponent.
Exception id: 12:21_28/10/05_0173_94105150
See the details for the exception ID in the log file</b>
If anybody find the error please reply to this post.
Regards,
sireesha.Thanks for your response Martin,
I have already seen the log file but im couldn't findout anything from that since it is so long here im putting some part of please see this.if u able to find it clarify me,
<b>Here the log file:</b>
1.5#001321FD6213005D0000907100001CB000040419258FBF4E#1130405957843#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907200001CB00004041925916735#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907300001CB0000404192591688D#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
#1.5#001321FD621300650000120E00001CB00004041925C953D7#1130405961625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
#1.5#001321FD6213005D0000907400001CB000040419275B24FC#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
#1.5#001321FD6213005D0000907500001CB000040419275B25D9#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907600001CB000040419275B2E27#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907700001CB000040419275B2EFA#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
#1.5#001321FD6213005D0000907800001CB0000404192924ED59#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
#1.5#001321FD6213005D0000907900001CB0000404192924EE36#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907A00001CB0000404192924F652#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907B00001CB0000404192924F710#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
#1.5#001321FD621300650000120F00001CB000040419295CCD8B#1130406021625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
#1.5#001321FD6213005D0000907C00001CB0000404192AEEB1E2#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
#1.5#001321FD6213005D0000907D00001CB0000404192AEEB2C0#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
#1.5#001321FD6213005D0000907E00001CB0000404192AEEBAD8#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
#1.5#001321FD6213005D0000907F00001CB0000404192AEEBB9E#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job# -
Error - do not had permission to move Project to trash
I am trying to delete a surplus (command: move project to trash) project from Final Cut Pro X and each time am told that I do not have permission to move the file 'name' to the trash. It then tells me to select the item in the finder and choose File - Get info - and change permissions. I have permission to read and write in that folder and all sub-folders. I have repaired permissions and am still getting the error. I also tried to move the project in the Finder to another folder. It will only copy it to the new folder - not move it. Is anyone else having this problem? I will say that I did a quick test project with multiple layers, picture in picture, Ken Burns,Templates from Motion, key frames, everything that I could think of to throw at it and burned to blu-ray -- turned out beautiful. Just wish I could clean up the project folder!
BettyI had gotten rid of the project by deleting it from the Finder. Thanks for your reply. Deleting from the Finder seemed to be the only choice. I am the only user on the machine and the project is on the boot disk. I have one project that is movable from within FCPX and one remaining that isn't. They were created about the same time. Possibly the frequent crashing of FCPX has caused some corruption. Hopefully, updates will follow soon.
-
Seperate MVT 521/522 from 201/202 to different number range of mate. doc
The requirement is to seperate movement type 521/522 and 201/202.
SAP is set both the transaction/event type: WA. (GI, Transfer Posting,Other GR)
Is there any way to seperate these two kinds of movement to different material document number range?
I tried to find a enhancement to fulfill this requirement, but I've not found an appropriate one.
Any reply might be helpful. Please advise.
Thanks.As per my knowledge SAP have set this document type for material doc hard coded and have given any posiblity to change this and set the number range
logic is that those are internal document and there are many report where u can find document numbers according to movement type
i think sap have given some flexiblity in accounting doc number but not for material document number
hope this helps
Maybe you are looking for
-
Specifying the filename for outbound FTP transport in OSB
I want an OSB based service that will send via FTP a file with a specific name to a remote ftp location. It appears OSB can't do this because the FTP transport on a business service only allows you to specify the prefix and suffix and then generates
-
I am trying to write my first EJB Three Entity and Session bean Project. I cannot get it to find the javax.persistence package and the EntityManager class. I am using the Elvis Meets GlassFish Tutorial by Cay S. Horstmann (www.horstmann.com/elvis/elv
-
I have bought iphone4 in paris
I have bought iphone4 in paris. I have problem with home button. Now i am in India. How can i get it repaired.
-
Make a component invisible after all tabs in a tabbed pane are closed
Hi, I am using a tabbed pane and open images in tabs. I want to disable a comonent after i find all the tabs of the tabbed pane closed and when all the tabs are closed the tab pane should also be closed. Please help me.
-
Hello We have an application that is spawned by a windows batch file. We are using JDK 1.5 update 10 on Windows 64 bit AMD platform. While the program is running we see it abruptly exit with an exit code of 143. There are no exceptions - nothing at a