2013 Sep 04 9:16 AM
Hi Expert ,
I have a requirement when create sales order user want to get the line item data based on some condition.That's mean user do not fill the line item data manualy. It will fill automatically .Actually the line item is a table control
Please help me.
Hi Expert ,
I have a requirement when create sales order user want to get the line item data based on some condition.That's mean user do not fill the line item data manualy. It will fill automatically .Actually the line item is a table control
Please help me.
2013 Sep 04 10:30 AM
Please elaborate your condition for filling the line item automatically if possible, meanwhile u can search for any BADI's which will serve your purpose.
2013 Sep 04 11:45 AM
Well Palash,
There is only 1 place where you can achieve this to my knowledge...
MV45AFZZ.
In
append the XVBAP[] table with the entry you want... I am not sure if it will work but you can give it a try as I have never worked on this kind of requirement.
Also be sure to create a Flag in memory once you have added the entry use IMPORT / EXPORT.
First Import if you get the value that means you have already added an entry in VBAP so skip it. else process and export the value in memory so it reads in next import.
Regards
2013 Sep 05 7:34 AM
Hi ,
Actually I have implemented two enhancement in
module tctrl_u_erf_auftrag_init. and
module xvbap_lesen.
here module xvbap_lesen inside a table control tctrl_u_erf_auftrag.
and default it is shown three line item.but i want to generate two line item from my internal table.
I have used memory id to pass the data. But unable to display two line item.I have given the screen shot.
The data from material coming from enhancement.Here showing three line item.My requirement is
showing two material number.
2013 Sep 06 6:05 PM
Hi,
I have solved it. By control the loop by
if tctrl_u_erf_auftrag_current_line <=2 in module xvbap_lesen. and populate the corressponding
field in table cotrol inside if block.