Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Juan_Tamad on Jul 18 at 6:17 AM Why do you need the net value?
| | | ---------------Original Message--------------- From: sri_ponappalli Sent: Wednesday, July 18, 2012 5:08 AM Subject: Not Creating Account Document Hi Experts, I have created Billing using BAPI_BILLINGDOC_CREATEFROMDATA Bapi. but it is not creating any account Document. I found that the bapi is not picking the net value. But there is no option to pass netvalue to bapi. Please tell me the solution. Its urgent friends. I giving my code. MOVE: it_create-fkart TO t_billing_data_in-ordbilltyp , it_create-fkdat TO t_billing_data_in-bill_date , it_create-prsdt TO t_billing_data_in-price_date, it_create-fbuda TO t_billing_data_in-serv_date . READ TABLE it_vbak INTO wa_vbak WITH KEY vbeln = it_create-vbeln . MOVE : wa_vbak-vkorg TO t_billing_data_in-salesorg , wa_vbak-vtweg TO t_billing_data_in-distr_chan, wa_vbak-spart TO t_billing_data_in-division , wa_vbak-auart TO t_billing_data_in-doc_type, wa_vbak-kunnr TO t_billing_data_in-sold_to, wa_vbak-vbeln TO t_billing_data_in-ref_doc . LOOP AT it_vbap INTO wa_vbap WHERE vbeln EQ wa_vbak-vbeln. MOVE : wa_vbap-posnr TO t_billing_data_in-itm_number, wa_vbap-werks TO t_billing_data_in-plant , wa_vbap-matnr TO t_billing_data_in-material , wa_vbap-zmeng TO t_billing_data_in-req_qty . IF t_billing_data_in-bill_date IS INITIAL. t_billing_data_in-bill_date = sy-datum. ENDIF. APPEND t_billing_data_in . CLEAR wa_vbap . ENDLOOP. AT END OF vbeln. REFRESH: t_condition_data_in, t_returnlog_out, t_ccard_data_in. ENDAT. ENDLOOP. IF t_billing_data_in IS NOT INITIAL. SORT t_billing_data_in[] . ENDIF. CALL FUNCTION 'BAPI_BILLINGDOC_CREATEFROMDATA' TABLES billing_data_in = t_billing_data_in condition_data_in = t_condition_data_in returnlog_out = t_returnlog_out ccard_data_in = t_ccard_data_in. Thanks in advance. Sri.p | | Reply to this email to post your response. __.____._ | _.____.__ |