Hi friends,
I am currently designing an ALV grid in a module pool. I am transferring amount from the field AMOUNT to field AMOUNTSELECTED using checkbox. I need to create a new line item in FBL1N using the value present in AMOUNTSELECTED. The trick is that the field AMOUNT IN LOCAL CURRENCY in FBL1N will be having the amount present in field AMOUNTSELECTED. In my final table, IT_BSID_TEMP, the data is coming perfectly fine for both the line items. In FBL1N , a new document no will be generated for each line item. I am using BAPI_ACC_DOCUMENT_POST. I have given all the data required in IT_CURRENCYAMOUNT. I searched all the posts before in SDN regarding iconsistent currency. But i am unable to solve the issue. I checked in tcode OB22 also, the company code 1100 is present with curr type '10'. Please reply with corrections in the code and also provide tips on how to post for multiple line items in the internal table. Please go through the attachments .
Regards,
Saurav Lahiry