Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

get runtime data of cj20n tcode.

former_member219850
Participant
0 Likes
1,431

Hi team,

I want all the data of settlement rule of tcode cj20n when we press save button.

How can i achieve this.??

user will just make a minor change at any level of project.

I want it because at the background i am generating idoc, based on the settlement rule data which is currently present in all wbs element.

5 REPLIES 5
Read only

former_member219850
Participant
0 Likes
1,116

Please help

Read only

ThomasZloch
Active Contributor
0 Likes
1,116

Vaguely remember that settlement rules are in COBRA, COBRB tables.

For finding out yourself use multi tool ST12 -> ABAP and SQL trace combined. SQL summary will list all tables accessed during trace runtime.

Find more info by searching "SAP ST12 blog".

Read only

0 Likes
1,116

Hi Thomas,

Thank you for your reply..

I want all runtime settlement rule data which is not accessed to display or edit.

Means i will not visit the settlement rule screen, but still is want the previously entered data or runtime data inputs.

Thanks,
Darshan

Read only

NTeunckens
Active Contributor
0 Likes
1,116

As thomas.zloch#overview suggested, fetch the COBRA and COBRB values based on the WBS-Object (PRPS-OBJNR) ...

Read only

former_member219850
Participant
0 Likes
1,116

Hi all,

Thanks for you inputs.

i have found the solution by myself.

I will get all the existing rules from database & if user goes to individual settlement rule then that data is available in (SAPLKOBS)GT_COBRA_BUF[] & (SAPLKOBS)GT_COBRB_BUF[].

Thanks,

Darshan