Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9146

Re: VENDOR_UPDATE FM Import Parameters Meaning

$
0
0

Hi,

 

Please note that 'VENDOR_UPDATE' is an update function module. Update function modules are used to update corresponding database tables from the similarly structured ( work area or internal table ).

 

Ideally, it should have only update/insert/modify and delete statements. All the other validations w.r.t the data should be done before calling any update FM. This is because,  we want update to happen quickly without wasting much logic on other section of the code in FM).

 

So, basically before calling this FM - you need to fill all the mandatory import and tables parameter and then call the FM.

 

Please find the usage of FM 'VENDOR_UPDATE' in Class VMD_EI_API->VENDOR_UPDATE .

 

call function 'VENDOR_UPDATE' in update task

     exporting

       i_lfa1  = cs_vendor-lfa1-new_data    ( means fill LFA1 structure -> Vendor general data )

       i_lfb1  = cs_vendor-lfb1-new_data    ( means fill LFB1 structure ->Vendor company code )

       i_lfm1  = cs_vendor-lfm1-new_data  ( means fill LFM1 structure -> Vendor purchasing data)

       i_ylfa1 = cs_vendor-lfa1-old_data    ( will contain the old values of LFA1, if data changed )

       i_ylfb1 = cs_vendor-lfb1-old_data   ( will contain the old values of LFB1, if data changed )

       i_ylfm1 = cs_vendor-lfm1-old_data   ( will contain the old values of LFM1, if data changed )

     tables

       t_xlfas = cs_vendor-flfas-new_data  ( Change document for LFAS- vendor master vat registration)

       t_xlfb5 = cs_vendor-flfb5-new_data   ( Change document for LFB5 : vendor dunning data )

       t_xlfbk = cs_vendor-flfbk-new_data    ( Change document for LFBK : vendor bank details )

       t_xlfza = cs_vendor-flfza-new_data  ( Change document for LFZA : payment alternate payee)

       t_ylfas = cs_vendor-flfas-old_data   ( Change document for LFAS-old data )

       t_ylfb5 = cs_vendor-flfb5-old_data   ( Change document for LFB5 : old data )

       t_ylfbk = cs_vendor-flfbk-old_data   ( Change document for LFBK : old data )

       t_ylfza = cs_vendor-flfza-old_data.  ( Change document for LFZA : old data ).

 

Regards,

DPM


Viewing all articles
Browse latest Browse all 9146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>