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

Selecting sales order lines by code

Former Member
0 Likes
548

Hi ABAP experts,

We run into large sales order lines that has different item categories. There are billing plan lines included in the sales order.

Say we have 2000 lines in sales order- 30th.210,520,..will be billing plan items. The busines needs an ability for SAP to select the billing plan lines on push of a button.

If we are able to select the records based out of xvbap-pstyv (itemcategory) , how can we code to select those sales order lines? I am trying to achieve the select sales order line through a coding effort

Alternatively any other plan?

Thank you for your time

Kris

Edited by: chidam33 on Oct 17, 2011 9:32 PM

Edited by: chidam33 on Oct 17, 2011 9:32 PM

3 REPLIES 3
Read only

Former Member
0 Likes
508

Hello,

"The busines needs an ability for SAP to select the billing plan lines on push of a button." - are you using any report?

Please check VBKD table where items are listed with billing plan number (FPLNR), you can then check FPLA table

Thanks

Read only

0 Likes
508

Thank you. But I am not creating any report. The Business requirement is to perfrom this on the sales order or contract in R/3...tcode va02, Va42...

Read only

Former Member
0 Likes
508

Hi,

do you mean to have same functionality as the "Position" button on TCode VA02 ?