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

need urgent help on the below mentioned points for uploading data from excel file to an internal tabl

$
0
0

Hi guys,

 

I need your urgent help as mentioned in the subject line.

I have to create an abap program in which I need to upload the data from an excel file to an internal table using the following condions,

 

  1. All the data given in the file should be read by the program.
  2. All line items with same header data will be posted in one document. If data in fields from BKPF table are same, treat it as a single document.
  3. If there are incorrect data in some of the line items then post the correct line items and give the error log details for the incorrect line items.
  4. If there are more than 999 line items in the same document then give error message that “More than 999 line items cannot be posted in one document” and display all these line items in the error log.
  5. Multiple documents should be created in one BDC upload if the header details are different.
  6. Based on Document type – Reference Key & Doc. Header Text field can be made mandatory or optional.
  7. If Currency is other than INR then Rate & Translation Date may be mandatory. In this case “Amount in Doc Currency” and “Amount in local currency” values needs to be updated.
  8. The Line item screen fields depends on the field status of the following:
    • Posting Key.
    • Account
    • Special GL Indicator
  9. The upload file format is attached. First row contains name of the SAP field and row 2 contains description of the field. The upload template will have column description, so program should ignore first row. The data will start from row two in the upload file.

 

Tables to be used here are BKPF AND BSEG. The text file having all the fields from these two tables to be uploaded is also attached.

Please response ASAP. And please dont post any link to visit here.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 8538

Trending Articles



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