Trading Partner in Gain and Loss from valuation

Dear Friends,
My issue is with the valuation posted for account maintained on line item basis only (Not open item managment).  Since the account is maintained on line item basis, only balance is valuated each month thru f.05.
The problem is that when account posted with Loss or Gain each month on valuation, the document will not have a Trading partner assigned which causes my inter-company elimination issue.
How to get Trading partner assigned to document posted on valuation (F.05) I have tried sustitution rule and OB32 to make Trading Partner as editable but SAP does not allow both.
Best Regards
VK

Thanks Venkata,
My problem is with the autmated posting result from forex gain or loss when carrying F.05. These documents autmatically created but donot update the Trading Partner. I can not manually input them even if enter Trading Partner is option in OBA7 is checked.
Best Regards
VK

Similar Messages

  • The gain and loss from asset retire ment

    hi
    The Gain and Loss from a retirement is booked to the cost center where the asset is located, is it possible to override the cost center so all will be booked to the same cost center?

    Hi
    Change the Cost Centre   or
    Go to TCode OKB9 and enter your new Cost Centre
    Srinivas

  • Currency gain and losses

    Hello,
    Is there a report where I can get the currency gain and losses from the exchange rate in a specific period?
    Regards,
    Barbara

    Hi
      You should run the foreign currency valuation program in order to obtain the profits or lost ..
    Check this out
    http://help.sap.com/saphelp_erp2004/helpdata/EN/a6/004940f0030272e10000000a155106/frameset.htm

  • I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Script stops calculating...

    I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Although I am using the same script as the fields above in the columm, the script eventually stops calculating and I can't figure out why. Is there a limit of how many calculation scripts you can enter? I will attempt to attach my pdf as soon as I figure out how. Thanks.

    For e31 :
    var e30 = +getField("e30").value ;
    var c31 = +getField("c31").value ;
    if ( (e30 !== 0) && (c31 !== 0) ) event.value = e30 + c31 ;
    else event.value = "";
    for e32 :
    var e31 = +getField("e31").value ;
    var c32 = +getField("c32").value ;
    if ( (e31 !== 0) && (c32 !== 0) ) event.value = e31 + c32 ;
    else event.value = "";
    for e33 :
    var e32 = +getField("e32").value ;
    var c33 = +getField("c33").value ;
    if ( (e32 !== 0) && (c33 !== 0) ) event.value = e32 + c33 ;
    else event.value = "";
    Java console doesn't show any error... That's why I am wondering if it's not a limitation issue... or memory issue, because they are maybe too many rows or something....
    The c value is not calculated.

  • Foreign exchange gain and loss

    Short Text 
    Foreign Exch Gain / Loss to be booked to a diffr cost center 
    Long Text 
    The transaction booked with the following parameters
    Step 1:-Transaction booked trough FB60
    Foreign currency CHF @ 40/ruppee
    Expenses debited (1000-cost center)
    Vendor Credited
    Step 2:-Transaction paid through F-53
    Foreign currency CHF @ 50/ruppee paid
    Vendor Debited (Clearing the open item)
    Bank outgoing account Credited
    Foriegn exchange gain and loss Debited
    In ECC 6.00 Version:- The open item clearing inherits the CO objects
    from step one except for "Foreign exchange agin and loss line item"
    Note:
    1) In above scnerio, if foreign exchange gain and loss booked to some
    other cost center other than Step one:- Cost Center (Expenses booked).
    2) If the foreign exchange gain and loss line item booked to same cost
    center as specified in Step one:- Cost Center (Expenses booked).The
    below error does not occur.
    3) The requirement is to book different cost center for the Foreign
    exchange gain and loss line item.
    The following error occurs during FB05 transaction execution for
    transfering the line item in Bank outgoing account to Bank Main account.
    Error Details occur during FB05 transaction execution:-
    Start----
    Ex.rate diff.accts are incomplete for account 0002500062 currency CHF
    Message no. F5063
    Diagnosis
    The accounts for posting exchange rate differences could not be
    determined. For the specified G/L account and the specified
    currency
    key, the accounts are only specified incompletely. Either the
    accounts
    for the implemented exchange rate difference, the accounts for the
    valuation differences or the balance sheet adjustment account are
    missing.
    System Response
    The system cannot generate the exchange rate difference posting.
    Procedure
    By pressing ENTER, you achieve that the document is reset to a
    status
    without automatic posting. In another window, you can complete
    default
    settings for exchange rate differences and post the document
    afterwards.
    END----
    Configuration already in place:-
    1) Bank outgoing and main account "ONLY BALANCE IN LOCAL CURRENCY" is a
    ticked
    2) In OBA1 Foreign exchange gain and loss and valuation gain and loss
    GL's are defined for respective Reconciliation account.
    Regards,
    Sathya

    Hi,
    Is your problem solved, I am also facing the same issue when transffering from Incoming/Outgoing to Main Bank Account. Exchange gain/loss is being calculated by the system.
    Please share with me the solution to the above problem.
    Thanks & Regards,
    Jyoti

  • Trading partner agreement lookup failed as From trading partner cannot be i

    Hi,
    I am sending 850 EDI XML to our Penske trading partner, Its throwing below error. Could anyone helpme how to resolve this issue. Please do the needful.
    our sender id is EMR and receiver id is Penske( I am also attaching a file which i am processing)
    Machine Info: (essapt020-u009.emrsn.com)
    Description: Make sure the trading partner has name, type, and value information
    StackTrace:
    Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
         at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:199)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:589)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:221)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1061)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    File which i processed
    <?xml version="1.0" ?>
    - <Transaction-850 xmlns="urn:oracle:integration:b2b:BD5A9C92A91F474292233E610E5258F9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V4010" CreatedDate="2009-09-14T06:20:48" CreatedBy="ECXEngine_837" GUID="{3A6795B0-F6A0-DE11-B354-00144F86C7D4}">
    - <Internal-Properties>
    - <Data-Structure Name="Interchange">
    <Lookup Name="InterchangeSenderQual">ZZ</Lookup>
    <Lookup Name="InterchangeSenderID">EMR</Lookup>
    <Lookup Name="InterchangeReceiverQual">ZZ</Lookup>
    <Lookup Name="InterchangeReceiverID">Penske</Lookup>
    <Lookup Name="InterchangeControlVersion">00401</Lookup>
    <Lookup Name="Standard">X12</Lookup>
    <Property Name="InterchangeAuthorizationInfoQual">00</Property>
    <Property Name="InterchangeAuthorizationInfo" />
    <Property Name="InterchangeSecurityInfoQual">00</Property>
    <Property Name="InterchangeSecurityInfo" />
    <Property Name="InterchangeSenderQual">ZZ</Property>
    <Property Name="InterchangeSenderID">EMR</Property>
    <Property Name="InterchangeReceiverQual">ZZ</Property>
    <Property Name="InterchangeReceiverID">Penske</Property>
    <Property Name="InterchangeDate">090909</Property>
    <Property Name="InterchangeTime">1419</Property>
    <Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property>
    <Property Name="InterchangeControlVersion">00401</Property>
    <Property Name="InterchangeControlNumber">000085390</Property>
    <Property Name="InterchangeAckRequested">0</Property>
    <Property Name="InterchangeUsageIndicator">P</Property>
    <Property Name="InterchangeComponentElementSep">0x3e</Property>
    <Property Name="DecimalSeparator" />
    <Property Name="ElementDelimiter">0x2a</Property>
    <Property Name="ReleaseCharacter" />
    <Property Name="RepeatingSeparator" />
    <Property Name="SegmentDelimiter">0x7e</Property>
    <Property Name="SubelementDelimiter">0x3e</Property>
    <Property Name="InterchangeChildCount">1</Property>
    <Property Name="InterchangeTrailerControlNumber">000085390</Property>
    - <Data-Structure Name="Group">
    <Lookup Name="GroupSenderID">EMR</Lookup>
    <Lookup Name="GroupReceiverID">Penske</Lookup>
    <Lookup Name="GroupVersionNumber">004010</Lookup>
    <Property Name="GroupID">PO</Property>
    <Property Name="GroupSenderID">EMR</Property>
    <Property Name="GroupReceiverID">Penske</Property>
    <Property Name="GroupDate">20090909</Property>
    <Property Name="GroupTime">1419</Property>
    <Property Name="GroupControlNumber">85364</Property>
    <Property Name="GroupAgencyCode">X</Property>
    <Property Name="GroupVersionNumber">004010</Property>
    <Property Name="GroupChildCount">1</Property>
    <Property Name="GroupTrailerControlNumber">85364</Property>
    - <Data-Structure Name="Transaction">
    <Lookup Name="TransactionID">850</Lookup>
    <Property Name="TransactionID">850</Property>
    <Property Name="TransactionControlNumber">0001</Property>
    <Property Name="TransactionImplementationReference" />
    <Property Name="TransactionChildCount">24</Property>
    <Property Name="TransactionTrailerControlNumber">0001</Property>
    </Data-Structure>
    </Data-Structure>
    </Data-Structure>
    </Internal-Properties>
    - <Segment-ST>
    <Element-143>850</Element-143>
    <Element-329>0001</Element-329>
    </Segment-ST>
    - <Segment-BEG>
    <Element-353>00</Element-353>
    <Element-92>SA</Element-92>
    <Element-324>16010055985</Element-324>
    <Element-328 xsi:nil="true" />
    <Element-373>20090909</Element-373>
    <Element-367 xsi:nil="true" />
    <Element-587>AC</Element-587>
    <Element-1019 xsi:nil="true" />
    <Element-1166 xsi:nil="true" />
    <Element-1232 xsi:nil="true" />
    <Element-786>03</Element-786>
    </Segment-BEG>
    - <Segment-CUR>
    <Element-98>2L</Element-98>
    <Element-100>USD</Element-100>
    </Segment-CUR>
    - <Segment-REF>
    <Element-128>06</Element-128>
    <Element-127 xsi:nil="true" />
    <Element-352>ALICE.EMRSN.COM:oracle.apps.po.event.xmlpo:458153-325924</Element-352>
    </Segment-REF>
    - <Segment-FOB>
    <Element-146>CC</Element-146>
    <Element-309>ZZ</Element-309>
    <Element-352>UCC FOB DEST COL</Element-352>
    <Element-334 xsi:nil="true" />
    <Element-335 xsi:nil="true" />
    <Element-309_1>ZZ</Element-309_1>
    <Element-352_1>FOB Shipping Point</Element-352_1>
    </Segment-FOB>
    - <Segment-ITD>
    <Element-336 xsi:nil="true" />
    <Element-333 xsi:nil="true" />
    <Element-338 xsi:nil="true" />
    <Element-370 xsi:nil="true" />
    <Element-351 xsi:nil="true" />
    <Element-446 xsi:nil="true" />
    <Element-386 xsi:nil="true" />
    <Element-362 xsi:nil="true" />
    <Element-388 xsi:nil="true" />
    <Element-389 xsi:nil="true" />
    <Element-342 xsi:nil="true" />
    <Element-352>NET75 EOM</Element-352>
    </Segment-ITD>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>VN</Element-98>
    <Element-93>XPEDX</Element-93>
    <Element-66>US</Element-66>
    <Element-67>160000511</Element-67>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>2099 CORPORATE 44 DRIVE</Element-166>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>FENTON</Element-19>
    <Element-156>MO</Element-156>
    <Element-116>63026</Element-116>
    <Element-26>US</Element-26>
    </Segment-N4>
    </Loop-N1>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>BT</Element-98>
    <Element-93>EMC OU CIM</Element-93>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>Emerson Motor Company,</Element-166>
    <Element-166_1>a Division of Emerson Electric Co. PO BOX 4147</Element-166_1>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>Saint Louis</Element-19>
    <Element-156>MO</Element-156>
    <Element-116>63136</Element-116>
    <Element-26>US</Element-26>
    </Segment-N4>
    </Loop-N1>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>SO</Element-98>
    <Element-93>EMC OU CIM</Element-93>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>8100 West Florissant Ave</Element-166>
    <Element-166_1>PO Box 3946</Element-166_1>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>Saint Louis</Element-19>
    <Element-156>MO</Element-156>
    <Element-116>63136</Element-116>
    <Element-26>US</Element-26>
    </Segment-N4>
    </Loop-N1>
    - <Loop-N1>
    - <Segment-N1>
    <Element-98>CA</Element-98>
    <Element-93>SEE EMERSON ROUTING</Element-93>
    </Segment-N1>
    </Loop-N1>
    - <Loop-PO1>
    - <Segment-PO1>
    <Element-350>1</Element-350>
    <Element-330>4800</Element-330>
    <Element-355_1>EA</Element-355_1>
    <Element-212>116</Element-212>
    <Element-639 xsi:nil="true" />
    <Element-235_1 xsi:nil="true" />
    <Element-234_1 xsi:nil="true" />
    <Element-235_2>SW</Element-235_2>
    <Element-234_2>P062155530000</Element-234_2>
    </Segment-PO1>
    - <Loop-PID>
    - <Segment-PID>
    <Element-349>F</Element-349>
    <Element-750 xsi:nil="true" />
    <Element-559 xsi:nil="true" />
    <Element-751 xsi:nil="true" />
    <Element-352>PAD (BOX)</Element-352>
    </Segment-PID>
    </Loop-PID>
    - <Loop-N1_2>
    - <Segment-N1>
    <Element-98>ST</Element-98>
    <Element-93>CIM IO Plant CMD</Element-93>
    <Element-66>FA</Element-66>
    <Element-67>INTERNALC01</Element-67>
    </Segment-N1>
    - <Segment-N3>
    <Element-166>Boul Carlos Salinas de Gortari</Element-166>
    <Element-166_1>Kilometro 9.7</Element-166_1>
    </Segment-N3>
    - <Segment-N4>
    <Element-19>Apodaca</Element-19>
    <Element-156>NL</Element-156>
    <Element-116>66600</Element-116>
    <Element-26>MX</Element-26>
    </Segment-N4>
    - <Segment-SCH>
    <Element-380_2>4800</Element-380_2>
    <Element-355>EA</Element-355>
    <Element-98_1 xsi:nil="true" />
    <Element-93 xsi:nil="true" />
    <Element-374_5>112</Element-374_5>
    <Element-373>20090910</Element-373>
    <Element-337 xsi:nil="true" />
    <Element-374 xsi:nil="true" />
    <Element-373_1 xsi:nil="true" />
    <Element-337_1 xsi:nil="true" />
    <Element-326 xsi:nil="true" />
    <Element-350>1</Element-350>
    </Segment-SCH>
    </Loop-N1_2>
    </Loop-PO1>
    - <Loop-CTT>
    - <Segment-CTT>
    <Element-354>1</Element-354>
    </Segment-CTT>
    </Loop-CTT>
    - <Segment-SE>
    <Element-96>24</Element-96>
    <Element-329>0001</Element-329>
    </Segment-SE>
    </Transaction-850>

    Hi Srinivas,
    I am in dilemaaa whether i need to take a EDI x12 over internet and EDI x12 over genric exchange.I think this is something which you should discuss with your TP and as per the availability and requirement a decision should be made.
    If you are using FTP protocol in internal delivery channel, then you need to follow the file naming convention to provide B2B required information to identify the TP and transaction. For this please refer -
    http://www.b2bgurus.com/search/label/Generic%20File
    To know more about TP identification in EDI, please refer -
    http://www.b2bgurus.com/2007/08/trading-partner-identification-in-edi.html
    Regards,
    Anuj

  • Trading partner agreement lookup failed as From trading partner cannotbeide

    Machine Info: (essapt020-u009.emrsn.com)
    Description: Make sure the trading partner has name, type, and value information
    StackTrace:
    Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
         at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:199)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:589)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:221)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1061)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    I am getting an above error, while procssing data to our trading partner
    regards
    srinivas

    Hi Srinivas,
    I think you have one more thread opened for the same -
    Trading partner agreement lookup failed as From trading partner cannot be i
    Anyways, as I mentioned earlier in above thread, please follow proper file naming convention to allow B2B to identify the Trading Partner.
    Regards,
    Anuj

  • Issue on Gain and Loss account in F110 document

    Hello SAP Guru,
    I would like to ask your assistance regarding our accounting document. The document was produced on F110 transaction.
    Now the problem is Valuation Balance sheet adjustment, realize gain and loss are in one document.
    25 - Vendor - 727,843.35
    50 - Clearing Account - 801,874.76-
    40 - Valuation Balance sheet adj - 159,734.84
    50 - Realize gain - 85,703.43-
    40 - realize loss - 0
    How this happened? Realize loss and gain in one document, and why valuation balance sheet adjustment was used? I thought it is only use for open items?
    Thanks in advance!
    Jhero

    Hello SAP Guru,
    I have other question, I have maintained KDB accounts in OBA1. How could I test it? I mean what transactions do you have to perform to use the accounts I maintained.
    Eg.
    1. Post document FB01 - using Foreign Currency - Vendor + GL
    2. Chnage the FX rate - to have FX valuation
    3. Run FAGL_FC_VAL
    Something like above
    Thanks!
    Jhero

  • Can We Change Realized gain and loss account in system option Receivables

    Hi All,
    As part of our month end processes we are posting a manual journal each month to clear this GL account down to a nil balance.
    Looking at the activity they all look to be automated AR postings on foreign currency transactions.
    Is there any way we could get these to automatically post into account 01.2201.4901 instead of 01.9000.9757? This would save us having to do the manual journal and avoid the situation of missing any which we did last month.
    Regards,
    Raju.

    Hi Raju,
    option 1
    You can change the Realized Gain and Loss Account from the System options form in Receivables, but this will be effective only for all new transactions that are going to get created and not for the existing one ...
    Option 2
    If you do not want to modify the system options, you can override the values at the accounting time frame by configuring an Accounting Derivation Rule for the Realized Gain and Loss Journal Line Type. Again this would take effect on new transactions only
    Option 3
    You can disable 01.2201.4901 and state its replacement is 01.9000.9757 in General Ledger module, so whenever system would use the replacement account for automatic processing ....
    You have to keep running the Accounting analysis report in General ledger for the account string 01.9000.9757 every month to cross check whether you have passed all Manual Journal Vouchers to make the balance NIL ... i am not sure whether there is any other way of performing a cross checking and minimizing the time that is being consumed at present ....
    Regards,
    Ivruksha

  • Gain and loss account

    Hi,
    My scenario is Mae to order, when i m going to make new Finished material , i put 1 INR in with Price control "S".Then Created sales order - creation of BOM - production order - confirmation of production order - Then Dispatch the Finished good.Then updating MR21 for price.Then in when i m going to see the accounting document there is Gain and loss account hited.Please suggest reason behind this.

    Hi,
    That's right! Because you changed the standard price of the finished good with t-code MR21, system had to re-calculate the stock value again, it led to update the stock account obviousely, so debit(credit) stock account and credit(debit) Gain & Loss account to balance the financial balance sheet.
    Good day
    Tao

  • Market price analysis and loss free valuation example

    Hi,
    I want to get advice on the devaluation activity.
    There are 3 method which are market price, range of coverage and loss free valuation.
    I read on sap documentation yet I cannot really get it. So before I execute MRN0, MRN1 and MRN3, I need help to understand
    What does it mean by market price and loss free? Can give example of these 2?
    I got the definition but i not quite understand. So I need example to explain these 2 method.
    "When determining the lowest value based on market prices, the system searches for the lowest price (or alternatively, the most recent price) among the various prices stored for each material. We recommend that you limit the period during which the system retrieves data to the last three months, so the prices are as up-to-date as possible"
    "You may need to devaluate materials sold by your company if they will probably not fetch the material price when they are sold. For example, if the demand for a material diminishes because it is no longer the latest technology, you can only sell this material at a loss compared to the material price."
    Thanks

    Hi
    You may need to devaluate materials sold by your company if they will probably not fetch the material price when they are sold.
    As per my knowledge devaluvate means you are giving discount on your material .
    Regards
    Kailas Ugale

  • Copy Trading Partner to Asset line items from Vendor line items in F-90

    Dear Friends,
    I want to copy trading partner field from Vendor line item to other line items like Asset and Tax in T.code - F-90
    Client want to use Transaction type - 100
    Is it feasible?
    Thanks in advance

    try:
    1) substitution - tcode OBBH
    or
    2) open FI - menu FIBF tcode BF44
        - event 1120 or 1130
    A.

  • Not getting data using FORMULA for GAIN and LOSS

    Hi all,
    I have made a code for my report in which i have to display GAIN or LOSS using formula as told by me is:
    ANLCKANSW-ANLCKNAFA-ANLCNAFAG-ANEAERLBT
    and for this purpose i have create an ITAB,the structure is that:
    BEGIN OF GI_DETAIL OCCURS 0,
            BUKRS LIKE ANEA-BUKRS,
            ANLN1 LIKE ANEA-ANLN1,
            ANLN2 LIKE ANEA-ANLN2,
            GJAHR LIKE ANEA-GJAHR,
            AFABE LIKE ANEA-AFABE,
            KANSW LIKE ANLC-KANSW,"Asset Acquisation Value
            KNAFA LIKE ANLC-KNAFA,"Accumalated Depreciation
            NAFAG LIKE ANLC-NAFAG,"Ordinary Depreciation Posted
            ERLBT LIKE ANEA-ERLBT,"Retirement Revenue
            END OF GI_DETAIL.
    This is my SELECTION criteria for FORM GET_DATA
    SELECT kansw knafa nafag anea~ERLBT
          INTO CORRESPONDING FIELDS OF TABLE gi_detail
          FROM
          ANLC
          INNER JOIN ANEA ON
          ANLC~BUKRS = ANEA~BUKRS AND
          ANLC~ANLN1 = ANEA~ANLN1 AND
          ANLC~ANLN2 = ANEA~ANLN2
        WHERE  ANLC~AFABE eq '01'.
    and this is FORM Organize_Data
    READ TABLE GI_DETAIL WITH KEY bukrs = gi_detail-bukrs
                                      anln1 = gi_detail-anln1
                                      anln2 = gi_detail-anln2.
            gi_main-gain_loss  = ( gi_detail-kansw - gi_detail-knafa ) - ( gi_detail-nafag - gi_detail-ERLBT ).
            MOVE-CORRESPONDING gi_detail to gi_main.
    Problem when i execute with debugger value are coming in my ITAB i-e GI_DETAIL but not displaying in my formula.I can't understand what is the problem in the code.
    Thanks,
    abapfk

    HI
    before reading the table first check, it is balnk or not.
      gi_main-gain_loss  = ( gi_detail-kansw - gi_detail-knafa ) - ( gi_detail-nafag - gi_detail-ERLBT ).
            MOVE-CORRESPONDING gi_detail to gi_main.
    here you have appended the values in gi_main-gain_loss and after that you are moving the gi_detail table to gi_main so as per my knowledge it will overwrite the values in gi_main-gain_loss.
    so you have to append the values from gi_detail to gi_main individually.
    like:
    gi_main-field1 = gi_detail-field1.
    gi_main-field2 = gi_detail-field2.
    and the append gi_main.
    check in debugging whther the values coming correctly or not.
    I hope this will work for you.
    Thanks
    Lalit Gupta

  • FX gain and loss revaluation

    Hi Experts,
    Kindly look into ths below business requirementand reply me   :
    1 . I  have to segregate the FX gain/loss account on the basis of the valuated GL account. For example, when we run valuation
    for GL 8020069 in CoCd 0002, FX loss should go to 77600001.. But currently all FX loss is posted to 77600002
    Now   all FX revaluation gain/loss are posted to one P&L account regardless of the valuated GL account.
    2.Currently one cost center is proposed by the system for all FX gain/loss (no cost center is proposed for CoCd 0002 )). To avoid
    this, we are processing the FX revaluation posting in foreground and manually changing the cost center on the basis of the
    valuated GL. For example, when we run valuation for GL 8020069, FX loss should be posted to GL 77600001 with Cost Center
    4420002. However, when we run valuation for GL 8020216, FX loss should go to GL 77600001 with Cost Center 4790002. Kindly let me know how to make in SAP.
    Expected deliverables:
    A.     Provide flexibility in FX revaluations to use different GL accounts for posting FX gain/loss activity to provide separation of inter-company and 3rd party activity in the P&L.
    B.     Provide flexibility in FX revaluations to use different cost centers for posting FX gain/loss activity to provide separation of overhead cost by division in the P&L.
    C.     The solution should work for both open item managed accounts and non OIM accounts.
    D.     Reduce the time involved in posting FX revaluations for corporate/management entities
    Kindly answer the above ( ABCD ). if i need to do the validation and  subsutuion where i can do ?  in wht basis i can do to and  how to  proceed .
    Regards
    Aravind

    hello Sarma ,
    ur right but u know i did all this but problem still here , u know one thing in AR it is in the books that Flexbuilder is used to generate and getting gain and loos a/c for posting of difference in invoice and receipts amounts due to rate of currency.
    so if u can send me detail of flexbuilder setup i can check it with mine , as i feel my flexbuilder setup is not correct thats why i am asking with AR users who have posted difference of such transactions.
    if u go to ar system options these a/cs defined there and it is in thier help that flexbuidler is used to get these a/c's so if ucan send me detail and if u can mail me at address with ur address. to discuss more in detail asap.
    thanks
    hashmat jamal

  • Doubt in physical inventory regarding gain and loss

    Hi Experts,
       Kindly let me know, what we will be doing while we face gain of some materials during physical inventory and loss of some materials during physical inventory?
    Regards,
    Prasath

    hi priyanka,
        i am getting an error while i am trying out this. i am counting stocks in quality inspection also. there i am getting more stocks, so, i have tried to post the (gain)difference using 701 but it is showing an error
    " Reason 0701 for movement type 703 not defined "
    and then i tried with movement type 703 to post the difference, again it is showing another error like
    " Entry 0703 does not exist in T157D (check entry) "
    Is there any movement type especially to post gain/loss in quality stock in physical inventory ??
    how could i resolve and post this gain in quality stock. kindly help me.
    Regards,
    Prasath

Maybe you are looking for

  • Bugs After Upgrading to Lion 10.7.2 (Dashboard,Safari,iCal,System Configuration)

    I got a lot of bugs after upgrading my Macbook Pro from 10.7.1 into 10.7.2 1. Dashboard :      everytime i change something or add a new widget on dashboard, ex : wrote a new stickies, arranging the place of widgets. after shutdown or restart the cha

  • "unable to read or write to disk.."?

    when i connect my ipod to my computer to put songs onto it, it acts like it is working and then a window pops up that says something about not being able to read or write to the disk. i've upgraded the software and reset my ipod, but still nothing..

  • How to show the data of one query since Forms9i using to Report built-in on

    Hello!!!, I have Developer 9i (Forms and Reports), the OCJ4 and repserver90 are running, now, I attempt to run one report from Forms9i, and only it appears an empty page HTML. I don't understand why doesn't show the data of query? Please, give me a s

  • PO Order Unit is not updating by BAPI_PO_CHANGE

    Hi Experts, While Iu2019m trying to change the PO using BAPI_PO_CHANGE, for few materials only Item quantity(PO quantity-quantity )  is updating but not the pack size( PO Order Unit-orderpr_un) I want to know is there any indicator or any field to be

  • Slideshow Does Not Start

    I've been using Aperture for a while, and have decided to go back to iPhoto. So I installed iPhoto '11 and have been importing photos from my Aperture library into the iPhoto library. When I select a photo, group of photos or an event and hit the 'sl