Getting details like PO No., GRN No.  by  giving  invoice number

Hi ABAP guru's,
                         I am a new member of this community. I have been asked to design a layout for printing Vendor Invoice using SapScript. Their requirement is that if they provide invoce number in the input box they should get the following details on the form.
details :
1) Invoice no. 2) Invoice document No. 3) GR No. 4) PO No. 5) PO date
6) Vendor invoice date .
Please,
             I need your help for accomplishing the above task. I am using my own print program.I need the code to display the above items on the forms.
Plz help me. It is urgent.
thanks,
Salman

Hi
Use the Vendor Invoice Tables <b>RBKP (header) RSEG (item)</b> for your requirement
take ESEG-BELNR as selection screen field
And you will get the entire data by joining these two tables like Vendor(LIFNR), Inv Number(BELNR),POno(EBELN), Item no(EBELP), Invoice date(RBKP-BUDAT)etc
Take the PO date from EKKO/EKPO tables using above PO no and Item no
and similarly pass the above RSEG- EBELN and EBELP fields to MSEG and Take the GR no and its details
It is easy to fetch the above data
1.Join RBKP and RSEG data and fetch into ITAB
2.for all entries in ITAB fetch data from EKKO and EKPO tables into ITAB1
3. Fora llentries of ITAB1 fetch data from MSEG table
and design the script/smartform and display above fields data
<b>Reward points for useful Answers</b>
Regards
Anji

Similar Messages

  • PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.

    Hi Experts,
    I am trying to  build a PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.
    Can anyone advise on this please.
    Regards

    Get-SPSolution|Select Name,Scope,LastOperationResult,LastOperationEndTime|Export-CSV "SPInstalledSolutions.csv" -NoTypeInformation
    SPSolution properties
    Get-SPSolution
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?

    How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?

    Ok what about If i need to get all important attributes by comparing Email addresses from excel file and get all required answers
    currently I am trying to verify how many users Lines are missing , Emp numbers , Phones  from AD with HR list available to me.
    I am trying to Scan all the AD matching HR Excel sheet and want to search quickly how many accounts are active , Line Managers names , Phone numbers , locations , title , AD ID .
    these are fields I am interested to get in output file after scanning Excel file and geting reply from AD in another Excel or CSV file
    Name’tAccountName’tDescri ption’tEma I IAddress’tLastLogonoate’tManager’tTitle’tDepartmenttComp
    any’twhenCreatedtAcctEnabled’tGroups
    Name,SamAccountName,Description,EmailAddress,LastLogonDate,Manager,Title,Department,Company,whenCreated,Enabled,MemberOf | Sort-Object -Property Name
    Can you modify this script to help me out :)
    Hi,
    Depending on what attributes you want.
    Import-Module ActiveDirectory
    #From a txt file
    $USERS = Get-Content C:\Temp\USER-LIST.txt
    $USERS|Foreach{Get-ADUser $_ -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
    #or from a csv file
    $USERS = Import-CSV C:\Temp\USER-LIST.csv
    $USERS|Foreach{Get-ADUser $_.SAMAccountName -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
    Regards,
    Dear
    Gautam Ji<abbr class="affil"></abbr>
    Thanks for replying I tried both but it did not work for me instead this command which i extended generated nice results
    Get-ADUser -Filter * -Property * | Select-Object Name,Created,createTimeStamp,DistinguishedName,DisplayName,
    EmployeeID,EmployeeNumber,Enabled,HomeDirectory,LastBadPasswordAttempt,LastLogonDate,LogonWorkstations,City,Manager,MemberOf,MobilePhone,PasswordLastSet,BadLogonCount,pwdLastSet,SamAccountName,UserPrincipalName,whenCreated,whenChanged
    | Export-CSV Allusers.csv -NoTypeInformation -Encoding UTF8
    only one problem is that Manager column is generating this outcome rather showing exact name of the line Manager .
    CN=Mr XYZ ,OU=Users,OU=IT,OU=Departments,OU=Company ,DC=organization,DC=com,DC=tk

  • How to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    how to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    You can use third party software True Last Logon 2.9.You can export the file in excel for report creation.You can use the trial version this will achieve what you are looking for.
    True Last Logon displays the following Active Directory information:
    --Users real name and logon name
    --Detailed account status
    --Last Logon Date & Time
    --Last Logon Timestamp (Replicated value)
    --Account Expiry Date & Time
    --Enabled or Disabled Account
    --Locked Accounts
    --Password Expires
    --Password Last Set Date & Time
    --Logon Count
    --Bad Password Count
    --Expiry Date
    --You can also query for any other attribute (Example: Description, telephone Number, custom attibutes etc)
    Refer the below link for trial version:
    http://www.dovestones.com/products/True_Last_Logon.asp
    Best Regards,
    Sandesh Dubey.
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator |
    My Blog
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to know text details like text id, text name, etc

    hi
       how to know the header text details like text id, text name, text object that details. to pass in Read_text.
    Thanks
    sri

    Hi,
    One option is to set a breakpoint at function module READ_TEXT while reading the text during the transaction. here you can get teh exact values that need to be passed.
    Regards,
    Devendra

  • SAP_WAPI_GET_OBJECTS: How to get detailed values

    Hi experts,
    I am using BAPI SAP_WAPI_GET_OBJECTS to get container information within my Java Web Dynpro Application. This RFC (BAPI) contains some information about the used Business Object with the given Import-Parameter and some other general values (in TABLE Output Objects and Objects2) but I also need the dependent values from this Business Object. For example, I use BUS1001with a material number as input in order to get detailed information like material group and other values in that container.
    How can I retrieve that in BAPIs (RFC) in order to use it in Web Dynpro? Are there some other existing BAPIs, I can use to get these information?
    Best regards,
    Frank

    Hi,
    If you need just few attributes from the business object(s), it might be easier to just bind them from the business object to the task container. Then you can read the container with SAP_WAPI_READ_CONTAINER.
    If you want to really instantiate the business objects, you need to develop your own RFC enabled function. And even then it might be finally easier (inside your custom function) to get your needed business data by using some other BAPIs or even direct SELECTs from database with your key fields.
    REgards,
    KArri

  • Check image details like resolution, dimensions, color mode, file format, file size and file name

    I have 1000 images in a folder, i want to check their details like resolution, dimensions, color mode, file format, file size and file name into excel with nice user interface.
    Pls help me, m just learning ABCD in VB.

    The code in the file at the link below might give you a starting point. Firstly it gives you the opportunity to list all of the properties of a file type and then you can select the properties that you want and the second utility gives you the
    opportunity to list the selected properties for all files in a selected folder.
    Download and extract the file and open the file in Excel.
    Click the first button List Meta Data for One File (Run first)
    Navigate to and Select any ONE individual photo file. (Photo files because that is what you indicated you are working with.)
    You will be presented with a list of the available properties for the file. Where the Item value is blank, that property is not recorded for the particular file. Different file types have different properties and it is also dependent on how the file
    was created but generally if all of the files come from the same source then the same properties are recorded for all files from that source.
    Now insert a Y in column D for all of the required properties. (Don't select any with the Item value blank)
    Click the second button List Selected Meta Data for all Files in a Folder (Run after selecting the required properties).
    Next select a folder where the files reside. (You might need to back up to the folder if dialog is blank because it will not show individual files because the code only allows Folders.)
    You will be presented with a report listing all of the selected properties for all of the files in the selected folder.
    The user interface is not that great but you can improve on that if you want to with a Userform as you get to know VBA a little better.
    Download the file from here.
    https://onedrive.live.com/redir?resid=C2A7A5912D3D17B0!273&authkey=!ANf8R0Xf0-h3wJ8&ithint=file%2czip
    Regards, OssieMac

  • Need to get details of all the user on sharepoint site

    i have around 1000+ users in my tenant.
    i am not sure what permissions have given to which user on which location on share point online site.
    Is there any way to find this in office 365 ?
    with the help of powershell or any  code?

    Hi,
    According to your description, you might want to get details about permissions of all users in your SharePoint Online tenant.
    A solution can be like this: Iterate through all site collections in your tenant, all sites in each site collection, all lists/libraries in each sites. Then we can
    start to check the user permissions on each of the object(site, list or library) retrieved, all the operation can be done with SharePoint Client Object Model with C#.
    Here is a link about how to retrieve all site collections in a tenant:
    http://sharepoint.stackexchange.com/questions/105653/retrieve-all-site-collections
    About how to enumerate all the sites and lists in a site collection:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/284b5f9c-104e-4cbb-8d59-757274f075c5/get-all-subsites-under-site-collection-by-sharepoint-2010-client-object-model?forum=sharepointdevelopmentprevious
    https://msdn.microsoft.com/en-us/library/office/ee538683(v=office.14).aspx
    Here is a working demo about how to get user permissions of a list using Client Object Model, you can use it as a reference:
    public static void getListRoleAssignments()
    string siteUrl = "http://yoursite";
    string listName = "List1";
    ClientContext ctx = new ClientContext(siteUrl);
    List myList = ctx.Web.Lists.GetByTitle(listName);
    var roles = ctx.LoadQuery(
    myList.RoleAssignments.Include(
    roleAsg => roleAsg.Member,
    roleAsg => roleAsg.RoleDefinitionBindings.Include(roleDef => roleDef.Name)));
    ctx.ExecuteQuery();
    foreach (RoleAssignment ra in roles)
    Console.WriteLine("User or Group: " + ra.Member.LoginName.ToString());
    var rdc = ra.RoleDefinitionBindings;
    string permission = string.Empty;
    foreach (var rdbc in rdc)
    Console.WriteLine("Permission: " + rdbc.Name.ToString());
    Console.WriteLine("+++++++++++++");
    It won't be an easy job to make all these things working together, therefore, a fact you might want to take into consideration is that more time and effort would be
    required.
    Feel free to reply if there still anything I can help in this requirement.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Dispaly Printing Details like printing date

    Hi
    Does any know if there is an option to display/print in every report
    the printing details like printing date , title , page , and input parameters  fields
    Thanks in advance
    Regards

    PAGE : &SFSY-PAGE& OF &SFSY-FORMPAGES&
    DATE : &SFSY-DATE&            
    TIME : &SFSY-TIME&            
    USER LOGON : &SFSY-USERNAME& 
    kishan negi

  • Hi, I recently upgraded my xcode to 5.1, my project is running well in ios 7.0,6.0, But in ios 7.1 i'm getting error like"iOS Simulator failed to install the application". Can anybody please suggest the solution for it.

    My project is not running in ios 7.1 simulator i'm getting error like "iOS Simulator failed to install the application". Please suggest a solution for it.

    We aren't Apple, just users like you. Have you tried a reset? Hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • I am getting error like "nca_connect_server: cannot communucate to host "

    I am getting error like "nca_connect_server: cannot communucate to host " while replaying my script through Loadrunner 9.1
    virtual User Script started
    Starting action vuser_init.
    vuser_init.c(12): nca_set_connect_opt("SCALE_INFO")
    vuser_init.c(16): Error: nca_connect_server: cannot communicate with host
    PLease give me some solutions.
    you can post me in my email id: [email protected]

    Hi,
    Please see if (Note: 376631.1 - Forms Server Loadbalancing Using Metrics Server Client Not Working with Mercury Loadrunner) helps.
    Regards,
    Hussein

  • Function Module to Get details of FI document  including line items

    Hi all...
    I need function module/Bapi to get details of FI document details .....
    Thanks and Regards ..
    ..Ashish Bhide

    Hi,
    Try some of below Function Modules.
    FI_DOCUMENT_LIST_DISPLAY
    FI_DOCUMENT_CROSS_COMP_DISPLAY
    FI_DOCUMENT_DISPLAY_RFC
    FI_FM_DOC_DISPLAY ,
    FI_ITEMS_DISPLAY
    KR Jaideep,

  • HT5364 I installed OX X Moutain Lion and now I have trouble printing pdf documents--get messages like "plug in failed" or "no pages selected on printer" when clearly pages are selected

    I installed OS X Mountain Lion on my desktop MAC and since then I cannot print pdf documents---I get messages like "plug in failed" or sometimes "no pages selected on printer" when clearly pages are selected

    DO NOT USE PREVIEW TO FILL OUT PDF FORMS, IT WILL DESTROY PDF FILES. Sorry, but I had to shout here to prevent damage to your PDF files.
    Here is one of the symptoms when you fill out a PDF form with Preview: If you save it and return it to the author, they will not be able to see the text that you've added to form fields - unless they click on a field, which will reveal the contents of just that field. You can recover from this problem, but Preview will also remove other field types, and will actually rewrite your complete PDF while ignoring what it does not understand. Take a look at this blog post for more information about the damage that Preview will cause: Preview.app - Killer of PDF Files

  • How to get details about Exception catched in Exception branch of the Block

    Hello Experts,
    Is it possible to get details about Exception catched in Exception branch of the Block in Integration Process (BPM)?
    In the Exception branch System Error is catched, but from time to time different type of System Errors are happening during sync call to WebService - Connection Timeout, Connection Refused, UnknownHost, etc.
    So the task is somehow to map the type of System Error to the response. I was trying to create a mapping using as source the message which is coming from the Adapter after the sync call, but the mapping is failing with "No Source Payload" error.
    Maybe the description is somewhere in Header or Dynamic configuration?
    Or it is possible to access it somehow with JAVA-maping?
    Thanks for your help!

    Hey,
          the message from the exception can be utilized by using alerts(in order to mail,sms r fax). but otherwise its not possible using mappings or container.
    check this link for alert configuration.
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

  • Process Order Details like batch number, mfg date flow to a new process ord

    Hi Experts,
    I have a doubt in Process Order.
    I have two stage production.
    1. Blending
    2. Packing
    I create a process order for blending and assign a batch number and manufacturing date for Blending operation.
    Release the process order.
    Final Confirmation of the process order.
    I complete all the process, Goods Reciept is done.
    Technically completed the Process Order.
    Now my 1st stage Process order is completed and ready for the 2nd stage production i.e., Packing.
    Now I create a new process order,
    here I am having the problem that I need to enter all the details like batch number, manufacturing date etc..
    I want to avoid this in the 2nd process order.
    How to do this i.e., carry forwarding the details of the 1st process order into the 2nd process order.
    Is there any setting required at the back end?
    I was told about Push operation to rectify the above problem. But I am not clear about that.
    Can any one clearly explain about that step- by - step.
    Thanks in advance,
    Regards,
    B. Praveen
    Praveen

    closing thread

Maybe you are looking for

  • Sharepoint 2013 AAMs and IIS 7 bindings

    Hi everybody, I have a server running Sharepoint Foundation 2013 and IIS7. On the IIS7 there was already a website running on port 80. Now I have configured a sharepoint site running at port 31600. From internal network everything is working fine. Bu

  • How can I retrieve a forgotten password for my home wi-fi network?

    I have a wi-fi network at home for my iMac, printer, phone and two iPads. On trying to connect a new device I discovered that the password I thought was correct will not work. How can I retrieve the correct password from one of the devices already on

  • Cannot read "must have" pdf - no way to install adobe reader

    I just received an email attaching a pdf that is extremely important to me - has a form that I must have for an application and cannot seem to get it or anywhere else on the internet.  When I went to view it both in my email attachment and on the int

  • Jcomponent vs jframe

    hey all, im kinda new in java programming but i like this language alot, i was trying to look online for some GUI code, well i found a lot of sample swing code, some of them extends JComponent while the other extends JFrame... what exactly is the dif

  • IDOC Error Notification

    <u><b>ALE-IDOC Master Data Distribution</b></u> We have a busines requirement to email/notify an agent when an incoming idoc has an error-status. Please let me know how to proceed with this. Thanks in advance!