EXIT_SAPLVEDA_001 : Delivery block at line item : Error - No LIFSP field

Hello EDI Experts,
I have a problem.
I am trying to place a delivery block @ line item level. (VBEP-LIFSP)
I am using the structure dxvbep.
But it's giving me an error say
the object zxvbep does not have any component "LIFSP"
How should I place a delivery block @ line item level.
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

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

  • Po Line item error report

    Hi All
    I am working on an requirment where the business needs to block the line item of old purchase order . when they are trying to block they are getting error message due to invalid line item master data at the time of blocking . Since the number of PO's are large it is not possible to process each po and determine the error .
    I would like to know if there is any standard report which would let know the line item error of an PO ? If not what would be the best solution to capture those error ?
    Regards
    Auro

    Hi,
    Try with Delivery completed indicator in Delivery tab of old POs, if the intention is to stop procuring the materials in old POS.
    Else go for mass maintenance but be very careful and cautious here
    Regards,
    Uzair

  • How to block certain line items in vendor invoive for payment

    Hello FI Guru's.
    We have a business requirement where we have to block cetain line items on a vendor invoice and pay the balance. How can we achive that ?
    Cheers!
    Sajal

    Hi
    There are three ways in which you can block an invoice for a payment:
    a) Block at the document level
    b) Block at the Vendor Level or
    c) Block at the Payment Program level.
    Any of the 3 blocks above will block the whole invoice as the block is at the vendor line item.
    I don't think there is an option to partially block the invoice atleast by Automatic Payment Progam.
    You can opt for payment through F-58 & make partial payments.
    Thanks

  • Create delivery  document for line item 5 only manually

    Hi Sap Experts,
    We have scenario, we have created sales order with 10 line items while creating delivery we don’t want to show all the 10 line item to delivery creator (creating delivery manually).
    We will send him mail saying that create delivery  document for line item 5 and we will provide him material number and delivery date and shipping point with sales order number.
    We don’t want to use partial delivery option that split the delivery and we don’t want to use VL10C tcode also.
    What are options we have and how to customize this scenario?
    Kindly suggest.
    Regards,
    Kotli

    Can you be clear in your requirement?
    One requirement is user should not select line items other than the one instructed to them
    The other requirement is delivery split should happen based on item category
    If your requirement is first one, you need to go with user exit USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1 but I am not sure, on what logic, coding to be included in this exit.  If your requirement is second one, then just try in your system and share the outcome how system is functioning.  You will come to know how standard SAP works.
    G. Lakshmipathi

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

  • How to Block PO line items

    Hi,
    I want to block PO line items using Program/BAPI/FM or etc....
    Actually my requirement is I want to upload a excel file with PO # and PO line item # s,  that Program/BAPI/FM should block the PO line items which are sent by excel file.  and in EKPO-LOKEZ should 'S'.
    Regards,
    Ganesh

    Hi Ganesh,
    I dont think there such a BAPI or FM.
    However try with CIF_ADC_TRANSMIT_PO_BLOCK
    Regards
    Abhii...

  • BAPI_SALESORDER_CHANGE Delivery Date at Line Item

    Hi Guys,
    We are trying to change the delivery date at the line item for a Sales Order using the date at the header.If we have a date change at the header,is there a way it can automatically change the date at the line item?can LOGIC_SWITCH field in the BAPI be used for this purpose.
    we dont want to populate any line items.can only by changing the date,the dates at line item be changed?
    thanks
    Raj

    Hi ,
    Please add Header date at scdedule lines Field "EDATU'.
    I think this will work.
    Header date will not copy to line items and this will effect the billing date only.
    Regards,
    Lanka

  • Request delivery date at line item level

    Hi,
    I understand that the requested delivery date at the order header level applies to all its line items, but is there any possibility that for different line items, we can have different requested delivery dates.
    If YES, where do we enter requessted delivery deates at line item level??
    Thanks in advance.
    Vinay

    Hi,
    In the sales order you can enter the requested delivery date at item level in schedule line tab page in the first column(Delivery dates)
    But this will cause in delivery split
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • URGENT: Delivery with multiple line items for a STO

    Hi Gurus,
    We ar ecreating deliveries using VL10b for a STO. Teh TSO has 40 - 50 line items. But the delivery is created with one line item only an dit creates a delivery for each line item. How cna we allow the inclusion of multiple line items in delivery?
    We are using delivery type NL an ditem categor is NLN.
    Geratly appreciate any help in that.
    Thanks,
    KHAN

    The problem you face is called 'Delivery split'.
    For the STO scenario, one common cause is different delivery dates (in the past) in the STO line items. If so, then you should refer to SAP Note 377501 (from where I quote below):
    You can implement the source code specified in the correction instructions in copy routine 301 (or a copy of this routine in the customer namespace). This correction ensures that when you transfer data form the preceding document, backlogged delivery dates or goods issue dates are set to the current date. This prevents the system form performing a delivery split.
    Then a rescheduling of the delivery occurs. Since forward scheduling occurs for backlogged delivery items (that is, the picking date or the transportation planning date is set to the current date), the manipulation of the delivery date or goods issue date in the copy routine does not affect the result of the scheduling.
    If the dates are not the problem, then this Note refers to other Notes which deal with this problem, and should definitely solve your problem.
    Regards
    Nikhilesh

  • How to change  delivery  block for all item in the schedule lines via va32

    dear sap expert:
    i onle can  change delivery block for one  sales order item in the schedule line  every times via va32,it will take so many time because there are hundreds of item  in a sceduling agrrement. how to change all the item  one times.
    please give me a way to resovle the problem.
    best regards.

    dear:
      the fast change function cann't resovle the problem,i first double click the item of schedule agreement  ,then select the schedule lines option, finally in the delivery block input the reason of bolck.
    best regards.

  • Blocking SA line item on creation of new lines or reset via userexit

    For a Schedule Agreement(SA ), tcode ME32L, when the following happens
        - new line item
        - reset a block
        - reset a delete
    I want to change the 'Deletion Indicator' (LOEKZ) to 'Block', value 'S', at the time of saving.
    As a standard, this field would have been blank.
    In EXIT_SAPMM06E_013 l assigned XEKPO-LOEKZ with value 'S' and updated the internal table.
    On run-time, this field (XEKPO-LOEKZ) is updated but after saving the SA, LOEKZ is not updated in table EKPO.
    I have checked EXIT_SAPMM06E_012, I cannot use it for what I want to do.
    Has anyone done something like this successfully?
    Any practical suggestons welcomed.

    Dear,
             Thanks for your reply, i changed the item category of SO line item and shedule line item in the xvbap and xvbep and i changed updkz to U. i have two item categories ( i.e YNAA and YNAB ) for YNAB system automaticallty creates Purchase requisation, If i change the item catergory  in the user exit TO_VBEP . system not creating the PR for YNAB. by the time control comes to TO_VBEP user exit system already detemining shedule line and sale order line items category in XVBAP and XVBEP . if  i change any thing at this place system giving error while saving .
                  Thanks in advance.
    Regards,
    Manoj
    Edited by: manoj kv on Dec 26, 2010 4:40 PM

  • Create delivery for STO line item

    Hi All,
    My requirement is to allow creating delivery for Stock transfer Order(STO) line items which are
    not in blocked status even though some line items are in blocked status.
    Right now the logic checks if entire PO is in blocked Status using FM-- /SAPSLL/CD_STATUS_GET in method CHANGE_DELIVERY_ITEM of interface IF_EX_LE_SHP_DELIVERY_PROC
    But this FM does not contain PO item parameters. I need to incorporate item level checking logic.
    Are there any SAP notes available to fix this problem?

    Hi All,
    Any clues on this?

  • Transfer Order for Inbound delivery with multiple line items...

    Hi All,
    <The flow of my report pgm is >
    PO creation using Transaction - me21n
    My report pick the PO created as per date given in selection screen-
    Creates outbound Deliveries using BAPI_OUTB_DELIVERY_CREATE_STO
    Create Transfer order FM L_TO_CREATE_DN
    Confirm Transfer order FM L_TO_CONFIRM
    GI is done - Inbound delivery is created
    Create Transfer order FM L_TO_CREATE_DN for Inbound delivery
    Confirm Transfer order FM L_TO_CONFIRM
    Goods receipt.
    If PO is having one item - the entire flow is working perfectly.
    if my PO is having multiple items,
    While creating TO for inbound deliveeies - i am facing the error.
    Before calling FM,
    I am assigining these values like
    wa_delit-nlpla  = wa_ltap_vb-vlpla.    "Source Storage Bin To Destination Bin
          wa_delit-nltyp  = wa_ltap_vb-vltyp.    "Source Storage Type To Destination Storage type
          wa_delit-anfme  = wa_ltap_vb-nsolm.    "Actual destination quantity
          wa_delit-letyp  = wa_ltap_vb-letyp.    "Storage Unit Type
          wa_delit-altme  = wa_ltap_vb-meins.    "Unit of measure
          LOOP AT i_lips INTO wa_lips WHERE vbeln = WA_VBFA-IN_DELIV.
            wa_delit-posnr =  wa_lips-posnr.
            APPEND wa_delit TO it_delit.
             ENDLOOP.
    As i am appending i am getting 2 line items in the tabke it_delit.
    Function module :
    CALL FUNCTION 'L_TO_CREATE_DN'
      EXPORTING
       i_lgnum                         = l_lgnum
       i_vbeln                         = wa_vbfa-in_deliv
       i_commit_work                   = 'X'
       i_bname                         = sy-uname
       it_delit                        = it_delit
    IMPORTING
       e_tanum                         = gv_tonum_1
    TABLES
       t_ltap_vb                       = i_ltap_vb_1
      EXCEPTIONS
       foreign_lock                     = 1
       dn_completed                     = 2
       partial_delivery_forbidden       = 3
       xfeld_wrong                      = 4
       ldest_wrong                      = 5
       drukz_wrong                      = 6
       dn_wrong                         = 7
       squit_forbidden                  = 8
       no_to_created                    = 9
       teilk_wrong                      = 10
       update_without_commit            = 11
       no_authority                     = 12
       no_picking_allowed               = 13
       dn_hu_not_choosable              = 14
       input_error                      = 15
       error_message = 16
       OTHERS = 32.
    Here i am getting as input error, i need to create only one TO for multplie items
    If i pass this i a loop - then it will create 2 Transfer order which is WRONG ...so please help me to over come this error.
    Thanks
    Senthil
    Edited by: Senthil Kumar on Dec 7, 2009 3:29 PM

    Hi,
    Please check FM L_TO_CREATE_MULTIPLE.
    Regards,
    Ferry Lianto

  • Removing invoice block at line-item level

    Hello SAP gurus
    I've been asked by a client to create a way to delete invoice blocks at a line item level via workflow.  The workflow sends a workitem for each blocked line-item that the invoice has.  What I need to do now is create custom code that will delete a single line-item block instead of removing the block at the header level.  This header-level block deletion will only occur when all the line item blocks are cleared.
    I know there are a few programs that exist for doing this at the header level (BAPI_INCOMINGINVOICE_RELEASE, MRM_INVOICE_RELEASE_UPDATE, running a MRBR BDC, etc.), but so far I haven't found a standard SAP code to make this possible at the line-item level.  I am aware that making changes to standard SAP table records is heavily not recommended (if not practically forbidden), but the client is insisting they want this functionality and soon.  Is there another way of making this line-item block deletion without resorting to modifying the RSEG/RBKP/RBKP_BLOCKED tables?  Thanks a lot for your help.
    Regards,
    -Juan Ramos

    Hi,
    If you want to split the deliveries in to number of nvoices general configuration is in Item category use Billing relevence = K (Delivery-related invoices for partial quantity).
    At the time of creating Invoice in VF01 give the delivery number and click the selection list on the right side top.
    You can split based on your line items.
    Thanks,
    Sree.Manam

Maybe you are looking for