How is AP_EXPENSE_FEED_DISTS_ALL related to AP_INVOICE_DISTRIBUTIONS_ALL

I am importing PCard transactions, but need to be able to relate the source data to the final transactions coming out in AP programmatically. I had thought that the distribution line ID would work, but it is different between the tables, and Attribute values are not passing through. Any help would be tremendously appreciated. The project is already overdue.

This looks like directly going to support. This is what happening. Before inserting the record into the interface table, they generage invoice_id and update ap_expense_feed_dists_all table. And when they are importing they will generate the invoice_id again. So we lost the invoice_Id right there.
I think the only way for now is this:
SELECT *
FROM ap_expense_feed_lines efl
, ap_expense_feed_dists_all efd
, ap_card_programs_all cp
, ap_invoices_all ai
, ap_invoice_distributions_all aid
WHERE efl.feed_line_id = efd.feed_line_id
AND efl.card_program_id = cp.card_program_id
AND cp.vendor_id = ai.vendor_id --Has to be employee ID we can add the check too.
AND cp.vendor_site_id = ai.vendor_site_id
AND ai.SOURCE = 'PCARD'
AND ai.invoice_id = aid.invoice_id
AND efd.dist_code_combination_id = aid.dist_code_combination_id;
Thanks
Nagamohan

Similar Messages

  • File to IDOC:how do i relate inbound idoc with generated idoc in the R/3

    hi experts;
    can any body tell me how can i relate the IDOC number genrated in the PI with the generated IDoc number in the SAP R/3 system for file to IDOC scenario?
    in SAP PI for tcade idx5, idoc no is:12002
    but in SAP R/3 in tcode WE05, idoc no is:846915
    how can i know a particular message (in SAP PI) created a particular idoc in the backend SAP R/3 System.
    thanks in advance,
    kumar

    Hi Kumar
    at the time of testing you have to note down a time at what ur file got picked up ok
    then go to we05
      -> give the date on CREATED ON field.
      -> then in BASIC TYPE field select your particular IDOC CREMAS05 or whatever, see the TIME field that you have noted down at the time of testing, if that is matching means that is ur latest IDOC you have tested.
      -> one more thing, tha last IDOC showing in the list means that is your latest IDOC you have tested.
    Hope i have helped you, points plz
    Warm Regards
    Dheeraj Kumar

  • What does the scriptcollector do and how does it related to jsf lifecycle?

    hi,
    i want to know what does the scriptcollector do and how does it related to jsf lifecycle? and also in the scriptcollector if i call this,
    preRender=#{myBean.onPageLoadBegin}
    postRender=#{myBean.onPageLoadEnd}
    how my page will react?

    The hx:scriptCollector is part of the IBM Faces Client Framework and has nothing to do with Sun JSF RI.
    Lot of the hx components require specific Javascript and those hx components should be placed inside a single hx:scriptCollector which on its turn checks the nested hx components and renders the desired Javascript for it at the end of the tag. Check the HTML source for that Javascript.

  • How to use relative paths in Captivate 8 / Cómo usar URL's relativas en Captivate 8

    Hello, I have developed a bunch of courses which will be migrated to a new site and I am having trouble changing the absolute paths into relative URL's to resources such as PDF files inserted into the scorm packages. I cannot find information on how to use relative paths in Captivate. Please help. Thank you.

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • Stock room tables in oracle apps ? and how customer is related with those?

    Hi All
    Can any give the details about stock room tables in oracle apps ? and how customer is related with those tables.
    Thank you

    question is not clear, but is it what you are looking for ?
    Stock Locators in Inventory tableis mtl_item_locations

  • What is BOM? Steps Needed. How is it Related to Product Costing

    Gurus,
    What is BOM?
    How is it related to Product Costing and Profitability Analysis and CO?
    Technical help and steps would be appreciated.
    Thanks.
    Points available.

    Hi,
    BOM (Bill of Material) is a structured list of components (with the object number, quantity and unit of measure) that go into making of a product or an assembly.
    Bill of Material can be simple or complex depending upon the structure of the product. And, a collection of BOMs that lets you describe a product or a number of similar products is known as BOM Group.
    T code is CK51.
    In product costing BOM is used to estimate the cost incurred for the creation of a finished product.
    Technically, when u do a product cost run for particular material and if you don't have BOM for the material, the system will give an error.
    If useful, assign points.
    Regards,
    Manju

  • Add a system status in CS? and how is it related?

    Is it possible to add a system status (not the user status) in CS? (for equipments like status "INAC")
    If yes, how is the relation made between a GI of movement type 551 (scrapping) and a automatic change of status in transaction IE02.
    What I want is in case of a GI of 551 that SAP chooses my
    new status (SCRP) in IE02....

    Is it possible to add a system status (not the user status) in CS? (for equipments like status "INAC")
    If yes, how is the relation made between a GI of movement type 551 (scrapping) and a automatic change of status in transaction IE02.
    What I want is in case of a GI of 551 that SAP chooses my
    new status (SCRP) in IE02....

  • How can we relate c and x  types in ABAP

    hi all,
    I would like to know how we could relate c type and x type in ABAP.
    In terms of size specification.
    Thank you all
    prasad.

    Hi Prasad,
    Consider the following code snippet -
    data : char type c,
           hexa type x.
    Now, both these variables are of 1 byte each. However, they store different kinds of data, so we have -
    hexa = '41'.
    write : hexa to char.
    write: char , hexa.
    hexa is going to store the hexadecimal number 41. (the decimal equivalent is 65). The first write statement does the automatic type conversion. so we get the 65th ASCII character in the character variable (which is the capital A).
    Hope that helps.
    Regards,
    Anand MAndalika.

  • How to make relative links

    Hello.
    I need your help.
    Inside the public_html folder I have two files one index.dir and part1.dir The file (index.dir) I wanted to do html and I do the Regulating through public settings
    My problem is that it will link files? I do not know how to do it and I want your help please.
    How to make relative links?
    Information my project test:
    Script from index to part1
    -- DESCRIPTION --
    on getBehaviorDescription me
      return \
        "GO NEXT BUTTON" & RETURN & RETURN & \
        "Moves the playback head to the next marker when the user clicks on the sprite." & RETURN & RETURN & \
        "PERMITTED MEMBER TYPES:" & RETURN & \
        "Graphic members" & RETURN & RETURN & \
        "PARAMETERS: None"
    end getBehaviorDescription
    on getBehaviorTooltip me
      return \
        "Use with graphic members. " & \
        "Moves the playback head to the next marker on mouseUp."
    end getBehaviorTooltip
    -- HISTORY --
    -- 3 November 1998, written for the D7 Behaviors Palette by James Newton
    --  5 January   2000: updated to D8 <km>
    on mouseUp me
      go frame "test1" of movie "pat1" -- test1 is Maker and the file is part1.dir
    end mouseUp
    on isOKToAttach (me, aSpriteType, aSpriteNum)
      tIsOk = 0
      if aSpriteType = #graphic then
        tIsOK = 1
      end if
      return(tIsOK)
    end on
    script from part1 to index
    -- DESCRIPTION --
    on getBehaviorDescription me
      return \
        "GO PREVIOUS BUTTON" & RETURN & RETURN & \
        "Moves the playback head to the previous marker when the user clicks on the sprite." & RETURN & RETURN & \
        "PERMITTED MEMBER TYPES:" & RETURN & \
        "Graphic members" & RETURN & RETURN & \
        "PARAMETERS: None"
    end getBehaviorDescription
    on getBehaviorTooltip me
      return \
        "Use with graphic members. " & \
        "Moves the playback head to the previous marker on mouseUp."
    end getBehaviorTooltip
    -- HISTORY --
    -- 3 November 1998, written for the D7 Behaviors Palette by James Newton
    --  5 January   2000: updated to D8 <km>
    on mouseUp me
      go frame "Intro" of movie "index" -- Intro is Maker and the file is index.dir
    end mouseUp
    on isOKToAttach (me, aSpriteType, aSpriteNum)
      tIsOk = 0
      if aSpriteType = #graphic then
        tIsOK = 1
      end if
      return(tIsOK)
    end on
    Please help
    Look my page for you to understand my problem www.ionio.gr/~aleksgeor

    It looks like you have taken a behavior from the Library Palette and hard coded it to suit your needs. This was unnecessary. Instead try the following behaviors attached to buttons that take you between movies - assuming they are in the same directory:
    on mouseUp me
      gotoNetMovie("@/part1.dcr#test1")
    end
    on mouseUp me
      gotoNetMovie("@/test.dcr#Intro")
    end
    Also, you should Shockwave-compress your files to DCR (see the Publish Settings) in order to make your movies as small as possible so they download quickly

  • How the HR related data of BP is stored in SAPCRM Sys??

    Hi Guru's,
    I' m very new to the CRM.
    I want to know <b>How the HR related data of BP is stored in SAPCRM System?? for the project requirement.</b>
    Please, can anybody help in this regard ??
    Regards,
    Arjun

    hi,
    I don;t entirely understand your question.
    But just as in R/3 HR data is stored in infotypes, accesible as always with PPOM, but for CRM, there's also PPOMA_CRM.
    If you check the evaluation paths in OOAW, you also see some specific ones for BP. this is also an entity in HR, just as P, O CP etc.
    In short, data is stored as relations eventually in table HRP1001
    Kind regards, Rob Dielemans

  • Please someone could help in explain how calenders are related among icloud and my imac ?

    please someone could help in explaining how calenders are related among icloud and my imac in terms of backuping and recovery ?
    Thanks
    JBS

    Open GarageBand's preferences, and under Audio/MIDI set the Input popUp menu to the iMic. You can also set the Output popUp to the iMic if you have headphones plugged into it, otherwise set it to Built-In.
    Create a New Basic Track, and you're ready to record.
    --HangTime [Will Compute for Food] B-|>

  • What is ADM methodology? how it will related to SAP R/3 system?

    hello friends,
    What is ADM methodology? whoes product it is? and how can we use it to SAP R/3 system (for implementation or support).
    What is the main difference between ASAP and ADM methodology.
    Can anyone have an knowledge on ADM methodology? Pls send the information or document to email: [email protected]
    thanks in advance,
    will be rewarded,
    Regards,
    Srinu.K

    Hi Manish,
    thanks for the reply. But i don't think ADM what it stands for.
    As per my knowledge ADM is Application Development and Maintainence (ADM) methodology.
    But, i don't have much knowlege on that and how this will related to SAP R/3 system.
    Can anybody have knowledge on ADM? how can we use for SAP R/3 system?
    pls, do the needful,
    Regards,
    Srinu.K
    Message was edited by:
            sapsrin

  • What is Business Connector ? How it is related to ABAP ?

    What is Business Connector ? How it is related to  ABAP ?
    Is there any document available ? Pls provide ....
    Thanks in Advance ....

    Business connector help
    Mahesh

  • IC - how to make relation between e-mails from BPs and BPs

    Hello,
    In IC Win when I send email to BP system saves it in relation to BP (so I can later search it in CRM). But what about
    e-mails from BPs. How I can relate them to BPs? Or how CRM can make relation automatically?
    Regards
    Radek

    Hello Radek,
    You can implement GW and transfer emails from GroupWare into CRM. Onc we transfer emails into CRM, you can create activities/attach emails to the BPs.
    Regards,
    Paparao

  • How can i relate the input parameters to table MARD

    Hi,
    I have inputs as material number , sales organization , distribution chanel and plant , using this i have query the table MARD . in MARD table material number and plant is available , how can i relate sales organization and distribution chanel to query the table, please help.
    Regards,
    Ratheesh

    Hi,
    Try tabel MVKE, that contains sales data, table MARD is SLoc specific data for material.
    http://www.erpgenie.com/abap/tables_mm.htm
    Regards,
    Csaba

Maybe you are looking for

  • How to create a sales order step by step please..

    hi, how to create a sales order in detail step by step. Regards, BBR. Edited by: BBR on Dec 7, 2008 7:47 PM Edited by: BBR on Dec 7, 2008 7:53 PM

  • Function calling the java code

    I have a java code that returns the size of the file name. I have created a pl/sql function that calls the method in the java class. The problem I face is , when I try to call the function using the command "CALL f_size('C:\Batch\Query.sql')into :len

  • Post-refresh steps for a CUA child system

    Hi, I implemented CUA in our non-prod system. I will copy my DEV system (CUA enabled) to a SBX machine (also CUA enabled). our CUA Master is installed on our Solution Manager machine. I searched the web for possible solutions. One of them is: 1.expor

  • Restoring IPod When Not Recognized in ITunes

    On my MacBook, the Ipod icon shows up on the Desktop and in Finder but not in ITunes. The battery is charged. I can play the items on the IPod, and it appears to work normally except for the recognition problem. Plugging it into the computer even ope

  • I need to build a multiday timer.

    I need to build a multi day timer with setable on/off cycles using Lookout. Has anyone ever done this? I have tried several things, but nothing seems to work right.