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

Update BEDAT in database table using alv

Former Member
0 Likes
892

Hello experts,

     I am creating an alv report. in that my requirement is that

  1. Based on the inputs given above, select all VBAK-VBELN to fetch the contract numbers.
  2. For all the sales contracts, use the function module SD_SALES_BILLINGPLAN_CHANGE to update FPLA-BEDAT as per the billing plan entered.

     I can't understand this program. so please help me to solve this problem. i am sending a snapshot for selection screen. based on this selection screen      i am fatch the data. so how can i update the FPLA-BEDAT using this function module. and also only that records will be update whose are selected.

Regards.

Hello experts,

     I am creating an alv report. in that my requirement is that

  1. Based on the inputs given above, select all VBAK-VBELN to fetch the contract numbers.
  2. For all the sales contracts, use the function module SD_SALES_BILLINGPLAN_CHANGE to update FPLA-BEDAT as per the billing plan entered.

     I can't understand this program. so please help me to solve this problem. i am sending a snapshot for selection screen. based on this selection screen      i am fatch the data. so how can i update the FPLA-BEDAT using this function module. and also only that records will be update whose are selected.

Regards.

2 REPLIES 2
Read only

Former Member
0 Likes
768

Hi,

Use the FM SD_SALES_BILLINPLAN_READ, to read the data , change FPLA-BEDAT and pass that data to SD_SALES_BILLINGPLAN_CHANGE.

This will help you reduce your coding efforts.

Hope this helps.

Read only

0 Likes
768

hi gaurav,

yes i did it. but it is not updating the date.

can you explain in brief? or some example of that.