Need to link theTables STXH and MAPL or PLPO

Hi Gurus,
I need to link the tables STXH and MAPL (  or PLPO) as we are preparing a report to fetch the routings and materials on the basis of object text (i.e available in routing long text).
Please help me in this regard.
Thank you in advance.
Naveen.A

Hi,
if the text is available then you will get a entry in STXH table inputs
text object = ROUTING
text name = concatenation of MANDT + PLNTY + PLNNR + PLNKN + ZAEHL (example 500N500000190000000100000001)
text ID = PLKO
Language = EN
if no entry existis then no long text for that routing
or
You can use the following fucntion module to find if long text exits for a operation.
READ_TEXT
In this pass the following parameters:
ID = PLPO
NAME = concatenation of MANDT + PLNTY + PLNNR + PLNKN + ZAEHL (example 500N500000190000000100000001)
OBJECT = ROUTING
The output of this fucntion module will have the internal table with the long text. If this internal table is not empty then it means long text exists for this operation.
Regards,
Sankaran

Similar Messages

  • SAP Treasury - Link a Purchase and Sale of an OTC transaction

    Hello All
    We have implemented SAP OTC transactions (51A, 52A, 53A and 55A). We did not have the requirement to sell them when they were set up. However we got the requirement recently. We need to link the purchase and sale of a transaction and record the realized gain and loss. I dont see a way to link OTC transactions and there by post the realized gain and loss.
    Example:
    If we buy a commercial paper (53A) on Jan 1 2014 maturing Oct 31, 2014 for a nominal amount of 10,000 at 98% payment rate, which will generate a payment flow of 9,800 on Jan 1 2014.
    Now if we decide to come out of it (sell) on June 30, if the rates went down and we only get 9,000 of the nominal amount for the sale.
    How can we have the system link these 2 to determine that we incurred a realized loss in this case?
    Hove anyone had this situation before? Any help on this topic with be much appeciated and points will be rewarded.
    Thanks in advance!!
    Shilpa

    Try TBR6 to link; may be reference category "REF"; then, from each transaction, you can go to Environment-Object links and see the linked transaction.
    However, I don't know off hand, if it will let you do realized gain/loss on a net basis; in that case may be Securities module would be the solution.
    Mani

  • Link between excise and purchase document

    how do you link the excise and GRPO or A/P Invoice in a select query?

    Hi Krishna,
    IF you need the link for Excise and GRPO or A/P Invoice.
    Try the below Links and Query.
    Link the Excise and GRPO
    SELECT *
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
    Link the Excise and A/P Invoice
    SELECT *
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPCH T2 ON T2.DocNum = T1.BaseRef
    Try this Query, Link the Excise and GRPO in a Select Query
    SELECT T0.[DocNum], T1.[BaseRef], T2.[DocNum],
    T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[LineTotal]
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
    Regards,
    Madhan.

  • My father has itunes account for ipad and my mother for an iphone my father has taken over iphone and needs to link it to his account

    my father has itunes account for ipad and my mother for an iphone my father has taken over iphone and needs to link it to his account

    iTunes will need to be set up on your computer however you can set up a new Apple ID to use for your iPhone. Really all you need to do is Assign a new Apple ID to your iCloud account.
    Follow the link to create a new Apple ID: https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    After you do that, on the device you want to assign a new iCloud account go: Settings > iCloud > Delete Account and then sign in with the new Apple ID.
    NOTE: This does not effect iTunes, all of your devices can continue to use one shared iTunes account under your original Apple ID for downloading apps and backups. This simply gives iCloud a place to sync the individual devices information and will stop iCloud form merging all the information, such as contacts, with all of your devices.

  • ITunes unable to recognize iPod, error message along the lines if "iTunes has detected an iPod but unable to recognise" I have followed all the trouble shooting tips and am still stuck? I am now being told by a friend I need a link sent to me to fix this

    Hi,
    I am need of help! I have had this issue for a while now and it's becoming frustrating.
    My iTunes installed on my HP Windows 8 Netbook is unable to recognize my iPod, the error message along the lines of "iTunes has detected an iPod but unable to recognise"
    I have followed all the trouble shooting tips and am still stuck? I am now being told by a friend I need a link sent to me to fix this??
    Someone please help me fix this problem.
    Many thanks.
    Matt.

    Hi
    So just close iTunes and re-open iTunes thats it and that worked for you?
    When you say reset your settings do you mean to factory settings? As my iPod was swapped at the store for a new one and the problem is still there...
    Thanks.

  • Need to link 2 files, one with a numeric firld and on with an alpha numeric

    I need to link 2 files in my report by employee number. In the employee file it is an 8 character Numeric field like 1505087. In the GL File, it is an 8 character field like '01505087' I have done a TONUMBER on the employee number.  Where do I link these files? I have done it in my data selection, but it now takes hours to run the report. The report does work. Any suggestions for linking the files together?
    Thanks,
    Rick

    Hi Rick,
    Linking numeric and non numeric fields at report level takes long time because for each detail it has to process i.e convert your non numeric field to numeric and then link.
    To avoice this, try to use Add command for your non numerica table and convert the field to numeric in free hand SQL itself.
    Eg: Select fields..convert(non numeric to numeric) from table   // my convert syntex is not correct becasue i don't know what database you are using
    Now you get both tables with numeric fields and you can link both.  It will not take much time to retive records.
    Thanks,
    Sastry

  • I dont remember the first apple id that link with my clash of clans apps. the problem now is i need to link my COC village and it keep saying "please log in with correct game center" is there anyway that i can retrieve my old apple id? please help me

    i dont remember the first apple id that link with my clash of clans apps. the problem now is i need to link my COC village and it keep saying "please log in with correct game center" is there anyway that i can retrieve my old apple id? please help me i dont want to lose my village, i have spent my money on that game to much. hmmm

    thanks mate, but the problem is im using different apple id now, and after about 1 year play coc and today i want to link the village , suddenly coc said that
    thats mean im playing this village with different apple id and it not saved. and the problem is i dont remember the first apple id and password that i use first time to download this game. hmmm it was so confusing, why coc and game center just make this thing saved with a new game center account.

  • I need to authorize my computer and I can't find the link for it. I went under Itunes store and there is no link "advanced" or "authorize computer"

    I need to authorize my computer and I can't find the link for it. I looked under Itunes store and there are no links that say "advanced" or "authorize computer"

    Authorization
    Macs:  iTunes Store- About authorization and deauthorization.
    Windows: How to Authorize or Deauthorize iTunes | PCWorld.
    In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it. Or turn on Windows 7 and 8 iTunes menus: iTunes- Turning on iTunes menus in Windows 8 and 7.

  • I created a word document with hyperlinks. When my default browser is Chrome the hyper links work. When the default browser is Safari, the hyperlinks bring to pages that just lines and lines of symbols. I need these links to work in both browsers.

    I created a word document with hyperlinks. When my default browser is Chrome the hyper links work. When the default browser is Safari, the hyperlinks bring to pages that just lines and lines of symbols. I need these links to work in both browsers. Any ideas?

    version 10.6.8

  • Link STXH and CRMD_ORDER_INDEX

    I have the following code:
    DATA: BEGIN OF it_act_search OCCURS 0.
    DATA: guid      TYPE crmt_object_guid.
    DATA: post_date TYPE crmt_posting_date.
    DATA: END OF it_act_search.
    SELECT DISTINCT header posting_date_hd
      FROM crmd_order_index
      INNER JOIN but000 ON crmd_order_index~partner_no = but000~partner
      APPENDING table it_act_search
      WHERE ...
    SELECT *
      FROM stxh
      INTO CORRESPONDING FIELDS OF TABLE it_stxh
      WHERE tdspras  = lv_spras
      AND   tdid     IN note_types_sel
      AND   tdobject = 'CRM_ORDERH'.
    LOOP AT it_act_search INTO wa_act_search.
      READ TABLE it_stxh WITH KEY tdname = wa_act_search-guid.
      IF sy-subrc <> 0.
        DELETE TABLE it_act_search FROM wa_act_search.
      ENDIF.
    ENDLOOP.
    I now want to eliminate the LOOP because this is taking too much time.  How can I link STXH and CRMD_ORDER_INDEX?
    I already tried:
    SELECT *
      FROM stxh
      INTO CORRESPONDING FIELDS OF T
      FOR ALL ENTRIES IN it_act_sear
      WHERE tdspras = lv_spras
      AND tdname = it_act_search_temp-guid
      AND tdid IN note_types_sel
      AND tdobject = 'CRM_ORDERH'.
    but then I get the error message: "When you use the addition "FOR ALL ENTRIES IN itab", the fields "TDNAME" and "IT_ACT_SEARCH_TEMP-GUID" must have the same type and the same length"
    Kind regards,
    Lieselot

    Hi Lieselot,
      Using a loop is a good thing, but you have to code it carefully : ABAP is faster than queries on database!
      As mentioned in the previous posts, you should use BINARY SEARCH for your READ : it will be much faster. But you can let the DELETE in the loop but deleting regarding the current recording. Your code could be like this one :
    " In order to use BINARY SEARCH, you first have to sort the table
    SORT it_stxh BY tdname.
    " Loop over the records
    LOOP AT it_act_search INTO wa_act_search.
      READ TABLE it_stxh WITH KEY tdname = wa_act_search-guid
        BINARY SEARCH.
      IF sy-subrc  0.
    " Delete the current record
        DELETE it_act_search.
      ENDIF.
    ENDLOOP.
    Best regards,
    Samuel

  • I need to reinstall acrobat X standard and need a link  to download

    I need to reinstall acrobat X standard and need a link  to download
    Linda

    Did you purchase the software on physical media or did you originally purchase a download?  Have you checked your order page to see if it is available?

  • Need a link for PS CS6 Extended Student and Teach

    Need a link for PS CS6 Extended Student and Teacher's Edition.  My copy fried on my laptop and I need to re-install or do a repair install.  The adobe site is trying to force me into this cloud product world.  The links here:
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Are broken --- I won the product - just need install files again without being assimilated into a whole new cloud platform.  Why break the old links?  I  have had this about 20 months....

    Manning777 you should be able to download the software from the page you referenced.  I would recommend trying a different web browser or perhaps checking the security settings on your browser.

  • TS3899 why, when the problems are linked to an ipad, do I need to download a document and fill it in? My ipad doesn't do that! What if my ipad is my computer?

    why, when the problems are linked to an ipad, do I need to download a document and fill it in? My ipad doesn't do that! What if my ipad is my computer?
    My mailing system won't work, and I see many here have had the same problem. so I tried the suggestions I could find. Last thing I tried was deleting my mailing account, so that I could restore it again. Internet is working, everything else is working, plenty of space BUT now my email won't even be restored. Not any of my other mailing accounts either for that matter.
    Background information:
    I use yahoo (the one I prefer by far), sometimes gmail, hotmail if I absolutely have to
    My ipad is ipad 2, 1 year old
    problem with the mailing system started less than a month ago
    iåproblem was that it wouldnt refresh and find new mails, also took a long time sending mails

    Create a iTune and App Store account without credit card
    1. Go to App Store and select a free app
    2. Tap INSTALL APP
    3. Create New Apple ID
    4. Confirm Your Country
    5. Agree with Terms and Conditions
    6. Fill in your Apple ID and Password (must be a valid email address)
    7. Create and answer your secret question e.g. What is the name of my dog?
    8. Select NONE for Payment Method
    9. Fill in Billing Address i.e. your address
    10. Submit application for new Apple ID
    11. Wait for verification email
    12. When email arrive, verify your account
    13. Start downloading your free apps

  • Hi,  I have purchased design standard CS6 creative suite for a mac I dont have dvd though and need a link to download this product so i can enter my serial number

    Hi,  I have purchased design standard CS6 creative suite for a mac I dont have dvd though and need a link to download this product so i can enter my serial number

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Hi ,, I need to reset my security question but the email that I should reserve the reset link has changed , and i don't know it ,, what can I do ????.

    Hi ,, I need to reset my security question but the email that I should reserve the reset link has changed , and i don't know it ,, what can I do ????.

    If you still have problem, call Apple to help reset your Security Question.
    http://support.apple.com/kb/HT5699

Maybe you are looking for

  • Problem with one table in 8i

    Hi, I have one table in my database that is acting weird. When i do simple statements like 'select count(*) from cardholder' it hangs. I don't get any results back, it doesn't jump back at the prompt, it just hangs. Only if i do CTRL - C (it's a AIX

  • Force =?windows-1252?Q?=93File_Save_As=94_Prompt_=28pdf_?=   =?windows-1252?Q?files=29?=

    Hello every one, Does anybody knows how to offer visitors to a website choices to open or "save as" when they click a link on a pdf document? I tried: AddType application/octet-stream .pdf in the .htaccess file* but just FF works, IE7, safari & opera

  • GDM is starting twice

    Folks, I have configured GDM using the Wiki instructions. When I reboot, GDM login screen appears fine, but after a few seconds GDM tries to start again: There already appears to be an X server running on display :0. Should another display number by

  • Flash Player for Iphone out yet?

    I was reading articles back in 2008 that Adobe was developing a Flash Player for the Iphone. However, the latest article I came across, dated April 2009 said basically it was up to Apple to say "We want Flash for the Iphone" Does anyone know what the

  • SSL Support for Newsgroups?

    Hi, I have BT infinity, but can any one tell if BT (as my ISP) supports SSL (Secure Socket Layer) when using newsgroups? Cos India can't!!!!!!!! Thanks Solved! Go to Solution.