No more than one service items on PR

Hello,
I'm sending Purchase requisitions to an external system thru an interface.  This system doesn't support multiple items per line items (i.e., 2 services lines in the same PR line item).
So I need to restrict the service line items to contain only one service line.  I tried to implement exit EXIT_SAPLMLSP_031 from enhancement SRVESLL to call an error message when the document has more than one service item, but it results on system locking the line until error message is cleared, but it can be cleared with the screen locked on the second item.
Is there another way to approach this issue? may be an exit on document check that contains the tables for the service items?
Thanks in advance,
Nelson.

Hello Prabu,
Thanks for your reply.
What I actually need is to have various items, per document, but only 1 service item per line item.
i.e.
PR 1000000001
Item 1 - Consulting support
            Service item 1 - MM Consulting
Item 2 - Consulting support
            Service item 1 - ABAP Consulting
instead of:
PR 1000000001
Item 1 - Consulting support
            Service item 1 - MM Consulting
            Service item 2 - ABAP Consulting
Any ideas to achieve this?
Regards,
Nelson.

Similar Messages

  • Not more than one service order against same sales document item

    A service order gets created against the sales order item as per
    standard SAP process. As credit management is active, when the order
    is under credit block  for the customer the service order gets created only after the
    credit block is released.
    On revising the order line value the sales document goes for a block
    again. Service order is locked. Both seem to be logical.
    But on releasing the credit block  this time ,  it creates one more service order against the same sales order item. Would logically expect the service order is
    unlocked on release from credit block.
    Can u pls explain this behavior ??  How do u avoid a new order creation and unlocking of the service order when the credit block is released.
    Would like to avoid any change in the service order status once it has been created irrespective of subsequent credit status of the sales order.
    regards
    Ramanujam

    Hi  lisa ,
    It is not possible to enter more than one service performer for a service in sales order .
    But you can  perform the service with two people and have two service confirmations.
    The time entered in service confirmation will be reflected in invoice only(if time and material).
    Also you cannot enter the time sheet with respect to sales order , it is only valid for project task and
    and time types.
    Regards,
    Harish

  • More than one service Performer per sales order position

    Hallo ByD community
    We are using service type "Service - time and material" in our sales orders and we are using the integrated time recording in the self-service (time sheet) to track actual times for an sales order. For that you have to assign a service performer in the sales order position, so that the person is able to enter acutal times for this sales order Now it can happen that not only one person, but a team (or two or more people) has to record times for this sales order position.
    is that possible and if not what would you suggest.
    F.e.. in project management you can activate time recording for a project task for several people.
    Thank you :-)
    BR

    Hi  lisa ,
    It is not possible to enter more than one service performer for a service in sales order .
    But you can  perform the service with two people and have two service confirmations.
    The time entered in service confirmation will be reflected in invoice only(if time and material).
    Also you cannot enter the time sheet with respect to sales order , it is only valid for project task and
    and time types.
    Regards,
    Harish

  • GL account balance splitting in more than one line item in FSV

    Friends,
    While going through the FSV, gl account balance is splitting in more than one line item with same account name.  But if we total the line items ultimately it is tallying with GL balance.  What might be the reason.  Why it is splitting the balance in more line items with same name and same account number.

    Dear,
    You might be having Document Splitting Activation.with Bussiness Area/ Segment wise/Profit Center Wise. For this please Check - Path > Spro > SAP reference IMG > Financial Accounting (New) > General Ledger Accounting (New) > Business transactions > Document Splitting > Define Document Splitting Characteristics for General Ledger Accounting.
    Please go through this & will  be able see the Document Splitting is based on Bussiness Area/ Segment wise/Profit Center wise or may be both.
    T & R,
    Madhuri Panda

  • A header data can have more than one lie item data !

    How can a header data have more than one line item data ?

    Hi,
    header table will have only main data where as the item data will have material delivery date other things based on the availabilty and committement
    http://help.sap.com/saphelp_srm30/helpdata/en/38/4cc5376848616ae10000009b38f889/content.htm
    Regards
    Shiva

  • Can we have more than one service method in a single servlet

    can we have more than one service method in a single servlet?explain with example

    No, you can only have one service method. However, you can have it process two different requests as follows.
    Lets say you have two JSP pages. Put a hidden text value in one called jsp1 and a hiddent text value in the other called jsp2 (example: <input type="hidden" name="jspPage" value="jsp1"> and <input type="hidden" name="jspPage" value="jsp2">.
    Then in your service method, read in request.getParameter("jspPage") to determine if its jsp1 or jsp2 and call up the appropriate logic to process them separately.

  • Cannot have more than one Mobile item for a person

    Hi,
    I cannot have more than one mobile phone item for a person. In India some of them carry dual SIM card phones and both will be valid. In Lumia 800, I dont see an option to add two mobile items. I can do with a work around by choosing one mobile item with Windows Live Account and another with Google Account. But then that is not the right way to do it. If I need it both on same account, then I cannot do it.
    This feature is available in all the Android phones. Also i am facing another issue is that Lumia 800 does not sync any mobile item #2 of Google account, so I have to go to Google and manually add that phone number to my phone, which is painful.
    Hope Microsoft is listening.
    But I really like the way the facebook, SMS and all other chat are sync'ed in one place.
    Regards,
    -Srinivasan.

    The wierd thing is they have duplicates for Home/Work but not for Cell. I have the odd contact that has two cell phones. Really only two work arounds, use one of the other available types as a secondary cell number or what I do is create two contacts, one in Exchange and one on Live. Since my main account is Exchange, I put the secondary number in the Live contact, then on the phone I link the two together. This way I see two cell numbers for one contact.

  • Added more than one service objects

    Is it possible to add more than one attachment to the service for object section? It is possible to delete more than one attachments..
    Edited by: Lien Thach on Jan 14, 2010 3:20 PM

    The user wants to add more then one attachment documents in SAP..It will allow for them to delete more than one documents. can this be done through configuration? If so, can you please show me how?

  • SPLITTING MORE THAN ONE LINE ITEM IN ECC6.0

    Hi everyone.
    I am using New GL functionality in ECC6.0. I have a big question regarding multiple objects splitting. Ej: Purchase of a service.
    If I set one cost centre in the expense line item, the profit centre and segment are determined automatically in the vendor line (in the vendor invoice).
    Then I post the payment and, without introducing any cost object, the profit centre and segment are determined automatically in both balance line items. Everything is ok.
    However if in the original vendor invoice I use 2 cost lines with different cost centres: New GL splits everything alright and I get the vendor lines splitted with the right profit centre. When I post the payment, with new GL I don't get any split or balance line are properly posted with a PC.
    Resuming, splitting works properly in both vendor invoice and manual outgoing payment when originally there is only one cost line and one cost centre. However, when using 2 cost line with different cost centres, splitting is only working in the vendor invoice but I can't get it work in the manual outgoing payment.
    Thanks for your help.
    Miguel

    There is a config setting called classify document type for document splitting, or something like that.
    Here you have all of your doc types, and then you assign a business transactions
    The point I am making is that you need to check there, and that the config for the business transactions are the same.
    Can you confirm if the payment document actually posted. If it did then it passed the config rules you have set for doc splitting. Make sure you are looking at like for like and both documents are the general ledger view and not the entry view.

  • MRP RUN for the more than one line item in sales order.

    Hi ,
    In the sales order nuber of line item are , i will have to take MRP RUN for selected line item .
    So plz suggest what development will require?
    Abhay
    Edited by: abhay patil on May 30, 2008 8:52 AM

    HI,
    U can write separate prog. Which will ask sales order no. and from to line item or multiple line item of sale order. Then in loop internally pass the each line item no to MD50 prog. Which will run in background.
    I will give u sample prog. Which I had created for running MRP for all the lines items of given sales order in one go.
    *& Report  ZPRG_PP_001
    REPORT  ZPRG_PP_001.
    tables vbak.
    data: begin of it_vbap occurs 1,
            vbeln  type    vbap-vbeln,
            posnr  type    vbap-posnr,
          end   of it_vbap.
    DATA: P_MODE   TYPE    C.
          Batchinputdata of single transaction
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
    selection-screen begin of block b1 with frame title text-001.
      parameters :   p_vbeln  like  vbak-vbeln obligatory.
      selection-screen skip.
      parameters :   p_fore   radiobutton group mode,
                     p_back   radiobutton group mode default 'X'.
    selection-screen end   of block b1.
    at selection-screen.
    Check Sales Order
      if not p_vbeln is initial.
        select single * from vbak
          where vbeln eq p_vbeln.
        if sy-subrc <> 0.
          message e499(sy) with 'Invalid Sales Order no.' p_vbeln.
        endif.
      endif.
    start-of-selecTION.
    Get Sales order items
      select vbeln posnr from vbap
        into table it_vbap
        where vbeln eq p_vbeln.
    Set BDC mode
      if p_back eq 'X'.
        p_mode = 'E'.
      else.
        p_mode = 'A'.
      endif.
    Process MD50 BDC
      LOOP AT IT_VBAP.
        perform bdc_dynpro      using 'SAPMM61X' '0160'.
        perform bdc_field       using 'BDC_CURSOR'  'RM61X-TRMPL'.
        perform bdc_field       using 'BDC_OKCODE'  '/00'.
        perform bdc_field       using 'RM61X-KDAUF'  IT_VBAP-VBELN.
        perform bdc_field       using 'RM61X-KDPOS'  IT_VBAP-POSNR.
        perform bdc_field       using 'RM61X-BANER'  '1'.
        perform bdc_field       using 'RM61X-LIFKZ'  '3'.
        perform bdc_field       using 'RM61X-PLMOD'  '3'.
        perform bdc_field       using 'RM61X-TRMPL'  '1'.
        perform bdc_dynpro      using 'SAPMSSY0' '0120'.
        perform bdc_field       using 'BDC_OKCODE'   '=XBAC'.
        CALL TRANSACTION 'MD50' USING BDCDATA MODE P_MODE.
        CLEAR BDCDATA.
        REFRESH BDCDATA.
      ENDLOOP.
    end-of-selection.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.
    Ajay P. Nikte

  • HttpConnection: Sending more than one data item through POST

    Hi,
    I am trying to send data to a PHP server through POST. I am sending two variables, login and password. But I think there is some problem with the formatting of the data, the server is reading it as one variable.
    I use a class called PostPackager to format the data. And then recieve the server response.
            PostPackager pp=new PostPackager();
            pp.addText(login,"login");
            pp.addText(passwd,"password");Login and Passwd are Strings. The server responds with the value of the variable "login" as....
    anurag
    ---------------------------7d43722015402c8
    Content-Disposition: form-data; name=\"password\"
    anurag
    ---------------------------7d43722015402c8-- This certainly means it is taking both variables as one, and not understanding the boundary. Please help.
    * PostPackager.java
    * Created on April 28, 2005, 2:16 AM
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    * @author anurag
    public class PostPackager
        private ByteArrayOutputStream baos;
        private String boundary;
        /** Creates a new instance of PostPackager */
        public PostPackager()
            baos=new ByteArrayOutputStream();
            boundary = "---------------------------7d43722015402c8";
            String s ="--"+boundary;
            writeTo(s);
        public void addImage(byte []imgData,String fieldName)
            writeTo("\r\nContent-Disposition: form-data; ");
            writeTo("name=\""+fieldName+"\" filename=\"packager.png\"\r\n");
            writeTo("Content-Type: /x-png\r\n\r\n");
            try
                baos.write(imgData);
            catch(IOException ioe)
                System.out.println("Packager: Output stream crashed.");
            writeTo("\r\n");
            writeTo(boundary);
        public void addText(String txtData,String fieldName)
            writeTo("\r\nContent-Disposition: form-data; ");
            writeTo("name=\""+fieldName+"\"\r\n\r\n");
            writeTo(txtData);
            writeTo("\r\n");
            writeTo(boundary);
        public String getBoundary()
            return boundary;
        public byte[] getRequest()
            writeTo("--\r\n");
            return baos.toByteArray();
        private void writeTo(String s)
            byte []b = s.getBytes();
            try
                baos.write(b);
            catch(IOException ioe)
                System.out.println("Packager: Output Stream crashed.");
    }

    Hi there,
    Thanks for the help. I finally got the error. I also wrote the code to generate the request.
    Here it is.....
    http://students.iiit.net/~anurag_rana/linux/PostPackager.java
    http://students.iiit.net/~anurag_rana/linux/InfoExchanger.java
    (might remove it soon)
    The format of the POST request is...
    --boundary\r\n
    Content-Disposition: form-data; name="photo"; filename="some.png"\r\n
    Content-Type: /x-png\r\n\r\n
    <image data>\r\n
    --boundary\r\n
    Content-Disposition: form-data; name="name"\r\n\r\n
    <text data>\r\n
    --boundary\r\n
    here we are sending two variables, photo and name, one is a image, and another is text. We will store this entire data in a array,... say PostData.
    We can send it like this.
    HttpConnection htt=(HttpConnection)Connector.open(url,Connector.READ_WRITE);
    htt.setRequestMethod(HttpConnection.POST);
    htt.setRequestProperty("content-type","multipart/form-data; boundary="+boundary);
    DataOutputStream dos=htt.openDataOutputStream();
    dos.write(PostData);
    dos.flush();
    dos.close();I am just writing all the info to help if someone has the same problem. Cheers!!

  • More than 1 line items in bdc using table controls for BOM

    Hi....
    how do u update more than one line item for BOM using BDC table control.......
    is there any specific command for doing that.......
    hav tried d following code bt it takes the flatfile i/p FOR 2 LINE ITEMS as 2 different BOM'S.....
    would appreciate ur help....plz provide code.............
    REPORT zbdc4_cs01
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE bdcrecx1.
    DATA : a TYPE i,
           b type i,
           c type i.
    DATA : BEGIN OF it_rec OCCURS 0,
           rec(200) TYPE c,
           END OF it_rec.
    DATA : BEGIN OF ctab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           END OF ctab.
    DATA : BEGIN OF xtab OCCURS 0,
           idnrk(18),
           menge(13),
           postp(1),
           END OF xtab.
    DATA : BEGIN OF itab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           idnrk(18),
           menge(13),
           postp(1),
           END OF itab.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = 'C:/TEST4.TXT'
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = it_rec.
      LOOP AT  it_rec.
        a = strlen( it_rec-rec ).
        if a = 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        elseif a > 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        itab-idnrk = it_rec-rec+55(18).
        itab-menge = it_rec-rec+73(13).
        itab-postp = it_rec-rec+86(1).
        APPEND itab.
        endif.
      ENDLOOP.
      PERFORM open_group.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29N-STLAN'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29N-MATNR'
                                       itab-matnr.           "'3000000107'.
        PERFORM bdc_field       USING 'RC29N-WERKS'
                                       itab-werks.              "'UN02'.
        PERFORM bdc_field       USING 'RC29N-STLAN'
                                       itab-stlan.              "'1'.
        PERFORM bdc_field       USING 'RC29N-STLAL'
        PERFORM bdc_field       USING 'RC29N-DATUV'
                                      '11.08.2008'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0110'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29K-BMENG'
                                      '1'.
        PERFORM bdc_field       USING 'RC29K-STLST'
                                      '1'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-EXSTL'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0111'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-LABOR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSTP(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29P-IDNRK(01)'
                                       itab-idnrk.             "'1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE(01)'
                                       itab-menge.              "'100'.
        PERFORM bdc_field       USING 'RC29P-POSTP(01)'
                                       itab-postp.             "'L'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR'.
        PERFORM bdc_field       USING 'RC29P-POSNR'
                                      '0010'.
        PERFORM bdc_field       USING 'RC29P-IDNRK'
                                      '1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE'
                                      '100'.
        PERFORM bdc_field       USING 'RC29P-MEINS'
                                      'KG'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POTX1'.
        PERFORM bdc_field       USING 'RC29P-SANKA'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=FCBU'.
        PERFORM bdc_transaction USING 'CS01'.
      ENDLOOP.
      PERFORM close_group.

    Hi
    Check this sample code for the Table Control in BDC:
    data: fnam(20) type c.
    move 1 to id.
        loop at TI_STAGING WHERE VENDOR = IT_STAGING-VENDOR AND DOCDATE = IT_STAGING-DOCDATE.
          concatenate 'RM06E-EPSTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-itmcategory.
          concatenate 'EKPO-KNTTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-accassignment.
          concatenate 'EKPO-EMATN(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-material.
          concatenate 'EKPO-TXZ01(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-shortxt.
          quan = ti_staging-poqty.
          concatenate 'EKPO-MENGE(0' id ')' into fnam.
          perform bdc_field       using fnam quan.
          concatenate 'RM06E-EEIND(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-deliverydate.
          netpr = ti_staging-netpr.
          concatenate 'EKPO-NETPR(0' id ')' into fnam.
          perform bdc_field       using fnam netpr.
          concatenate 'EKPO-MATKL(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-mategroup.
          concatenate 'EKPO-WERKS(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-plant.
          ID = ID + 1.
        ENDLOOP.
    Regards,
    Vishwa.

  • Is it possible to have more than one Tax code per line item in Billing docu

    Is it possible to have more than one Tax code per line item in Billing document ?

    Hi,
    I have a different perspective there.
    If an item is applicable for two different taxes which are represented by two different tax condition types and these tax conditions are configured in the tax procedure, FTXP and so on....then these two condition records can have two different tax codes.
    We actually have this scenario in EU now, where EU talks about service tax in 2010 apart from the normal VAT. So now we have MWST and ZWST(Say)
    Now there are some materials which come with a service associated with it. So a service charge is also levied when the material is sold. So the material price will become applicable for VAT and the service charge becomes applicable for service tax. In this case, the tax classification of the customer will have two entries in sales orders updated in the fields VBAK-TAXK1 and VBAK-TAXK2 based on the sequence number of these condition types.
    Now based on different tax classification of the customer, we have 2 different tax codes representing different %of tax.
    Hope it helps

  • On my iPad 3, how do I make calendar items lasting more than one day appear as such on the monthly view of my calendar? Right now only the first day of the item appears.

    On iPad 3, all of my calendar items lasting more than one day do not appear correctly when looking at the monthly view of the calendar; only the first day of the appointment appears. For example, if I am taking a vacation for 4 days, only the first day of the vacation is marked on the calendar, instead of being listed on all 4 days. When I look at the weekly view, however, it is correct and is listed on all 4 days. The problem here of course is that at a glance, there is no way to look at my monthly schedule. On my iPhone, everything is correct, regardless of month or week view, so clearly this is an iPad problem I guess? Please advise on how this can be corrected. Thank you!

    Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.

  • How can I buy more than one item at a time?

    How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!

    You can't.
    Regards
    TD

Maybe you are looking for

  • How can I copy all the itunes content from my pc to my new MAC?

    I just bought a MacBook pro new . I had all the library, books, podcasts, music, etc in my PC, and  I want to move all that to my new Mac. <How can I do that easily? Thanks!

  • BI 7.01 BEx report/workbok Time_Out Errors

    Hi, Our BEx reports/workbooks are failing with time_out error's. Below are the time_out error details: BEx workbooks are executed through VB Script. Some days they run fine and some days they time_out. The program "CL_RSDRH_HIER_CACHE===========CP" h

  • Discoverer 4i Titles

    We have the early adopter 4i installed. So far, most of the things that were wrong with 3i seem to be fixed. However, I can not figure out how to Edit Title within 4i. Is this possbile?

  • How often is Op Center asset data updated?

    The polling interval of data coming back from assets seems to be variable. e.g. if a system is powered off from the O/S rather than thru Op Center then it can take Op Center an hour or more to register that the server is powered down. Some of the sys

  • Is your IT asset inventory log complete?

    Are you still using a manual process like bar code scanners tolog your technology assets?Do you know the hidden costs of manual data collection?Great news, business is booming and as a result the company is expanding. So is your inventory of racks fi