Problem filling earmarked funds in FI invoice with BAPI_ACC_INVOICE_RECEIPT

Hi everybody,
I am facing a problem using the bapi BAPI_ACC_INVOICE_RECEIPT.
My goal is to generate a FI invoice , it works fine.
But I can't populate the field ( earmarked funds  as BSEG-KBLNR). The only BAPI parameter that take this field is purchaseorder-FUNDS_RES.
Does anyone know a way to populate the field BSEG-KBLNR without any reference to a purchase order?
If more information or details needed, please ask me.
Rene

I am not sure but check with below links
BAPI_ACC_INVOICE_RECEIPT_POST
BAPI_ACC_INVOICE_RECEIPT_POST
reading of particular lines from appl. server

Similar Messages

  • Problem while 're-posting' a cancelle Invoice with Exchange Rate Difference

    Hi Gurus,
    We are facing a problem while re-posting an Invoice with Exchange Rate Difference. I say re-posting because this invoice was previously posted and reversed on the same date. Here is the scenario along with the relevant postings:
    1)
    G/R is posted in September when the exchange rate for dollar was, say, Rs. 49 = 1 USD.
    Posting:
    Service A/C.....100 USD (Rs. 4900)
         To SR/IR Clearing A/C...100 USD (Rs. 4900)
    2)
    MIRO is done in October, when the exchange rate was, say, Rs. 48 = 1 USD. Thus, the exchange difference posting was done in the respective accounts.
    Posting:
    SR/IR Clearing A/C......100 USD (Rs. 4900)
         To Vendor A/C...........90 USD (Rs. 4320)
         To TDS A/C..............10 USD (Rs.  480)
         To Exch. Difference A/C. 0 USD (Rs.  100)
    This was the correct entry, however we missed out some TDS codes and thus needed to reverse this entry and repost it.
    3)
    Now this invoice was reversed (T.Code MIRO) in october itself on exactly the same date on which invoice was created, and it resulted in the following postings:
    Vendor A/C......90 USD (Rs. 4320)
    TDS A/C.........10 USD (Rs.  480)
         To SR/IR Clearing A/C...100 USD (4800, i.e. 48 * 100, Rs.48 being the exchange rate in october)
    4)
    Now when we try to post MIRO again, it is posting the following entry:
    SR/IR Clearing A/C......97.96 USD (Rs. 4800)
    Exch. Difference A/C.....2.04 USD (Rs.    0)
         To Vendor A/C........... 85 USD (Rs. 4080)
         To TDS1 A/C............. 10 USD (Rs.  480)
         To TDS2 A/C.............  5 USD (Rs.  240)
    This is a wrong entry. SR/IR clearing A/C should have been debited by 100 USD (Rs. 4900), and the Exch. Rate difference account should have been credited by 0 USD (Rs. 100)
    Can someone please help us with this. What the system seems to be doing is, that when the Invoice was reversed, the value that got reversed for SR/IR Clearing A/C was 100 USD but with Rs. 4800 instead of Rs. 4900. Now, when we try to repost the invoice, the system divided this value by the exchange rate prevalent in September, i.e. Rs. 49, thus the resultant value 97.96 USD (i.e.  4800 / 49).
    Please help.
    Thanks!
    Regards,
    Angad Nagpal

    Solved.
    The final entry is correct, as the net result in the G/L balances is the same. For further information please refer to notes 116250 and 46564.
    Thanks!
    Regards,
    Angad Nagpal

  • FI/FM - Earmarked funds - Consumption History (and cash journal)

    Hello, I create accounting document (payment) in FBCJ and in FB01 transactions
    - Accounting document contains tax positions (Tax code + Calculate tax)
    - Accounting document contains a refer to Earmarked funds
    When I create accounting document in FBCJ (cash journal), there are two positions in Consumption History of Earmarked funds appear - one position with total amount and another position with tax amount. Theese two positions have inverse sings. (see pic.)
    When I create accounting document in FB01, only one position appears in Consumption History of Earmarked funds - with total amount. (see pic.)
    I need to know how I can create accounting documents in FBCJ and create only one position in Consumption History of Earmarked funds? Probably I need some customization..?
    [Documents - picture ...|http://belrealty.ru/_my/sap/pic_04.gif]
    Best regards, Nick.

    Solved.
    System creates reference to Earmarked funds In tax position of accounting document (in BSEG) when posting an accounting document from FBCJ. We create substitution in OBBH which delete this reference. The problem was solved.

  • Invoice with positive and negative rows.

    Hi all,
    I have a customer with mobile sales and when he invoices a customer he needs to add positive rows with the products drops off and negative rows with product he collects, so the invoice total amount is the sum all the positive rows minus the sum of all the negative rows.
    So you can have an idea of what I'm talking about, imagine the milkman drops off six bottles of milk and collects two empty ones. If the empty bottles have a price, he needs to invoice six full bottles minus two empty ones.
    The problem: If I create a AR invoice with negative quantities I cannot copy it to an AR Credit Note. And, if I need to cancel that AR invoice, I cannot create an AR Credit Note with negative quantities...
    The customer creates about a hundred of this documents a day, so I need a direct solution.
    Does anyone have an idea?
    Thanks in advanced.
    Best Regards,
    Vitor Vieira
    Edited by: Darius Heydarian on Mar 20, 2008 3:45 PM

    Hello Suda,
    No, just Portuguese for the time being.
    But you can contact then directly to [email protected]
    Marco Rangel is their Product Manager and he can provide you with information about the product.
    I know that their product is already translated to French, and if not already done, the translations to English is not very dificult (the product was developed to be easy to translate).
    Best Regards,
    Vítor Vieira

  • Transaction FMN5N - but impossible to create PO with solved Earmarked Fund

    Hello,
    The display consumption history of Eamarked funds shows an open amount of 58 819, 07 but Transaction FMRP_RFFMEP1OX withthe filter criteria doc. No.1200000197 shows an open amount of 15 965,18 (Amount type 0100 (58 819,07) and Amount type 0200 (42 853, 8 - ))
    Transaction FMN5N to reconstruction of Earmarked Funds in FM. Amounttype 0200 ( + 42 853, 8  ) for doc. No.1200000197 but impossible to create a purchase order (42 853, 89) with doc. No. 1200000197. Open amount from document 1200000197 001 exceeded by 45,71 %
    Somebody already had a similar problem ?
    Thank you
    Fabian

    FMN5N made a 1 occurence in table FMIOI  and the the open amount (transaction FMX3) shows is correct (58 819,07)
    In table FMIO, First occurence : Btart 0100 - TRBTR 58 819, 07- TCODE : FMX1
    Second occurence : Btart 0200 -TRBTR - 42 853, 89 - TCODE :  ME23N
    Third occurence : Btart 0200 42 853, 59 -TOCDE : FMN5N
    In KBLP, WTFREE and HWFREE is 15 965,18
    I want to create un purchase order. The system does not accept an purchase ordre of a value of more than 15 965,18.
    The SAP relase is SAP ERP 6.0 / NW7.01 EHP4

  • I am unable to create a new event on my iPhone with IOS 7.0.4. I tap the plus sign, fill in the details, tape Done and ... nothing. Repeatedly. No problem on my iMac or iPad, just with the phone. Help.

    I am unable to create a new event on my iPhone with IOS 7.0.4. I tap the plus sign, fill in the details, tape Done and ... nothing. Repeatedly. No problem on my iMac or iPad, just with the phone. Help.

    Assuming you're creating this event to place in your calendar, and assuming this calendar is shared with your iMac and iPad using iCloud, might the calendar be restricted on your iPhone?
    Check Settings > General > Restrictions

  • Consuming document with different account assignment from Earmarked Funds

    Hi,
    We have implemented Public Sector FM functionality in version ECC 6.0 and we are using Earmarked Funds (Funds Reservation).
    The system is allowing to post consuming documents with different account assignment from that in the
    Funds reservation document nevertheless we donu2019t have set the indicator 'Acct.asst.changeable' in the Funds Reservation document.
    I don't need the fields Fund Center and Commitment Item to be transfered from earmarked funds document (Define Rules for Account Assignment Transfer). Instead, if consuming document have a different account assignment, the user should get the error message no. RE603 'Account assignment differs from document XX 001'.
    In version 4.6C it worked this way. In our case the Fund Center is delivered from Cost Center and Commitment Item is delivered from Cost Element (SAP - Derivation Strategy for FM Object Assignment).
    I hope someone can help me.
    Thanks in advance,
    Rodrigo

    Hi,
    You get the error message RE603 when you make the settings below:
    1. Spro > ... > Earmarked funds and funds transfer > Account assignment transfer > Define rules for account assignment transfer; you flag the 'Active' boxes for account assignment (sort of conterintuitive).
    2. Spro > ... > Earmarked funds and funds transfer > Change message control; change RE603 to 'E'.
    3. In Earmarked fund document, flag the 'Acct.asst. changeable' box (totally conterintuitive).
    Please give it a try and let us know the outcome.
    Regards,
    Ming

  • Problems filling a JLabel with a GradientColor

    Hallo !
    My Problem is that I am filling the Background of an JLabel
    with a Gradient Color.
    For that I was overwriting the paint() methode in JLabel in the way:
         public void paint(Grapics g)
            Graphics2D g2 =(Graphics2D)g;       
            GradientPaint gp =new GradientPaint(70.0F, 70.0F, Color.BLUE,                                                                                                                                                                                         
            30.0F, 30.0F, Color.WHITE);                         
            g2.setPaint(gp);       
            Rectangle rec =this.getVisibleRect();       
            g2.fillRect(rec.x, rec.y, rec.width, rec.height);
            g2.setColor(Color.BLACK);
            g2.setPaintMode();
            g2.drawString(this.getText(), rec.width, rec.height);
          }My problem now is that I cant see the text of the JLabel anymore.
    Why is that so and what should I change ?
    Thx advanced

    Sorry missed a few things....
    this is the changed code
    public void paintComponent(Grapics g)
    Graphics2D g2 =(Graphics2D)g;
    GradientPaint gp =
    new GradientPaint(70.0F, 70.0F, Color.BLUE,30.0F, 30.0F, Color.WHITE);
    g2.setPaint(gp);
    Rectangle rec =this.getVisibleRect();
    g2.fillRect(rec.x, rec.y, rec.width, rec.height);
    g2.setColor(Color.BLACK);
    g2.setPaintMode();
    paintChildren(g2);
    }Thats it
    Or if u want to stick to paint, use the drawString method such that you draw not from width, height, but as follows. leave 2 pixel space and draw from 1/3 rd of the height so that it is aligned vertically centrally
    g2.drawString(getText(),2, height/3);

  • Problem adding Sales Invoices with batches

    Hi,
    I am trying to create an invoice with a batch component which is returning "Cannot add row without complete  selection of batch/serial numbers".
    I can add these lines manually using teh UI but not via the DI Server.  The relevant <BOM> section is shown below.  The only mandatory element seems to be <BatchNumber> and I have tried it with just that element and with combintaions of them all.  I have also tried adding a <LineNum> to the main <Document_Lines> section in case it needed this to tie up with teh <BaseLineNumber> (which I have als tried leaving out).
    I have extarcted a GetByKey for a manually entered one and I cannot see the problem.  Any help would be appreciated.
    Nick
    <BOM>
    <BO>
    <AdmInfo>
       <Object>oInvoices</Object>
    </AdmInfo>
    <Documents>
       <row>
          <CardCode>C000002</CardCode>
          <NumAtCard>Order #12979</NumAtCard>
          <Confirmed>tYES</Confirmed>
          <DiscountPercent>0.000000</DiscountPercent>
          <PayToCode>Aidann Bowley</PayToCode>
          <ShipToCode>Aidann Bowley</ShipToCode>
          <ContactPersonCode>34</ContactPersonCode>
       </row>
    </Documents>
    <Document_Lines>
       <row>
          <ItemCode>BM25-15</ItemCode>
          <Quantity>1.000000</Quantity>
          <PriceAfterVAT>6.000000</PriceAfterVAT>
       </row>
    </Document_Lines>
    <BatchNumbers>
       <row>
          <BatchNumber>WEBTEST</BatchNumber>
          <ManufacturerSerialNumber/>
          <InternalSerialNumber/>
          <ExpiryDate nil="true"/>
          <ManufacturingDate nil="true"/>
          <AddmisionDate>20140428</AddmisionDate>
          <Location/>
          <Notes/>
          <Quantity>1.000000</Quantity>
          <BaseLineNumber>0</BaseLineNumber>
       </row>
    </BatchNumbers>
    </BO>
    </BOM>

    Hi
    Please enter your thread in SDK Forum
    SAP Business One SDK
    Thanks
    Mohammad Imran

  • MIGO not possible when posting with Earmarked Funds

    Hi,
    I am using Earmarked Funds to budget for Sales Promotion Expenses.
    Have set the  field KBLNR as mandatory for a few GL Accounts and have set it as optional Posting Key 81.
    I have created a Purchase Order with a Earmarked Fund. But when I am trying to do a MIGO for the PO I get the following error message "Field Doc. item is a required field for G/L account"Message no. F5808.
    The field Earmarked funds is hidden in MIGO transaction .
    Any clues on how I could bring this field in MIGO so that it can flow from the Purchase Order.
    Thanks and Regards.

    Hi,
    Thanks.
    I have changed the Field status and have made the field earmarked funds as mandatory through a FI validations for FI postings.
    I tried to check the field at the time of creating Purchase Orders and used Exit_SAPLFMCH_001.
    But this exit doesn't seem to work as the fields are getting cleared when the save button is hit and the Purchase Order gets saved with out the Earmarked Funds.
    Is there any other exit or work around I can make Earmarked Funds mandatory for certain Commitment Items at the time of creating Purchase Orders ?
    Regards.

  • Problem in generating excise invoice with reference to commercial invoice

    Hi,
    I could able to generate excise invoice with reference to STO ( jex ) invoice but unable to generate with reference to commercial invoice ( F2) .System is show 'error in creating FI document'.  Am i missing some configuration.
    Please advice
    Thanks
    satya

    Hi
    Check the G/L accounts assignments for Excise transaction types DLFC,
    Also check the NUmber ranges in OBA7, and also the accounting doc type for excise invoice
    regards
    Prashanth
    Edited by: Prashanth@SD on Feb 3, 2011 8:27 AM

  • Problem Filling and Selecting with Paths.jsx

    I have copied Paths.jsx from the Adobe Photoshop CS5 Javascript Scripting Reference, p. 141.  It works OK.  It makes a path that is the outline of an ice cream cone and strokes it with the current foreground color.
    I then tried to fill the path and that does not work.  I have tried 3 methods using the following additional code and changing the appropriate false's to true:
    // Fill the path
    fillColor = new SolidColor
    fillColor.rgb.red = 255
    fillColor.rgb.green = 0
    fillColor.rgb.blue = 0
    try {
       if(false) {
             // This works and gives a gray fill that is neither the
                  // foreground nor background color
         // Only the ice cream part of the cone is selected and filled
                myPathItem.fillPath()
       } else if(false) {
         // With a color specified, it doesn't work
                  myPathItem.fillPath(fillColor)
           } else if(true) {
         // This makes a selection of the PathItem, selects it and fills it
         // Only the ice cream part of the cone is selected and filled
                  myPathItem.makeSelection(0, false, SelectionType.REPLACE)
                   selRef = app.activeDocument.selection;
                  selRef.fill(fillColor, ColorBlendMode.NORMAL)
    } catch(ex) {
            msg = "Error filling path:\n" + ex.message
            alert(msg, "Exception", true);
    They do as the comments say.  None of them does what I would expect.  For the second way, the error message is:
    General Photoshop error occurred.  This functionality may not be available in this version of Photoshop
    - Could not complete the command because of a program error.
    I do not understand why only the      ice cream part of the cone is filled or selected (the third array).  I can manually      make a selection from the Path in PS and it also only selects the      ice cream part.  All of the lines are stroked.  Only the top part is      filled or selected.
    Why does fillPath not work?
    I can supply the whole script if necessary.  I am an experienced programmer but new to Photoshop scripting.  Is this a bug or am I doing something wrong?
    Thanks for any help.

    This is the whole script:
    // Paths.jsx
    #target photoshop
    // Save the current preferences
    var startRulerUnits = app.preferences.rulerUnits
    var startTypeUnits = app.preferences.typeUnits
    var startDisplayDialogs = app.displayDialogs
    // Set Adobe Photoshop CS5 to use pixels and display no dialogs
    app.preferences.rulerUnits = Units.PIXELS
    app.preferences.typeUnits = TypeUnits.PIXELS
    app.displayDialogs = DialogModes.NO
    // First close all the open documents
    while (app.documents.length) {
    app.activeDocument.close()
    // Create a document to work with
    var docRef = app.documents.add(5000, 7000, 72, "Simple Line")
    // line 1--it’s a straight line so the coordinates for anchor, left, and right
    // for each point have the same coordinates
    var lineArray = new Array()
    lineArray[0] = new PathPointInfo
    lineArray[0].kind = PointKind.CORNERPOINT
    lineArray[0].anchor = Array(100, 100)
    lineArray[0].leftDirection = lineArray[0].anchor
    lineArray[0].rightDirection = lineArray[0].anchor
    lineArray[1] = new PathPointInfo
    lineArray[1].kind = PointKind.CORNERPOINT
    lineArray[1].anchor = Array(150, 200)
    lineArray[1].leftDirection = lineArray[1].anchor
    lineArray[1].rightDirection = lineArray[1].anchor
    var lineSubPathArray = new Array()
    lineSubPathArray[0] = new SubPathInfo()
    lineSubPathArray[0].operation = ShapeOperation.SHAPEXOR
    lineSubPathArray[0].closed = false
    lineSubPathArray[0].entireSubPath = lineArray
    // line 2
    var lineArray2 = new Array()
    lineArray2[0] = new PathPointInfo
    lineArray2[0].kind = PointKind.CORNERPOINT
    lineArray2[0].anchor = Array(150, 200)
    lineArray2[0].leftDirection = lineArray2[0].anchor
    lineArray2[0].rightDirection = lineArray2[0].anchor
    lineArray2[1] = new PathPointInfo
    lineArray2[1].kind = PointKind.CORNERPOINT
    lineArray2[1].anchor = Array(200, 100)
    lineArray2[1].leftDirection = lineArray2[1].anchor
    lineArray2[1].rightDirection = lineArray2[1].anchor
    lineSubPathArray[1] = new SubPathInfo()
    lineSubPathArray[1].operation = ShapeOperation.SHAPEXOR
    lineSubPathArray[1].closed = false
    lineSubPathArray[1].entireSubPath = lineArray2
    // Ice cream curve
    // It’s a curved line, so there are 3 points, not 2
    // coordinates for the middle point (lineArray3[1]) are different.
    // The left direction is positioned "above" the anchor on the screen.
    // The right direction is positioned "below" the anchor
    // You can change the coordinates for these points to see
    // how the curve works...
    var lineArray3 = new Array()
    lineArray3[0] = new PathPointInfo
    lineArray3[0].kind = PointKind.CORNERPOINT
    lineArray3[0].anchor = Array(200, 100)
    lineArray3[0].leftDirection = lineArray3[0].anchor
    lineArray3[0].rightDirection = lineArray3[0].anchor
    lineArray3[1] = new PathPointInfo
    lineArray3[1].kind = PointKind.CORNERPOINT
    lineArray3[1].anchor = Array(150, 50)
    lineArray3[1].leftDirection = Array(100, 50)
    lineArray3[1].rightDirection = Array(200, 50)
    lineArray3[2] = new PathPointInfo
    lineArray3[2].kind = PointKind.CORNERPOINT
    lineArray3[2].anchor = Array(100, 100)
    lineArray3[2].leftDirection = lineArray3[2].anchor
    lineArray3[2].rightDirection = lineArray3[2].anchor
    lineSubPathArray[2] = new SubPathInfo()
    lineSubPathArray[2].operation = ShapeOperation.SHAPEXOR
    lineSubPathArray[2].closed = false
    lineSubPathArray[2].entireSubPath = lineArray3
    // Create the path item
    var myPathItem = docRef.pathItems.add("A Line", lineSubPathArray)
    // Stroke it so we can see something
    myPathItem.strokePath(ToolType.BRUSH)
    // Fill the path
    fillColor = new SolidColor
    fillColor.rgb.red = 255
    fillColor.rgb.green = 0
    fillColor.rgb.blue = 0
    try {
        if(false) {
            // This works and gives a gray fill that is neither the
            // foreground nor background color
            // Only the ice cream part of the cone is selected and filled
            myPathItem.fillPath()
        } else if(false) {
            // With a color specified, it doesn't work
            myPathItem.fillPath(fillColor)
        } else if(true) {
            // This makes a selection of the PathItem, selects it and fills it
            // Only the ice cream part of the cone is selected and filled
            myPathItem.makeSelection(0, false, SelectionType.REPLACE)
            selRef = app.activeDocument.selection;
            selRef.fill(fillColor, ColorBlendMode.NORMAL)
    } catch(ex) {
        msg = "Error filling path:\n" + ex.message
        alert(msg, "Exception", true);
    // Reset the application preferences
    preferences.rulerUnits = startRulerUnits
    preferences.typeUnits = startTypeUnits
    displayDialogs = startDisplayDialogs

  • Problem while doing supplimentry invoice with J1IS

    Hi, SAP GURU
    I have made the sale against commercial invoice and the excise invoice but there was some price difference don't want to cancel that excise invoice.
    Now I am creating the new invoice as supplementary invoice with J1IS T code but i have to calculate CST / VAT extra and not able to post account entry please advice me regarding this.
    SACHIN KADAM

    Hi Prashant,
    from the message no it seems to be a z development. please check with your FI consultant whether he has some validations and or substitutions in place.
    if not then take your ABAPer for the any enhancements activated. some times companies have some user level authorizations for bill passing. check that in IMG>>>>MM>>LIV>>>Authorization mgmt>>>maintain authorizations and users to tolerance group.
    regards,
    Adwait Bachuwar

  • KR Reference Field coming from Earmarked Fund

    Hi Experts,
    We have distributed our data entry of non PO related invoices out to end users.  They data enter and park the invoice.  Then Central AP uses their workflow inbox (SBWP) to view and "approve" the document to post it.
    This works great EXCEPT when the invoice is charged to an Earmarked Fund (specifially a funds commitment), AP gets an error that "For document type KR, an entry is required on field Reference number"  XBLNR is filled in with the Vendor's invoice number on the parked document, but we are told by SAP, that it is our config that is causing the issue.
    On the funds commitment (fmz3), we can view that on the Header of the commitment that we have always left the field REFERENCE blank.   We did configure under Earmarked Funds and Funds Transfers\Define Rules for account assignment, that the Reference Document Number is Active, but this allows us to fill in field REFBN in other areas for reporting. 
    When we just post an invoice FB60, we've never had a problem with the funds commitment's REFERENCE field conflicting with the Invoice's Reference field.  When I do enter something on the REFERENCE field of the funds commitment, it OVERWRITES what the invoice had in the reference field when we do the Park then POST using workflow (uses FBV0 funcitonality).  It does not overwrite it though when I just post using FB60 or FV60. 
    SAP has stated that they intentially designed their programs differently which is why they behave differently.
    So does anyone have any suggestions on how to get the parked document to post BUT to keep the Vendor's Invoice number in the Reference field? Instead of it being overwritten from the Funds Commitment?
    Would appreciate your guidance,
    Cindy

    Hi,
    I think your FM analyst got the direction wrong. System will always populate REFBN field in table FMIOI with PO# or other source document number. The configuration you mentioned controls whether you want the system to transfer the value of REFBN to a follow-on document with reference to an earmarked fund - the direction is from FM to FI. For example, when you create an earmarked fund 1234, you will see an entry in table FMIOI with field REFBN populated with 1234; this has nothing to do with the configuration in defining rules for account assignment transfer in earmarked fund. Then, you create an invoice with reference to earmarked fund 1234; this time, system will transfer the values of the fields in document 1234 to the invoice according to the said configuration.
    Regards,
    Ming

  • How to View the Actual Remaining Budget for Earmarked Fund?

    Hi All,
    First of all, pardon if my questions below are very basic, I'm an ABAPer trying to gasp the big FI process.
    Background:
    I created a project definition then allocate a budget via CJ30.  I created WBS Element then allocate a budget again.
    I created an Earmarked Fund via TCODE FMZ1 using WBS Element as my main budget allocation.  I then created a vendor invoice using that WBS Element.  I then post a payment against the invoice created.
    Via PS Report s_alr_87013557, I can see that my actual budget was deducted by the funds disbursed from my payment document.
    Does it have an impact on my earmarked fund?
    If I use the Earmarked Fund in my posting, is there a similar report to PS where I can see the actual budget deduction?
    Thanks.

    I am dealing with a similiar situation right now. In the standard PS reports, I cannot find where the value type (2A) for funds reservations (earmarked funds) is included in the report characteristics.
    We made a copy of one of the standard PS reports S_ALR_87013534 (form 12KST1G)  by going into CJE6 and then added value type 2A. After changing the custom report, your payment using the earmarked fund will be in the actual column and the remaining unused amount for the earmarked funds should be in the commitment column.
    In the earmarked fund document when you display it there is a button for consumption that shows the activity for that document.

Maybe you are looking for