PO idocs at line item level

Hi All,
  I have a requirement to send all line items of PO as seperate idocs when it is created or changed. I am creating a output message to trigger, Purchase Order does not have output messages at item level. Is there a way i can send all items as inidividual items, by writing a routine in Output determination. Please let me know if there is an another way to do that.
Any help would be appreciated.
Thanks,
Kumar

Hi Guys,
Could you please update on this query ? Is there any way other than filling/Creating the IDOC in BADI?
I would like to create one IDOC per PO line item on change.
Appreciating your views.
Regards,
Guru

Similar Messages

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • Idoc per line item in SO

    Hi
    I have configured output type at the line item level for Sales orders. When I have save a sales document, the ORDERS05 Idoc type is triggered. It contains segments for all the line items.
    Can we have the Idoc generated with only line item, for which the output type is created, even if the Sales Order has n number of Items?

    Hi,
    What I want is to get the net value that is displayed in the conditions tab of VA01/VA02
    before saving the sales orders. Is there a way to do that or an FM that computes for the
    net value per line item.Thank you!

  • IDOC_OUTPUT_ORDRSP at line item level

    Hi All,
    Scenario:  I want to issue the sales order conformation EDI output at the line item level. I set up the condition tables/records at the line item level so the BA00 output is triggered at each line item. But each IDOC has line item record for all the line items and NOT for the line item from where it was issued.
    Is it possible to trigger BA00 at each line item and the corr. IDOC contains only PO1 segment for that line only ?
    I want o/p at the line item as that line can be blocked/rejected (order reason code) and I do not want BA00 for that line (via the o/p reqmnt) . But if the o/p is triggered from the other line item, it contains PO1 segment for that rejected line also.
    Other option is to trigger o/p from header level and check in the user exit if each line is rejected. That will be OK but what if all the line items are rejected and IDOC o/p fails and is in RED color in the o/p screen. How will the end user know that BA00 o/p failed ?
    Your input is appreciated.

    Thanks Again.
    Only problem with the solution is that when the order is in the create mode (not saved), there is no data in XVBAP. If order is already saved and I am trying to send a order ack for a change, it will work bcos I can fill XVBAP by reading VBAP from KOMKBV1-VBELN.
    But this will still help me. I am planning this:
    1> For initial order create, since it will be called by a RFC user (we use XI to pass the IDOC to R/3), I can check in the reqmnt that user type should not be RFC user type and hence reqmnt will not be met and no order conf will be sent. Order will be created with order rejection code for each line.
    2> Order is created , end user reviews the order, if all is OK, removes the order rejection code from each line, saves the order, order req is called at the header, user type is a on-line user, reads all line items fron VBAP into XVBAP and ur logic is read and reqmnt is met and order conf is sent.
    If for any reason order is saved and order rejection code is not removed from ALL line items, reqmnt is not met and order o/p is NOT triggered.
    IF order is saved and there is atleast one line item without any blocks, reqmnt is met, order conf IDOC is triggered and in IDOc user exit, items with order reason codes are rejected/deleted from XVBAP table and order conf is sent only for line items without any bocks.
    It should hopefully work. I will let you know.
    I know, you do not care abt the entire solution / story, but it helps to validate my solution and maybe it will be useful for someone who is trying to acheive the same solution.
    Thanks Again.

  • In report painter report, line item level drilldown report requirment

    Dear All,
    I created one report in GRR1, when I execute the report i am not getting line item wise drilldown option. For example one cost center no of line itemwise posting ( g/ls wise)posting is there. By double clicking on that specific line item we will go that ledger and see the data available in that ledger.In standard reports that option available but my own reports I unable to go drilldown at ledger level cost reports.
    Please sugget anyone, where I am doing mistake in report creation level.
    Thanks
    M Srinivasa reddy
    Ph : 9637399076

    Thank you,
    I attached reports to Library based on that I am able to drilldown line item level of the report.Is it corret or any other way for line item level drilldown option for report painter reports
    Thanks
    M Srinivasa reddy

  • Report at line item level but also for document total for once only

    Dear all,
    seek for your help for the following issue
    There is a A/R invoice with 3 items
    There is a report for retrieving the line item level data from inv1, user would also like to add a column to display the Document total , but the problem is, each line item will also display the Document total, any method to only display the corresponding Document total for once only?
    Example, for AR invoice number 1234567:
    Currently:
    No.                ItemCode        Price      Qty    LineItemTotal      DocumentTotal
    1234567       Item-A            10           1       10                       100
    1234567       Item-B             50          1       50                       100
    1234567       Item-B             20          2       40                       100
    Requested to be presented as:
    No.                ItemCode        Price      Qty    LineItemTotal      DocumentTotal
    1234567       Item-A            10           1       10                       100
    1234567       Item-B             50          1       50                      
    1234567       Item-B             20          2       40                      
    Thank you very much!!!

    Hi,
    Try This.....
    select T0.DocNum ,T1.ItemCode ,T1.Price ,T1.Quantity ,T1.LineNum ,case  when T1.LineNum ='0' then T0.DocTotal else 0 end    from oinv T0 inner join INV1 T1 on T0.DocEntry =T1.DocEntry where T0.DocNum=[%0]
    Thanks
    Shafi
    Edited by: shafi_sunshine on Oct 19, 2011 12:50 PM

  • Shopping cart header status differs to status at line item level

    Hello
    I am using SRM 5.5 EC, got a situation where there is a single line shopping cart which has been approved. The status on the header is still showing "awaiting approval" but at line item level it shows as being "approved" and no follow on document has been created.
    Can anyone help and let me know why this has happened and how to change the header status now?
    Many Thanks in Advance
    Prakash

    OK found a solution

  • Switch to Open Item Management at a Line Item Level

    Hi Guru's,
    I want to change a non Open Item G/L account to an Open Item  at Line Item level, we are on version 6.4
    We have activated New G/L and I checked OSS note 175960, it says its not applicable if New G/L activated.
    I tried program FAGL_SWITCH_TO_OPEN_ITEM , it switched the account to Open Item but the problem here is it did't switch at line item level it is just showing total balance. My requirement is to switch at Line Item level.
    Is there any solution other than creating a new A/c with Open Item checked and transfering balances from old A/c to new A/c.
    Please suggest
    Thank You

    Hi,
    There are 3 ways to realize it.
    1. create a new account with XOPVW, then transfer the balance from old account to the new one. this is recommended by SAP.
    2. if you want to change  flag of XOPVW in this account, then make the balance to zero, then change this flag in FS00, at last trasnfer the balance back to this account-> Not recommended by SAP, because it is easy to cause data inconsistency.
    3. method in note:175960-> but report :RFSEPA02 and RFSEPA03 are not support since release 4.5A.
    So if possible, suggest you to use 1.
    Best Regards,
    Gladys

  • Customized drill-down report cannot go to line item level (FGI4 and FGI1)

    Hi Expert,
    I created a customized drill-down report using New GL features, as follows:
    FGI4 create form, with reference to form: 0SAPBLNCE-01
    FGI1 create report for the form created.
    After that I set some things like characteristic, variables, and output type.
    When I execute the report, the data shown cannot be drill-down to line item level:
    Goto > Line Item (this function is disabled).
    Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
    Thanks
    sbmel

    Hi sbmel,
    For calling up a line item report in a drill down report you need to make the below settins:-
    - You first have to generate the line item report with program RGRGENSI for your summary table.
    - Then assign the generated line item report to the summary report.
               Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
                In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
    Regards,
    Gaurav
    Edited by: gka2707 on Jul 19, 2010 8:07 AM

  • Asset field blank in FS10N (Drilldown to line item level) report layout

    Hi all,
    i ahve posted a Retirement transaction to an asset and when i went to see the line item on the GL using/executing report FS10N for asset transactions GL and drill down to the line item level by double clicking on the period balances and I choose field "Asset" to be displayed in the layout, it is blank. How can I get report FS10N to display the asset number from the transaction?
    the field is available in the layout but when i pull it into the report it is Blank in the report.
    Any help would be appreciated. Thanks
    Jay

    Hello,
    FS10N shows only balance, FBL3N shows the line details.
    Add the asset as a special field via OBVU  (Table:  BSEG, Field: ANLN1).
    Regards
    Waza

  • Custom filed at line item level in order.jsp

    Hi,
    I want to add a custom material number field at the line item level that will search for the item related to the customer material number and populate the order.jsp.
    similar to the below mentioned Standard functionality:-
    In order.jsp when we enter a valid item no in the item text box
    and press enter then the related data of the item is populated in order.jsp.
    Is this possible ??
    If yes please let me know how can we achiese this.

    Satish,
    the problem with product search is that ....
    custommaterial number will be mapped with the item number for different customers in a separate table. so if i place the searc in proucts search tab it will fetch form product master.
    so I was think of extending the process flow and from jsp capture the value entered and trigger action from there make a item search following the standard process.
    but my problem is that I am not able to capture the value entered in the custom field when refresh is clicked?
    can you tell me how is the item search done when we enter the item number and press enter?
    please suggest

  • Substitution and activated the same at the line item level in order to subs

    I have created a substitution and activated the same at the line item level in order to substitute the ZRSPL (Payment Block) field by a constant value and a vendor invoice is posted using Transaction FB60. But the same is not working. When I post a vendor invoice using FB60, Payment Block field is being shown as blank instead of the constant value which I want to substitute.
    >
    > My prerequsite is mentioned below :
    > BKPF-TCODE = 'FB60' AND BKPF-BUKRS = 'ABC' AND ( BKPF-BLART = 'KR' OR
    > BKPF-BLART = 'KY' ) AND BSEG-DMBTR > '10000'

    Hi,
    I am not understanding the logic behind the prerequisites mentioned in your query.
    Payment block field exists only for vendor related line item.  However, you have not mentioned vendor reconciliation account in the prerequisites.  It means, this substitution will trigger for all the line items which is wrong.
    Or try following  options.....
    1) Substitution->Simulation
    2) Extras->Expert Trace
    Best Regards,
    Madhu

  • Line Item Level Coupons

    Hello Everyone,
    Are line item level coupons available where you tie a promotion to a particular item?  I know you can set it up where if you buy A01 you get A02 free, but is there a way to set that up as a 1-to-1 ratio?  Let me explain a little further...  Our client has end users placing orders through distributors, so the distributor is actually placing the order.  The end users apply and receive a promotion code when they sign up and place their first order (which must be done through a distributor).  The distributor may combine these orders from end users into one large order, therefore for each A01 that is on order, they give away a bag of items free (let's say A02), to that customer but they want to capture a note with that promotion that it is for a particular end user.  So, the question is, is it possible to track that only one promotion is given per one item (for each A01 on the order only allow the same number of free A02).  Also, is it possible for each promotion to add a note that will designate which end user it goes to?  Any thoughts would be greatly appreciated.
    Thank you in advance for your time!
    Kristen

    Hi Kristen,
    Do you still need help on this one?
    I am no completely clear on what you are after.
    When you set up a discount(coupon) you can limit the number of times it can be redeemed per user.  Is that what you are after?  Or is there more to it?
    There is no "note" associated with this.  Not sure what you mean by that.

  • Line Item Level Partner Determination

    Is it possible to determine line item level payee partner based on product.
    Please advise

    Hi Mike,
    I have a similar requirement at my current client. Where you ever able to figure out a solution for this requirement, if you did could you please share the information how you guys did it.
    Thanks
    Shajeel

  • Fixed Value Date at line item level is not in changable mode when copied

    Dear SDN Team,
    Hi i have a problem in the Fixed Value date at the line item level in the Return sales order.
    The Problem is When creating the return order with reference to the scheduling agreement (10.03.2010).  In the Return sales Order at the line item level the fixed value date is coping from scheduling agreement item (fixed value date eg: 31.12.2009)
    But i would like to have the fixed value date in the return order as 10.03.2010  but the field is greyed out.
    But normally when the sales document is created with reference to the preceding document the same will be copied.  But field is greyed out and it is not in changable mode.
    Can any one help how to solve this.
    I have checked also SAP Note where i did not find any messages.
    In normal scenario - when the order is created without any reference the fixed value date is in changable mode until the document is in open.
    Pleas help me to resolve this.
    With Regards,
    Jai

    Hi Lakshmipathi,
    I am sharing the resolution which was done to this requirement.
    We have a specific condition type with statisticaly used and with routine to have KWERT with zero value,
    Based on the different key combination. We have a specific key combination for the SA and SDoc and for this we need to maintain a condition record for the condition type with fixed value date and which will be linked to only the specific document.  Once this is done.
    We need to do update pricing in the sales order for the particular line item. by doing this the Fixed value date will be changed in the particular line item.
    Thanks and Regards,
    Jana

Maybe you are looking for

  • How to use multiple Interfaces for the same BS?

    Hi @ , Is it possible to have a scenarion where i am using multiple interfaces in the same BS based upon some conditional field in the message. I amnot able to get the solution I know with condition editor I can have multiple receivers but in my scen

  • Can i write to a DatagramChannel from 2 threads?

    Without using a Selector - i wanna give one thread an option to read from the channel and right after that - to write, and give another thread that receives the channel as parameter the option to write whenever it needs (a condition i'm using). The A

  • Problem with timed histogram counter

    I have tested a small bit of code (attached) that works fine by itself, but when I integrate it to another vi it has some difficulty.  I simply wanted to make take the output of a histogram (being summed) and time how long it could fill up rather tha

  • ABST2

    Hi All we got the below error message in ABST2. Message no: MQ555 Difference occured in the balance carried forward when comparing asset summary records and GL accounts. please suggest us thanks in advance regards prasad

  • How do I completely uninstall ClamAV from my system?

    Hello folks, How do I completely uninstall ClamAV from my system? I trashed the application, but once in a while, the system console pops up with the "ClamAV update process" trying to update ClamAV. How do I safely completely get rid of ClamAV from m