How to find the Internal Document Structure Number STLNR from the DIR Key

Hello:
Our requirement: When a user moves the Header DIR of a Document BOM to Released Status, we need to check if all the BOM Items in this Document BOM have also been released (in Status Released). If not, we need to give the user an error message informing them which component DIRs need to be released before the system will allow them to release the Header DIR. We can do this by entering the DIR Key of the Header DIR and find out the Internal Document Structure Number (Document BOM Number = STLNR for BOM Category Document Structure STLTY = D) from the available input of the DIR Key DOKARDOKNRDOKTL+DOKVR. Then we need to use the value of STLNR in Table STPO to find the Document BOM Items and check the status of each BOM Item DIR.
If Table STKO had DIR Key as an input we would have our solution, but alas it does not. Can anyone point us in the right direction by suggesting how to get to STLNR from the DIR Key? Your help would be much appreciated!
Niraj Pant

Hi Niraj,
the STLNR should be contained in structure rc29k. You can also use the DMS BAPI DOCUMENT_GETDETAIL2 with parameter GetStructure or DOCUMENT_GETSTRUCTURE. With these BAPIs you should be able to determine the document structure to an existing document info record. For further information on the mentioned BAPIs please see SAP note <a href="https://service.sap.com/sap/support/notes/766277">766277</a>  which contains a complete documentation on all existing DMS BAPIs.
Best regards,
Christoph
P.S.: Please reward points if this information was usefull.

Similar Messages

  • How to find Down Payment document with vendor details from AW01N

    Hi,
    I am trying to do partial settlement in KO88, for AUC to Fixed Asset. While running the T Code I am getting the following error message.
    Down payment to recipient 100620 0 area 01 amount   13,181,454.04 not cleared
    Message no. AW605
    I went through many threads for this issue and I am trying to clear the downpayment in F-54. But I am not able to find the Vendor details to whom the Down Payment was done, neither the dosument number against which the downpayment has to be cleared.
    I tried finding these details in AW01N. I could find the amount reflecting in the Planned and Posted tab in the first section.
    But was not succesful to find the documents and vendor details from there.
    In the second section in Planned Tab, I am finding some transactions. There I am finding Down Payment mentioned. When I double click on Down Payment in AW01N, I am taken to the document which is a clearing of Down Payment. You can see the below entry.
    81008100
    Fixed Assets Interim
    1,049,371.84-
    30300100
    000000900000 0000
    2,538,367.44
    30520000
    Clg Cap D-Pmts-T-Ast
    2,538,367.44-
    30300100
    000000900000 0000
    1,049,371.84
    30300100
    000000900000 0000
    101,948.00-
    30520000
    Clg Cap D-Pmts-T-Ast
    101,948.00
    Now, how do I know which documents to be cleared to which Invoice and the vendor details.
    Kindly help me with this issue.

    Hi,
    Thanks. Kindly suggest now, how to find the documents and vendor details from there.
    When I double click on any Down Payment in AW01N, I am taken to the document which is a clearing of Down Payment. You can see the below entry.
    81008100
    Fixed Assets Interim
    1,049,371.84-
    30300100
    000000900000 0000
    2,538,367.44
    30520000
    Clg Cap D-Pmts-T-Ast
    2,538,367.44-
    30300100
    000000900000 0000
    1,049,371.84
    30300100
    000000900000 0000
    101,948.00-
    30520000
    Clg Cap D-Pmts-T-Ast
    101,948.00
    Now, I want to clear the down payments in F-54, but how do I know which documents needs to be cleared to which Invoice and the vendor details. Since I am getting error while executing KO88 AUC transfer to Assets.
    Down payment to recipient 100620 0 area 01 amount   12,832,161.41 not cleared
    Message no. AW605
    Diagnosis
    All downpayments were not cleared for the asset under construction for the receiver 100620 0 in area 01. An amount of   12,832,161.41 was not cleared, or too much was cleared.
    You can only completely transfer an asset under construction if you reverse the down payments in the current fiscal year beforehand.
    Procedure
    Clear the downpayments that you want to settle to receiver 100620 0.
    Check screen shot.

  • TS1362 on my i phone the songs stop playing in the middle and skip sometimes and at other times the song stops and restarts playing from the beginning.  what is wrong

    on my iphone 4 the songs skip in the middle and also stop playing mid song and restart from the beginning and it happens over and over and the song never completely finishes.  I dont know what to do

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • How to find out Inquiry  document number in sales quotation

    Hi all
    my client have requirement that while creating quotation with reference to inquiry number the system should copy inquiry number in sales quotation it should be save into any particulates field so base on that  he can configure  output determination can any one help me how to find out Inquiry  document number in sales quotation and what are the config step i need to do
    Thanks and regards
    rajesh

    Hi raj
    Firstly  , In Sales header data you can see the preceding document feild but i am not sure in which tab .
    Secondly, As far as document flow is concerned go to VA22 and then you will get the document number of the quotation and at the top you will get one small icon which is document flow , but i am, not sure with the shortcut but just check with  Shift +F2. then you can see the flow
    Regards
    Srinath

  • I dont have any Applecare registration number. I bought my Mac a year before and is still under the warranty. I dnt how to find or purchase applecare registration number. Please help

    I dont have any Applecare registration number. I bought my Mac a year before and is still under the warranty. I dnt how to find or purchase applecare registration number. Please help

    Enter your MBP serial number here and you will then be able to determine the warranty status.
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Ciao.

  • HT1529 How to find another Apple ID is registered my Product the Serial number.

    How to find another Apple ID is registered my Product the Serial number.
    my Apple Product cannot register to my Apple ID.

    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/

  • We have only GL SAP document number. how to find Vendor clearing document by these GL Document number please suggest and suggest Tcode.

    We have only GL SAP document number. how to find Vendor clearing document by these GL Document number please suggest and suggest Tcode.

    Hi Mahesh,
    To display a document, proceed as follows:
    Tcode : FBL1N (Vendor Line Item Display)
    1-Select option's.
    2- List
    Regard's.
    Cem Ates

  • How do I find the time capsule serial number remotely from my mac?

    How do I find the time capsule serial number remotely from my mac?

    Hi All,
    I found it in my Support profile.  https://supportprofile.apple.com.
    Thanks.
    Richie

  • HT201250 how do I disable time machine? I want to use my external drive as additional storage. But it mirrors everything I edit. If I remove a document, it removes it from the external drive as well.

    how do I disable time machine? I want to use my external drive as additional storage. But it mirrors everything I edit. If I remove a document, it removes it from the external drive as well.
    I purchased a 1 TB WD passport drive, formatted for Mac. I set it up originally (mistakenly) to backup time machine. I went back and set it to "do not backup"  It still backs up evey document I edit. If I add a document when the drive is disconnected, it automatically adds it to the external drive the next time connect to the passport drive. If I remove a document the same thing happens.
    I need additional storage to free up space on my laptop hard drive. This is not working the way I want it to. Help!

    Do not backup your startup volume to another partition on the same drive. If the drive fails you have nothing. Always backup to another drive or volume on another drive.
    The I/O error usually means there's a problem with the drive. Clone ASAP, then repartition and reformat the main drive. Then restore the clone. Here's the basic process:
    You will have to backup your OS X partition to an external drive, boot from the external drive, use Disk Utility to repartition and reformat your hard drive back to a single volume, then restore your backup to the internal hard drive.
    Get an empty external hard drive and clone your internal drive to the external one.
    Boot from the external hard drive.
    Erase the internal hard drive.
    Restore the external clone to the internal hard drive.
    Clone the internal drive to the external drive
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the external drive and click on the downward pointing arrow button.
    After startup do the following:
    Erase internal hard drive
    Open Disk Utility in your Utilities folder.
    After DU loads select your internal hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.  Do not quit Disk Utility.
    Restore the clone to the internal hard drive
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the internal hard drive. Source means the external startup drive.
    Note that the Source and Destination drives are swapped for this last procedure.

  • How to find out that particular structure is used in which tables

    Hello Friends,
    Most of the times through techinal information we come to know the table name for a particular field.And in se16 when i give that table name than system says its structure and not the table.So in se11 when i give that structure name in database table field, its shows all the field in that structure, but not the data stored in that field.
    So my question is how to find out that particular structure is used in which tables,so that i can view data stored in that structure?
    Thanking you guys in advance.
    Regards,
    Jitendra

    Dear,
    When you click on the technical information it will give the structure name and field, double click on the structure and it will take you the display structure screen, there you will have the where-used List icon (Ctrl + Shift + F3) at the top , click on that and it will show the options, select Database tables and execute, it will give the tables related to the structure, you can explore the list of tables and find where your required field is stored in them.
    Thanks & Regards,
    Vijaya Bhaskar A

  • How do I scan a document into my computer? The instruction book does not go into detail

    HP deskjet 2540 All-in-one
    How do I scan a document into my computer? The instruction book does not go into detail
    Window 7
    Thanks for helping me

    Hi @thea14,
    Welcome to the HP Forums!
    I noticed that you are wondering how to scan with your HP Deskjet 2540 on Windows 7, and I am happy to help!
    Please take a look through this how to scan guide, Scan from Windows 7 With the Full Feature HP Software for HP Multifunction Printers.
    Hope this guide answers your questions, and thank you for posting!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • Serial number disappears from the system profiler... How to get it back?

    Hi there,
    We have come across a known behaviour where the serial number of the computer disappears from the system profiler and 'about this mac' menu, whwnever the logic board is replaced. Any ideas how to get this information back on the computer(Seems all the macs are affected)
    Is it possible to flash the firmware to copy the contents? Heard someone trying to flash BIOS? will this work or will it damage the firmware? Please HELP!!!

    You might want to take a look at this Developer Tech Note:
    http://developer.apple.com/technotes/tn/tn1103.html
    Specifically, this quote:
    "Caveats for using the serial number
    It is possible for a system to lose its serial number so that it will no longer appear either in System Profiler or the I/O Registry. Repairing a system by swapping hardware components is one reason this can happen. Apple does not document the specific details of how a machine can lose its serial number. Once the serial number has been lost there is no means to restore it to the machine."
    It sounds like there may not be an easy (or documented) way to put the serial number back.
    Steve

  • HT3349 How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    There is no analog to MS Excels print range.  So the next best thing is to plan your data so that you don't need to use print range.  The next best thing after that is to select the range of cells you want to print, then copy, the switch to the application Preview, and create a new document from the clipboard (select the menu item "File > New from Clibboard") then select all, copy then paste to the destination (maybe an email) .
    You can also paste that portion of the table into another table (or a new table) by pasting values only

  • How do I save a document in "Microsoft Word". The options for saving a doc. no longer say, "Save as a Microsoft Doc."

    How do I save a document in "Microsoft Word". The options for saving a doc. no longer say, "Save as a Microsoft Doc."

    You want Pages, not workstations, and you might want to bookmark Lion and MacBook Pro fora.
    http://www.apple.com/support/pages/
    http://www.apple.com/support/lion/
    http://www.apple.com/support/macbookpro/

Maybe you are looking for

  • No photos in iphoto after update

    Hi looks like after teh latest update of iphoto, my entire library has gone!  Its there in time machine but doesn't seem to want to restore.  It gives me a message saying it wants to upgrade the thumbnails, but I seem to have been throught this loop

  • How to add long text in bdc for transaction fb01 ?

    IN the existing program of bdc fb01 i have to add a long text field but it gets stuck while i process in sm35 is there a fm to add the field directly thanks in a advance

  • Error while creating database on 10.2 enterprise eidition

    Hi, When i trying to create database through batch file on oracle version 10.2 enterprise edition, its giving error. ORA-01092: ORACLE instance terminated. Disconnection forced Following error message logged in log file: ORA-00604: error occurred at

  • Key-up and down triggers not firing

    I have a multi-record block and want to go to the previous and next records in it when the user presses the up and down arrow keys. I thought this was default behavior, but the keys didn't do anything so I tried putting key-up and key-down triggers o

  • How can I tell what version a I-tv is

    How can I tell what version a I-tv is