cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug POWL, SRM Confirmations pending purchase orders

bhakti2
Active Participant
0 Kudos

hi

the issue is that the 'Confirmations Pending' POWL query is not showing accurate results

we are on SRM 7.0 . for purchasing tab - purchasing - Comfirmations Pending . fully confirmed POs are also shown in the list

i checked that list of properly refreshed,
i checked for multiple users
im trying to check for Badi BBP_WF_LIST, but cant figure out. Powl doesnt seem to call this badi. it doesnt stop at breakpoint. 
infact if breakpoint on cl_Exithandler then also doesnt stop

how do i know how to configure POWL?
I am raising with SAP
but question is, how do i debug the code of this Powl query ?

i used to figure out code of SRM frontend in two ways - make it stop at cl_exithandler and then do F7 and come to actual code OR right click on screen and get webdynpro componenet, view name and put breakpoint and debug
niether of these methods is working here. cant figure out code..........

any input will be useful

thanks

bhakti

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Bhakti,

Go to POWL_COCKPIT.

Select your POWL Application.

Select the POWL Query, get the POWL type registered with that query.

From the POWL type you will get POWL feeder class.

You will have to debug this class.

The logic to fetch data is written in method ''GET_OBJECTS.

Let me know if you get stuck anywhere.

bhakti2
Active Participant
0 Kudos

hi hitesh

thanks

i select std POWL radio button

i canot figure out the name of my POWL application

im trying to find from frontend screen again.

i got below technical data , im trying to debug

is ther any way to find the POWL application name ?

thanks

bhakti

Application

Application: POWL

Application Configuration: /SAPSRM/WDA_POWL

Application Component: BC-MUS-POW

Start Component

Component: POWL_UI_COMP

Component Configuration: /SAPSRM/POWL_CONFIG

Application Component: BC-MUS-POW

        

Current View

Component: POWL_UI_COMP

Component Configuration: /SAPSRM/POWL_CONFIG

Window: POWL_MASTER

View: MASTER_CONTENT

Application Component: BC-MUS-POW

Former Member
0 Kudos

Go to technical help.

In application parameters check the value for 'APPLID'.

bhakti2
Active Participant
0 Kudos

hi

ididnt get mail noitification of yr post so didnt know you replied

I check the APPLID like you said

and for following

application    SAPSRM_OP_PURCHASING

Query ID        SAPSRM_OP_PURCHASING_03_06

POWL Type ID    SAPSRM_FEEDER_PO

followng your steps -

Go to POWL_COCKPIT.

Select your POWL Application. === SAPSRM_OP_PURCHASING

Select the POWL Query, get the POWL type registered with that query.

=== SAPSRM_OP_PURCHASING_03_06 , SAPSRM_FEEDER_PO

From the POWL type you will get POWL feeder class. === how to get ?

You will have to debug this class.

The logic to fetch data is written in method ''GET_OBJECTS.

from initial screen of Powl_cockpit, i got list of three feeder classes

CL_PLM_AUDIT_ACTION_POWL

CL_PLM_AUDIT_QUEST_POWL

CL_POWL_EASY_DEMO

i tried putting breakpoint in get_objects method of all three above but they were not called

thanks

bhakti

bhakti2
Active Participant
0 Kudos

hi Hitesh

is there a way to run this query from backend ? so i can try to debug using /h

i think its not possible to run from backend, wanted to confirm

is there any other place from where we can confirm that particular PO is fully confirmed ?

some std function module etc ?

thanks

bhakti

Former Member
0 Kudos

I guess you have reached till getting POWL Query?

Now Select the query and click on maintain query.

Here you will get POWL type.

Once you have POWL type go back to the 1st screen.

Click on maintain POWL type.

Now select the POWL type from the list and click on display.

Here you will get POWL feeder class.

Similarly get the feeder class for all the powl types.

Former Member
0 Kudos

Sorry,I work on HCM now and dont remember much about PO

bhakti2
Active Participant
0 Kudos

hi Hitesh

thank you verrry much

I got the feeder class

and i put breakpoint on constructor method and GET_OBJECTS and GET_Actions

but its not calling Get_objects at all

it has to necesarily call get_objects right ??

still checking

thanks

bhakti2
Active Participant
0 Kudos

hi hitesh

i get a message

Method IF_POWL_FEEDER~GET_OBJECTS is implemented

in class /SAPSRM/CL_CLL_POWL_BASE_AGENT

(when i try to navigate in the feeder class /SAPSRM/CL_CLL_PWL_A_PO )

but then it shud call get_object method of the class /SAPSRM/CL_CLL_POWL_BASE_AGENT right?

thanks

bhakti

Former Member
0 Kudos

Yes, u r right.

Is ur debugger not stoping in the feeder?

Check if it stops in any other methods atleast.

bhakti2
Active Participant
0 Kudos

its stopping at constructor and get_Actions .

i see another thread for this feeder class, where also they have written it doesnt get debugged

https://scn.sap.com/thread/1933754

checking.........

Answers (0)