Skip to Content

Outgoing file

Im writing one simple input fields are companycode,invoice number(belnr) and amount(dmbtr)..i need to validate these fields by...

Validations need to be provided to prevent

1. Company code other than DM30 (France)

2. Double entry of invoice numbers for criteria 2 (i.e. invoice number) and

3. Total amount exceeding the invoice amount for criteria 3 (i.e. partial amount with invoice number).

4. FI documents would be internally numbered. So, program to generate .txt file should provide for preventing invoices from being captured for more than the payable amount. For example, if amount credited to vendor is Euro 10,000 vide FI (and invoice verification in MM) document number 330000567. If partial amount of Euro 2000 has already been paid against this invoice, system should prevent user from entering this invoice with amount of more than Euro 8000 that is still payable.

Program should look for (field / table) REBZG / BSEG (Number of the Invoice the Transaction Belongs to) in vendor line items (posting key 31 & 25, 50). System populates this field with invoice number against which partial amount is paid or other adjustment (debit memo amount, for example) happens. Please remember that system does not update this field when entire invoice amount is settled in the last out going payment/other adjustment document.

Program should calculate balance amount to be paid based on:

1. Vendor credited & expense debited vide (posting key 31,32,34 -39) for given invoice number (Document type K0,K1,KI, Number range 34,11,12) MINUS

2. Partial payment/ other adjustments, as per REBZG / BSEG referred above, made against the invoice number entered.

Program should prevent entry for an amount that is more than the balance amount to be received (calculated as per points 1 and 2 above).

It follows that if the balance calculated is full amount of the invoice (i.e. partial payments have not been received or other adjustments not done), then program should allow entry for the full invoice amount. (This will be relevant in case of MRP invoices).

After once it will send a txt file ..with entries given...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2009 at 01:41 PM

    Better get coding - thread locked.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.