Iterating through bseg line items and picking the vendor line item

Hello,
I am creating a report in which i want to show the list of vendors (with their WHT's). The output will be based on selection of a certain period(range). I guess i have to first iterate through BKPF and get those documents that lie in the given range, then i 'll have to iterate through the selected documents in BSEG and pick out the vendor line items (KOART = 'S'). Will i be using GET for this..
Is this the right way? secondly, if yes, can sumone show me how to iterate through BKPF and BSEG and get vendor details.?
Thanks..
SHehryar

Hey,
Instead of selecting data from BKPF-BSEG you could use BKPF-BSIK-BSAK.
BSIK and BSAK have the same details as BSEG and are use by SAP for reporting purposes.
Similarly for customer the table are BSID, BSAD and for GL the tables are BSIS and BSAS.
BSIK will have the open items and BSAK will have the cleared items.
-Kiran

Similar Messages

  • Prints two lines perfect and then the next line cannot be read.

    Pixma MX882 When printing from computer or copying it prints two lines perfect, then the third line is not clear.  Can see letters are fuzzy (not clear, but can tell it tried to print)  Please help with any suggestions for correcting this problem. I have changed out the ink carts and run maintenance program.  Thanks.  Ross

    Hi rossfwalker,
    We recommend performing an automatic and manual print head alignment on the printer to see if this will resolve the issue. To do this, please follow the steps located here.  Should you still experience difficulty, the printer will require servicing; please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to add the line item text in the Ledger line item report

    Hi SAP Gurus,
    I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
    advance thanks for the help.
    Regards,
    Deva.

    Hi,
    You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
    Step 1:-
    Create function module Z_GET_SGTXT as below:-
    Import:-
    BELNR LIKE BKPF-BELNR
    BUKRS LIKE BKPF-BUKRS
    BUZEI LIKE BSEG-BUZEI
    GJAHR LIKE BKPF-GJAHR
    Export:-
    PRCTR LIKE BSEG-SGTXT
    FUNCTION Z_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(BELNR) LIKE BKPF-BELNR
    *" VALUE(BUKRS) LIKE BKPF-BUKRS
    *" VALUE(BUZEI) LIKE BSEG-BUZEI
    *" VALUE(GJAHR) LIKE BKPF-GJAHR
    *" EXPORTING
    *" VALUE(SGTXT) LIKE BSEG-SGTXT
    SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
    AND BELNR = BELNR
    AND BUKRS = BUKRS
    AND BUZEI = BUZEI.
    ENDFUNCTION.
    Step 2:-
    Then create the Function Modules as below:-
    Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
    FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    *" EXPORTING
    *" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
    Initialize Output by using the following line
    E_POSTAB = I_POSTAB.
    E_POSTAB = I_POSTAB. "<-- important
    CALL FUNCTION 'Z_GET_SGTXT'
    EXPORTING
    BELNR = I_POSTAB-BELNR
    BUKRS = I_POSTAB-BUKRS
    BUZEI = I_POSTAB-BUZEI
    GJAHR = I_POSTAB-GJAHR
    IMPORTING
    SGTXT = E_POSTAB-SGTXT
    EXCEPTIONS
    OTHERS = 1.
    ENDFUNCTION.
    Step3:-
    Transaction FIBF:-
    Settings -> Products -> of a Customer
    SGTXT Text in Line Item Display Active
    Settings -> P/S Module -> of a Customer
    00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
    Step 4:-
    Create the layout for FBL*N with display of the TEXT.
    Regards,
    Gaurav

  • We cannot see the segment in the vendor line item

    Hi,
    We have updated the Segment field as Optional in OB41 transaction for posting key equal to 21 and the same for the corresponding GL account. When we create a document in FB01 transaction with SA type for example, we can't see the segment field in the vendor line item.
    Could you tell me if we need to do something more to see the segment?
    Thanks in advance,
    SAP user

    Hi,
    whe we are  entering  the vendor line item we can enter the Fund and fund Center, our segment will be derived from the fund ( we have done it in a substitution, if the segment is empty we derive it from the fund) and in BSEG table we can see that the segment is filled correctly. But we cannot change it because this fields segment don't appear in the screen. We have reviewed the SAPMF05A 0332 Screen (screen that we can see when we are entering the vendor line item and we push in "More data" button) but the segment field don't appear.
    Thanks in advance,
    Sap Userr

  • Transaction/Movement type on the vendor line item

    When we post to a vendor using F-43 (or FB01) using posting key 31. We want the field Transaction type to be available for input in the vendor line item. But this is not happening. note: In the FSG of vendor recon account and Posting key 31 this field is optional. On the other hand, this field is available in the GL line item. Please also note that I am not talking here the transaction type available for asset posting
    Please advice
    Thanks
    Ranjit
    Edited by: Ron on May 14, 2010 2:39 PM

    Hi Ranjit,
    Perhaps it was hidden. Please check System -> Status. Double click the screen number. You will get to the next screen. Goto -> Layout or click the layout icon. You will see the screen layout that being used in F-43. To modify this, please get the ABAPer to assist.
    Regards
    Fauzi

  • Lines above and below the total values

    Hi All,
    This is for an invoice. I display line items and then the totals. I want to draw lines above and below the total values. i am able to underline the total values using the paragraph formats but that will give only lines below the values. how can I get the lines above and below the values in correct proportions? Please give me some ideas on how to do this.
    Thank you,
    Prathima.

    Prathima,
    You should not be using ULINE and VLINE commands here. Instead you have to declare boxes.
    /:           BOX FRAME 10 TW
    /:           BOX XPOS  '3.0' CM  WIDTH 0 TW FRAME 10 TW
    /:           BOX XPOS  '6.0' CM  WIDTH 0 TW FRAME 10 TW
    /:           BOX XPOS  '9.0' CM  WIDTH 0 TW FRAME 10 TW
    /:           BOX XPOS '12.0' CM  WIDTH 0 TW FRAME 10 TW
    Using boxes is advantageous in a lot of ways as you can specify the x and y positions exactly.
    Thanks
    Aneesh.

  • Job executing the SSIS pkg via cmdExec line step not picking the config details

    Job executing the SSIS pkg via cmdExec line step not picking the config details (of prod server connections/parameters)
    specified in dtsConfig file and by default using the values present in the pkg (which is of dev env).  I have to open the package
    uncheck "Enable package configuration" save the package and check it again and save again then the package will use the prod config.
    What could be the reason? and how to fix this?
    The SSIS pkg and the dtsCofig reside in same folder of network drive.
    SQL Server R2 Ent Ed
    Thanks

    Hi Ramzi24,
    This is the by design behavior. The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command lines or other package configurations configured in the job step. In this way, as long
    as the default package configurations file is valid, the configurations of it cannot be overwritten.
    If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations or
    modify the XML file path in the BIDS.
    If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file. 
    Reference:
    http://technet.microsoft.com/en-us/library/ms141682(v=sql.105).aspx
    Regards,
    Mike Yin
    TechNet Community Support

  • Just bought a new imac and tried to download all my music from my iPod but it only allow me to download purchased items and not the rest of stuff stored on a previous pc itunes folder. How do I get round this ?

    Just bought a new imac and tried to download all my music from my iPod but it only allow me to download purchased items and not the rest of stuff stored on a previous pc itunes folder. How do I get round this ?

    The simplest way to transfer everything is to copy the entire /Music/iTunes/ folder from old computer to /Music/ on new computer.
    See "External Drive" in this article-> iTunes: How to move your music to a new computer

  • Loop through a csv file and return the number of rows in it?

    What would be simplest way to loop through a csv file and
    return the number of rows in it?
    <cffile action="read" file="#filename#" output="#csvstr#"
    >
    <LOOP THROUGH AND COUNT ROWS>

    ListLen(). Use chr(13) as your delimiter

  • What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?

    What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?

    What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?

  • Finding multiple strings in a text file and deleting the entire line

    Get-Content c:\output-Copy.txt | Where-Object {$_ -notmatch 'something1', 'something2', 'something3', 'something4' } | Set-Content temp.txt
    Above is the program that when it has 1 argument in the -notmatch part will find the specific string and delete the entire line. I need to be able to use multiple strings for my search, I am totally drawing a blank on this and I know its something REALLY
    simple but my brain is fried. The above code will work IF i only leave 'something1' and delete the rest. I need to find MULTIPLE matches and remove them all at once, what is a good way to accomplish this.

    You can use an alternating regex, like this:
    Get-Content c:\output-Copy.txt |
    Where-Object {$_ -notmatch 'something1|something2|something3|something4' } |
    Set-Content temp.txt
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How come when I view flash videos my videos stop, but the audio plays  and I see rainbow colored lines up and down the video.

    How come when I view flash videos my videos stop, but the audio plays  and I see rainbow colored lines up and down the video. I attached a image below.

    ATR, just to make sure you understand me, all my video clips in my folders appear as the first frame of the video clip when I view my folders as (small, medium, large)icons instead of lists, when saved as .avi files but when saved as .mp4 files, those icons display as a graphic icon of filmstrip with a musical note on it. I do have various other methods to open with (quick time, windows media, winamp or real player) but prefer real player because I like it's quick and easy trimmer that comes along with it, since so many of my videos are just pet antics where you need to clip off the boring beginning and ends of the video.
    I did go on a few of the icons and right clicked, Open With, and tried quick time and also Windows Media and it did nothing as far as how the file was saved for display, and they opened the same no matter which player I used...the actual video opens and plays right at it's first frame... but it's the way it is visually displayed in STORAGE that bugs me because it isn't immediately apparent to me what it is a video of (weddings, outside the house, pet antics)... it makes me have to actually title things and read titles where before I let it just be dates because I had the visual of that first frame as a reference. Obviously, this is a problem for unedited videos only, as anything I actually work with, I do give a title along with the date of the video.
    I also just realized this seems to be the way ALL videos that are wrapped in .mp4 are displayed, as my bloggie camera's videos appear the same way. Now I know why! My other videos display as .avi's so I see the frame. Puzzle solved. Guess I'll just have to learn to live with it, as it seems to be how things display with the various formats.
    Now I need to watch some tutorials to learn how this Premiere program works! It's all new to me, since this is the first time I've been able load any of my videos onto it. I haven't even been able to figure out how to trim on it yet!

  • GL Line Item Display vs. Vendor Line Item Display

    Hi Gurus,
    I have parked a document with a vendor line item. When generating
    standrd GL line item reports (FBL3N or S_ALR_87012282), the line items
    for my parked document are not displayed. But if I generate the vendor
    line item report (FBL1N), this parked document is displayed.
    Please confirm if this is a standard behaviour and why.
    Thanks and best regards

    HI
    I knew that, a complete FI document wont give such error thats why i asked for Document type ,You please note each document type has its own characteristic.
    Hope your query closed
    Thanks

  • Create additional field in sales order item and copy to purchase order item

    Dear SAP Gurus,
    I am hoping that someone could help me by providing me with how to implement the following 2 requirements in the SD order and in the purchase order.
    1. I am wanting to add a custom field to the SD sales order item copying a value from the vendor customer master.
    2. I then want to add a custom field to the purchase order item and copy the value from my custom field in 1. to this new custom field..
    Can you please advise how I would go about implementing the above requirements?  I am assuming that there are exits to allow me to implement these 2 requirements.
    Many thanks
    Henry

    Hi,
    For the first requirement you can use the USEREXIT_MOVE_FIELD_TO_VBAP in report MV45AFZZ.
    For the second, as I think that you will create a RFQ you can try to use the enhancement MEREQ001.
    Regards,
    Eduardo

  • Maximum open item % and no of days open item in credit management

    Hi
    Can any body explain how  works " Maximum open item % and no of days open item " after checked in ova8  with examples.in credit management.
    regards

    hello, friend.
    maximum open items is helpful for you if the customer is still within credit limit but has overdue open items.
    let's say your customer has a credit limit of $100,000.00.  and you set in OVA8 for maximum of 20% or $20,000.00.
    now let's say your customer's total exposure is $43,699.00, which is still within credit limit.  however, out of this, $21,245.00 is over the credit terms of 14 days.  now if you set "1" in days in OVA8, 1 day after overdue the system will either block the newly processed sales order or issue a warning, depending on OVA8 settings.
    regards.

Maybe you are looking for

  • Is there an update for iBooks Author 1.1?

    Just checked in the iTunes store.. and they say iBooks Author 2.2 is available, but that I have 'downloaded' it already... but I check my version of the applicaton and it is only 1.1  What's THAT about??

  • Faxes are not sent automaticly in Tx SOST

    Good day, System Info: SAP ECC6 7.0 Sup Pkg 133 Oracle 10.2.0.2 HP-UX 11.11 We have an ABAP programs that creates a report that is to be faxed to customers. The program runs and puts the faxes in SOST. They are however marked with "Still no entry in

  • Financial Year Wrongly defined in SAP-B1

    Hello Experts,                           In SAP-B1, We have Wrongly defined Financial year  i.e(01 January 2011to 31 Dec2011) Instead of (01 April 2011 to 31 March2012). Now, System not allow to chnage the financial year, because the end date  automa

  • International Warranty for pre-configured T420

    Hi, I am interested to purchase the following laptop. I am from Singapore. The manufacturer part number is 417858U. I could not find the relevant warranty information from this or other websites. The warranty is 3 years, but I am not sure whether I w

  • My iPad2 mail works well except...

    My iPad2 works well. Mail recieves and sends fine EXCEPT I cannot send to a few select contacts. When I try I get the usual "Relay eror message". Again, 90% of my contacts do not generate this eror message. Also, I can send to these contacts fine fro