cancel
Showing results for 
Search instead for 
Did you mean: 

Current ITEM GUID and ACC details

Former Member
0 Kudos

Hi Friends,

Is there a way to find current line ltem details with GUID by passing Header GUID? My requirement is there are 5 items in a SC, Now cursor is in 3rd line( selected ) how to get the 3rd line details. any idea?

John.

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ,

There are Function Modules to get SC detail.

BBP_PD_SC_GETDETAIL

BBP_PD_SC_ITEM_GETDETAIL

The question is how to get cursor position. Can you elaborate when, which UI actions trigger your logic?

Regards,

Masa

Former Member
0 Kudos

Hi,

using these FM's i can get all item details but my requirement is to get the selected row details. Say for example there are 3 items in a SC, i have selected 2 line item, how can get only 2 line item detail.

John.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

When do you want to get selected item detail? For example, when user selects "Check" button.

What are you going to do after you get item detail ? For example, Cost Center information should be replaced.

Regards,

Masa

Former Member
0 Kudos

Hi ,

Yes.. You are correct. I want to get the current(selected) line item cost details to perform some check. Any idea ?

John.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You can go debug mode and find a event item select.

I would check all items (not only selected one) in the DOC_CHECK_BADI.

What happen if user does not select a item?

Regards,

Masa