FDM - scripting variable for reversing the account

Is there somehow a possibility to tell if the account is intended to be reversed or not (e.g. change the type from revenue to expense). I'm looking for a specific variable that you can use in scripting. I looked through the API guide, but didn't find this information. I rather not look at the tables, but I will if I have to.
I'm using the pull adapter G-3-J in FDM 11.1.1.1.0 and file I have data for multiple periods in the source. I'm storing some of the amounts into the user defined dimensions and I need to be able the change the sign on these if the account type is changed (e.g. from revenue to expense).

Yes and I would like to reuse the information if the box is ticked or not in order to the change the sign for user defined dimensions 9 - 19, as explained in the first message.
Is it somehow possible using predefined functions / scripts or do you have to make a custom script?

Similar Messages

  • Steps for reversing the reversal document

    Hello Everyone,
    Automatic payment has been made however bank had confirmed that it was
    unsuccessful due to technical reason hence payment document KZ was
    reversed.Next day bank confirmed that payment was successful.
    Payment document KZ needs to be restored.The reversal document ST has to
    be reversed and cancelled.
    MIGO document (RE) 5000000339 for amount 6.989,97 UEE currency
    F110 document (KZ) 5300000047 for amount 289.473,53 RUB currency
    FB08 document (ST) 3000008122 for amount 289.473,53 RUB currency.
    Can you please provide me the Tcode to proceed further.
    Thanks in advance.
    Regards,
    Lavanya

    Hi,
    Hope you have reversed the accounting document only and not deleted the payment run / Proposal generated via T-code - F110.
    1. Execute the T-code FBL1N with all items selection i.e. Open + Cleared items (with Normal / Sp. GL / Notes items selection)
    2. Take a subtotal with a column "Clearing Document"
    3. After reversal, your payment document (Type - KZ)  No. 5300000047 & Reversal Document (Type - ST) No. 3000008122, are getting shown in Cleared items.
    4. Your Doc.No. 3000008122 is the clearing document for the Payment Document 5300000047 & Reversal Doc. No. 3000008122 itself.
    5. If yes, kindly reset (T-code - FBRA) the document No.  3000008122 (Be sure with Resetting, since it will transfer all the connected cleared documents to Open item status).
    6. Your Payment Document No. 5300000047 will get shown in Open Items now.
    7. Reversed the reversal Doc. No. 3000008122 (T-code - FB08) which is in Open items after resetting. (Which will get shown in cleared items after reversal).
    8. Clear the MIRO (Accounting doc shown in FBL1N) with the Payment Doc. No. 5300000047 via T-code - F-44.
    9. Not understood the reference of MIGO document mentioned by you which has no connection with the payment to Vendor.
    Regards,
    Shridhar
    Edited by: Shridhar Sawant on Dec 29, 2011 3:22 PM

  • Reversing the accounting document

    Dear experts,
    kindly tell me that can we reverse the accounting document which is generated after invoicing the material to a customer,
    Waiting for an earlier response,
    Best Regards,
    N.Kapoor

    Hi Nirjhar,
    After raising the Accounting Document there it self you will find CANCEL button. IF you want to cancel, select that CANCEL button or you can raise CREDIT MEMO.
    If this is helpful assign me points.
    Rams.N

  • Need a Syatem variable for Executing the report by RFC.

    Hi Experts,
    Need a Syatem variable for Executing the report by RFC.
    what i mean to say is,i can execure the report directly ...then no issues.
    But if i execute the Report by RFC ,then i should put a condition with system variable...
    Please suggest me ,how can put a condition when i am executing the report through RFC.
    Thanks
    Babu

    Hello Friend,
    what I understood that you want to put some extra condition if that report is getting called from RFC...
    you can use the system variable SY-CPROG....it will hold the value of the report when it is geeting executing directly...
    but when it is getting executed therough RFC...it will hold that RFC name...
    Thanks
    Krish

  • User exit for Reversing the Document

    Hi,
    Is there any User exit  for reversing the document for FBRA?
    Thanks

    Hi,
    Execute this report you will get the list of user exist for particular transaction,The inpur parameter for this report is transaction code , the output you will be getting is the list of user exists available for this trransaction.
    If find my answer suitable pelase reward me suitable points.
    REPORT Z_USEREXIT .
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                       AND object = 'PROG'
                       AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname =
          tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                             AND object = 'FUGR'
                             AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab
                    WHERE pgmid = 'R3TR'
                      AND object = 'SMOD'
                      AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu AND
                                       tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt
                 WHERE sprsl = sy-langu AND
                        name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline,
                 2 jtab-obj_name HOTSPOT ON,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
    Regards,
    Irfan Hussain

  • Cancelling Credit memo not reverse the accounting document

    Hello,
    Hello,
    We are facing pecular problem in production system when we Cancel the sales credit memo system is not genarating the reversal accounting document and it's genarating the entry same way credit memo.
    When we do the credit memo it's passing accounting entry in the following way.
    Posting key 11 with customer (credit entry)
    Posting key 40 with revenue (debit entry)
    Posting key 40 with tax (debit entry)
    When we cancel the credit memo system is not passing the reversal entry and once again it's passing the same entry.
    Posting key 11 with customer (credit entry)
    Posting key 40 with revenue (debit entry)
    Posting key 40 with tax (debit entry)
    Could you some body explain me what is the problem
    Regards,
    Satya
    Regards,
    Satya

    Dear senthil
    As I said earlier, once the accounting document is generated, the respective amounts will flow in debit / credit entry of the document flow.
    Once you cancel the billing document, for this cancelled billing, one more accounting document will be generated and with this, the above entries would be vice versa.  That is debit entries get credited and credit entries get debited and you cannot hide this from SAP
    thanks
    G. Lakshmipathi

  • FDM Scripting Query for last imported source file using Batch Processing

    Hi Experts,
    I'm currently in the processing of automating the FDM load process on our version of FDM 9.3.3 using batch processing and the FDM Task Manager. Most of the process works fine including an email alert which notifies users of when a data load has taken place.
    As part of that email alert I am trying to attach the source file that has been loaded in batch processing. I have managed to get an attachment using the following FDM Script Object of:
    "API.MaintenanceMgr.fPartLastFile(strLoc, True, False)".
    But have noticed that using this only attaches the last "manually" imported file rather than the last file imported using the batch processing.
    My question is: Is it possible for someone to steer me into the right direction of either a more appropriate API or if I have missed a step in my script.
    Any help as always would be much appreciated.
    Cheers
    Pip

    Unfortunately the batch process does not work the same way as on-line. I am assuming you are using the normal batch load and not Multiload (although the batch is simisar).
    the batch file name gets recorded on the tBatchContents table, and moved to the import/batches folder under the folder for the current batch run. However, if successful the file gets deleted (and from memory does not get archived). To add the import file to the e-mail, after a successful load, i think you will need to store a copy of it prior to importing the file.

  • Can I Reverse The Accounting Document after Periodical Processing

    Dear Friends !
    Few Months ago One Accotung Entry happend through SD ( Billing) for Export. at the time of period-end activities for the accounting Document processed by Foriegn currency valution..
    Now Sales people reversed that transaction , Cancel Document Happend but no Accouting document was generated??
    Log shows like this "
    "Reversal of document 0705v1 1000001633v2 2007v3 not possible in FI"
    Message no. F5A 005
    Diagnosis
    Item &v4 in accounting document 0705 1000001633 2007
    was valuated with an open item foreign currency valuation.
    System Response
    Document cannot be reversed.
    <u></u>

    In case of Foreign currecy valuation, reversal of the valuated should happen on the first day of the next month. Otherwise, these type of problems will raise.
    First, check the foreign currency valuated items reversed or not, if not please reverse them and try to do the current transaction.
    Let me know if you still face the problem
    VVR

  • System variable for find the method BOR / workflow

    Hi,
    I  am working with one workflow . I am displaying tcode FB60 in edit mode( FV60) for the approver( method FIPP.Change ). I wanted to differentiate technically the tcodes that are executing through manually and thorough BOR method.
    Is there any system variable which holds the value of BOR and method name ?
    Please help me in getting this system variable.
    Regards
    paveee

    Hi Claudio,
    Try this,
    ->> Open the Pick List(System) PLD and Save as the New PLD.
    ->> Open the NEw PLD and Create 1 Database Field(for WareHouse Name) in Repetetive Area.
    Table -> OWHS - WareHouse
    Column -> WhsName - WareHouse Name
    Save as and Run the Print Preview.
    IF will not print the WareHouse Name in Print.
    Do this in PLD.
    ->> Open your PLD.
    --> Ralate to WareHouse Code Field ID in WareHouse Name Field at Content Tab on Properties Window.
    Regards,
    Madhan.

  • How to Create a Selection Variable for restricting the querry output

    Hi Gurus,
    I have created a query in query designer on a Multiprovider and the output of the query is a Formula in a structure which calculates a % value, the client is looking for entering a range of number during the query selection screen and the output should be restricted to the given selection values.
    Can any one tell me how i should create a selection variable that would take the input from the user during the query selection screen and then restrict the output to that value which user specified.
    Is there a need to write any customer exit or is there any alternative way to make the query work as the requirement is.
    I hope this explains my problem but if any questions please let me know so that i can give u specific information.
    Thanks,
    Nisha.

    Hi Nisha,
    Firstly, in order to restrict the query output by a key figure value, you will need to create a condition on that key figure. This is done in the query deisgner. Now when you are creating the condition you can also use user entry variables (formula variables with user entry) to let the users enter the value that they want to see.
    See here for more details:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/content.htm
    Hope this helps...

  • Event for reversing the write off document

    Hi All,
    Can anyone suggest me the event that I should enhance for our requirement which is when a incoming payment comes in system should first check whether there is any write off document and if there is then write off document should be reversed and the incoming payment should be assigned to that particular item.
    thanks in advance.

    Thanks for Reply, event 0020 gets triggered but when i use BAPI_CTRACDOCUMENT_REVERSE it throws a short dump or gets into an endless loop.
      MESSAGE_TYPE_X   
    Diagnosis                                                         
        The message previously issued was sent at a time that is not  
        permitted. Changes to the database that belong together logical
        must not be interrupted through dialogs because otherwise     
        inconsistent data may be created. In this case, you attempted t
        output message >3 137.                                        
        The text of the message was                                   
        No interest information exists for document 81000050960       
    System Response                                                   
        The system stops the posting.                                 
    Procedure                                                         
        Contact your system administrator.                            
    Procedure for System Administration                               
        If the program error occurred during a:                       
        o   Standard SAP program, create an OSS message.              
        o   Customer-developed program, correct the program.          
    Please respond if any ideas.
    Thanks,
    Immanuel

  • Script to do reverse video, or may be an access to the innards to turn the rendered stream reversed

    Hello Experts,
    A whole bunch of us who have undergone what might be described as traumatic treatment have been handed over a bunch of pdf ebooks to read for rehabilitation and alternative employment.
    But the eyes hurt a lot from the white glare of the monitor. In the good old days there were simple viewers that supported reverse video option.
    How to write a script that can reverse the video of the acrobat as one can do in many other programs?
    Is there also a way to make the image permanently inverted in pdfs ? There is some issue with grey and color image based pdfs or vector ones which use rendering into colors than simply black and white.
    Dying Vets
    P.S. No referral to commercial sites or solutions.

    >
    > Re: script to do reverse video, or may be an access to the innards to
    > turn the rendered stream reversed
    >
    > Under Preferences > Accessibility there's an option to Replace
    > Document Colors, in which you can choose a new scheme or
    >
    > force the colors for text and page background, for example making
    > every PDF display as yellow text on black "paper".
    >
    this only works for vectorized pdfs. but thanx for the effort.
    >
    > It won't affect graphics, video etc. or printouts, but the setting is
    > application-level so once chosen it'll work for each PDF you open.
    >
    This feature to me is purely useless as there are many documents that are not
    vector including the ones I mostly deal with in connection with research from
    the peer reviewed journal of 911 studies or old journal scans. I need an adobe expert to provide
    a solution to this basic problem or escalate it to a level to create a solution if
    one does not exist, ie how to obtain a reverse video setting for the bitonal images
    without actually reversing them. I bet there is a bit somewhere in the pdf standard
    that can allow this toggle to be done.
    Dying Vets

  • How to use the dynamical or static variable for ESSBASE cube name?

    Hi Experts,
    When I import ESSBASE Cube into physical layer, the cube name from ESSBASE is created automatically, such as H_Sales.
    I want to use the the static or dynamical variable for replacing the external name. So I try to create the static variable in RPD,such as cubeName, and use the following code
    'VALUEOF(cubeName)' into the textbox of external name.
    However, when I view the report in answer, it will generate the error message: Database VALUEOF(cubeName) does not exist.
    Is it possible to implement this functionality?
    Thanks..

    Hi,
    use <%=odiRef.getSchemaName("D")%>
    D as parameter if it is the Data Schema or W if you need the schema from Work Schema
    Your command will be like:
    select <%=odiRef.getSchemaName("D")%>.GER_LOT_EXEC_ODI('Fluxo', 1, 'C') FROM DUAL
    Works?
    Cezar Santos
    http://odiexperts.com

  • BingAds API: Can we configure the same email id to get API access for multiple BingAds account ?

    Hi Eric,
    We help our customers to analyze their marketing performance. We have configured the email id e.g. [email protected] which has the API access to one of our customer BingAds Account. Now we are able to authenticate using Oath tokens and able to access customer
    data using the given developer token.
    Now i need your help to clarify the below.
    1) Can i have the access to my other customer BingAds account using the same email Id i.e. [email protected] or Do i need have the two different users/email ids to access different BingAds account?
    2) If it is possible to configure the same emailId/usert for different BingAds accounts , then i belive my Oauth tokens will be same in this case, but how about my devloper token , do i need to maintain two seperate developer tokens?
    3) If its not possible to use the same email id for two BingAds account api access, is there any alternate way to have the common oauth authentication for  both the accounts?
    Thanks in advance.
    Regards,
    Sreekanth.
    Sreekanth A

    Hi Eric,
    I have got to know from the BingAds support that i have to switch my account to Agency type to access multiple accounts data over API. But they only assist on this for Microsoft Managed BingAds account, but it can not access the data from BingAds account which
    is managed by Yahoo.
    If i need to create Agency type BingAds account which can have the API access to multiple BingAds accounts managed by Yahoo, what may be the process?
    Can you please guide me on this? as of now i got the news is that to contact the Yahoo Account managers, if you have any more information on this , please let me know.
    Thanks,
    Sreekanth.
    Sreekanth A

  • Using accrual engine for reversal of month end provisions

    Hello everyone,
    I am working on a requirement to set up accrual engine for automatic reversal of month end provisions (like electricity expense provision at month end which will be reversed on first day of next month).
    I understand that accrual engine is meant for handling accruals and deferrals. But having seen the manual option of FBS1 and F.81, I felt there must be an option in the accrual engine also to handle provisions and their reversal. Also, I saw some comments in this forum that using accrual engine it is possible to automatically reverse the postings.
    So I set up a test scenario in sandbox client with basic configuration for Manual Accruals (accrual type, methods, object category, number ranges, account determination)
    After that I created an accrual object which automatically created an FI document for the provision entry. So far it is fine and working as expected. Now, for reversing the document, I see two options:
    1) Reverse entire accrual run; or
    2) Reverse the accrual object.
    By reversing the accrual object, I was able to post a reversal FI document. I am not sure whether reversal of entire accrual run is right option since SAP help recommends to use this in case wrong key date was used.
    But both options require manual execution for reversal.
    Am I missing some other option? Is there any other option/setting in the accrual engine where it is possible to set up automatic reversal of a month end provision? Only if this is not feasible, I would look at other solutions (like FBS1+F.81 or FBS1+background job for F.81).
    Any inputs/pointers from the learned members will be highly appreciated.
    Thanks in advance,
    Raghu

    Hello Raghu,
    As far as I know, all clients I worked with preferred using "FBS1+background job for F.81" as they found this more flexible (adapt job variant and possible dynamic selection), easy to maintain and well understood by accountants (rather than using accrual type, methods, object category...)
    Tamim

Maybe you are looking for

  • How to find total recs in a local table for a particular condition

    Hi, How to find total recs in a local table for a particular condition? Thanks, CD

  • Why can't Quicktime Pro demux MPEG1 files?

    After buying QuickTime Pro I discovered that I couldn't convert muxed MPEG1 files without losing the audio. I understand that QTP simply doesn't have that capability and now use MPEG Streamclip to demux the audio then I can import the video and demux

  • Error executing Program

    Dear all.    I'm executing this simple code: SELECTION-SCREEN BEGIN OF BLOCK I1 WITH FRAME TITLE TEXT-001. PARAMETERS: ZB_TEST as checkbox default 'x'. SELECTION-SCREEN END OF BLOCK I1. IF ZB_TEST eq 'X'.     write 'X Upper'. elseif ZB_TEST eq 'x'.  

  • Satellite T130 - Can't start the Toshiba HDD recovery

    Hi all, I have a problem with my Satellite T130. I have to start the Toshiba HDD Recovery but the computer tell me that there isn't a valid HDD recovery on the PC. Probably this is a my fahter's fault. There is another way to start the recovery? Than

  • Ipad switch from regular storage to Icloud storage, how is this done?

    I have an IPad and I am trying to download video but it says I don't have enough memory, so I bought memory from the cloud it will not recognize the new storage? How do I switch it so whem I download it recognizes memory from cloud? Thanks!