Is it possible to assign same partner role more than once in PO?

I am trying to assign same partner role (GS) more than once in a PO, as we have several different suppliers for the different items in the PO. A different option would be tab "confirmations" in PO but I need to be able to check validity of suppliers....
any ideas?

Hi Laurent,
As standard SAP it is not possible to define default BP type for specific roles. But you can use some Badi or Function Modules to do the same.
Regards
Arun Kumar

Similar Messages

  • How to use same page fragment more than once in a page,

    Hi Gurus,
    How to use same page fragment more than once in a page. I have a complex page fragment which has lots of Bindings (Binding Property set with backingBean variables).
    I want to use the same page fragment multiple times on the same page with different tabs.
    I want different ApplicationModule Instance for the page fragment in different tabs.
    So I have created a Bounded Taskflow with pagefragments which has this complex pagefragment.
    I've dragged the taskflow to page and created regions.
    I'm able to execute the page successfully when I have only one region but fails if I have region more than once in the page.
    Can anyone help me how to resolve this issue.
    Web User Interface Developer's Guide for Oracle Application Development Framework: section 19-2 states we can have same pagefragment more than once in a page.
    Thanks,
    Satya

    java.lang.IllegalStateException: Duplicate component id: 'pt1:r1:0:t2:si5', first used in tag: 'com.sun.faces.taglib.jsf_core.SelectItemsTag'
    +id: j_id_id1
    type: javax.faces.component.UIViewRoot@1d23189
      +id: d1
       type: RichDocument[UIXFacesBeanImpl, id=d1]
        +id: j_id_id5
         type: HtmlScript[UIXFacesBeanImpl, id=j_id_id5]
          +id: j_id0
           type: javax.faces.component.html.HtmlOutputText@bc252
        +id: m1
         type: RichMessages[UINodeFacesBean, id=m1]
        +id: f1
         type: RichForm[UIXFacesBeanImpl, id=f1]
          +id: pt1
           type: RichPageTemplate[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@2a0cc, id=pt1]
            +id: ps1
             type: RichPanelSplitter[UIXFacesBeanImpl, id=ps1]
              +id: pt3
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1199)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag265(__projectrevenuern_jsff.java:12356)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag264(__projectrevenuern_jsff.java:12317)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag263(__projectrevenuern_jsff.java:12262)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag262(__projectrevenuern_jsff.java:12200)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag261(__projectrevenuern_jsff.java:12147)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag260(__projectrevenuern_jsff.java:12099)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag259(__projectrevenuern_jsff.java:12047)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag258(__projectrevenuern_jsff.java:11992)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag257(__projectrevenuern_jsff.java:11948)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag255(__projectrevenuern_jsff.java:11860)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag254(__projectrevenuern_jsff.java:11808)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag9(__projectrevenuern_jsff.java:510)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag8(__projectrevenuern_jsff.java:461)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag1(__projectrevenuern_jsff.java:149)
         at jsp_servlet.__projectrevenuern_jsff._jspService(__projectrevenuern_jsff.java:67)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:443)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:492)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag50(__projectrevenuepg_jspx.java:2392)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag49(__projectrevenuepg_jspx.java:2353)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag46(__projectrevenuepg_jspx.java:2209)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag45(__projectrevenuepg_jspx.java:2162)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag9(__projectrevenuepg_jspx.java:526)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag8(__projectrevenuepg_jspx.java:475)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag7(__projectrevenuepg_jspx.java:424)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag6(__projectrevenuepg_jspx.java:373)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag2(__projectrevenuepg_jspx.java:202)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag1(__projectrevenuepg_jspx.java:144)
         at jsp_servlet.__projectrevenuepg_jspx._jspService(__projectrevenuepg_jspx.java:71)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = CAMIND1 TXID =  CONTEXTID =  TIMESTAMP = 1262712477691 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
    oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
    Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
    DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
         at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
         at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
         at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
         at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
         at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
         at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
         at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
         at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
         at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
         at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
         at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base=C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
    set base C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
    set homepath diag\ofm\defaultdomain\defaultserver
    create incident problem_key="BEA-101020 [HTTP]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-01-05 12:27:58.155 -05:00" ecid="0000INzXpbB7u1MLqMS4yY1BGrHn00000K"
    Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
    DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
         at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
         ... 19 moreI get the above Error.
    I have checked the bindings and it has 2 instances of the taskflow.
    I have changed the backingbean scope to backingBean

  • Error : Document contains same order item more than once in IDOC

    We have Intercompany IDOCs getting created in our system. The
    trigger for this is the Billing Document in the same system in
    differenct company code. The MEssage type being used is INVOIC and the
    basic type is INVOIC01.
    The IDOC is in the status of 51 with the error message
    Document contains same order item more than once
    Message No : M8 321.
    Can anyone tell me why raise this error and how to resolve it?
    Thanks.

    What I have recently learned is that in 6.0 SAP allows the same line item to be on an idoc multiple times.  However, the item has to be GR-based-IV and there has to be a unique entry in the delivery note of the GR.   I have successfully tested this in my development system.  
    What I can't get to work is if the GRs have the same delivery note value.   What I think is happening is these GRs are not unique so SAP cannot match a GR with an IR so it fails with this error. 
    Here are the examples:
    Works 
    GR# A           deliverynote/BOL    "abcd"
    GR# B           deliverynote/BOL     "efgh"
    Invoice idoc
    e1edp02    qualifier 016          abcd
    e1edp02    qualifier 016          efgh
    Doesn't work:
    GR# A           deliverynote/BOL    "abcd"
    GR# B           deliverynote/BOL     "abcd"
    Invoice idoc
    e1edp02    qualifier 016          abcd
    e1edp02    qualifier 016          abcd
    If anyone knows of a way to make the second scenario work, I'd like to hear your solution.
    Thanks
    Sandra

  • EDI Invoicing - Document contains same order item more than once

    Hi,
    While trying to post an inventory invoice with EDI, we are receiving the following error message: Document contains same order item more than once.
    On the PO and the inter-company invoice, the same material come more then 1 time. Can you please tell me what I could do to fix that issue? Ideally we would like to do not modify the PO or Intercompany invoice so that the same material can come more than once.
    Thanks
    Martin

    Hello,
    maybe you've resolved this problem in the meantime.
    I have encountered the exact same problem and will try solving this by setting the flag on field "GR-Bsd IV" in the purchase order at item level under the invoice tab.
    Can you verify this?
    Thanks,
    Amber Morphis

  • Restrict the receipt of same serial number more than once

    Hi,
    I want to restrict the same serial number to be taken in the stock more than once..
    Can somebody guide how to acheive this..
    At the same time I have the indicator set of auto creation of serial numbers at the time of goods receipt in serial number profile.
    e.g. I posted 2 material documents (101) one with material A and another with material B with the same serial number S
    when I check the serial number S in transaction code IQ03, it is showing against 2 mat. codes. I dont want this scenario to occur.

    IN IQ03 , you have to put both the material number and serial number.
    The serial number is tied to material number. Hence, different material number can have the same serial number.

  • Members from same dim appearing more than once in a record

    I have a dimension, "Day of the Week", with each day of the week as a member. My source data has a field for each day of the week. If the flight ( this is an airline flight database ) operates on that day of the week, there is a value, otherwise, its null. Is there a way to load this as is, or will I have to have a record for each day of the week that the flight operates? The Admin guide states "No member from the same dimension can appear more than once in a record", which I think answers my question, but I wanted to throw it out there to see if anyone else has a solution.thanks

    So, the days of the week are columns in your data source? That is no problem for a load rule. Normally you tag a column with the dimension it maps to in the cube. In this situation, when you reach the first week, you tag the column with the MEMBER in the day of the week dimension that it maps to.If this doesn't make sense, perhaps you could post the field layout of your file and myself (or someone else) could tell you how to map the columns in the load rule.Regards,Jade--------------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • In my folder "Pictures" - the same picture figure more than once

    When I move pictures from my iPhone to Iphoto my MacBook Pro, I get this problem....
    My photos below Finder - > Pictures , appears twice and sometimes more than twice. This also happens to my pictures from music albums. It's annoying , since I now have 15,000 pictures under "Pictures" even though I only have 2,500 pictures stored in iPhoto.
    It seems like for every face that appears on the photo, it creates a new copy/picture.
    I have recently bought a new MacBook Pro, and the same happens the new MacBook
    Anybody who can help me???
    Best Regard
    Meikey1234

    Your son is looking at the "All my Files" view and not directly at the Pictures folder. "Billeder" in "All My Files" means all image files, not the folder "Billeder". It will show all photos on his mac, not only the the ones in the "Pictures" folder.
    He should not use that view. It will reveal files inside library packages and is dangerous.
    My "All MY Files" is showing something similar. It is showing any image file that is somewhere on the Mac.
    He should access the Picture Folder from the Finder's Sidebar by clicking the Pictures icon.
    If the Pictures folder is missing from the sidebar, enable it in the Finder Preferences. Click somewhere on the empty desktop to bring the Finder forward and open the Preferences from the Finder menu.

  • The same album appears more than once in cover flow

    *1st question:* I just got my i-pod and i-tunes pulled album artwork automatically for the songs i put in i-tunes (not all of them of course), but when i view them on my i-pod using cover flow it will have the same album cover 2 or 3 times side by side. How do i get the cover flow option to only show one album? Why is it doing this - doubling up on an album with the same songs? Do i have to rename the album within the properties of the mp3 files to make them all the same?
    *2nd question:* Can i assign a mp3 file or song to a specific album within i-tunes? If i have a song that i don't know the album name of or if i don't care and just want it with other songs for an artist can i add that song to an album that is already established within i-tunes and has album artwork? I also want to use this to get rid of the grey boxes for songs that i-tunes could not find album art for - i just want to put all of these random songs into one album. Can i do this somehow?

    Can i assign a mp3 file or song to a specific album within i-tunes?
    Right click - get info and type in an album name.
    If i have a song that i don't know the album name
    I'd give it an album name of Unknown Album
    I also want to use this to get rid of the grey boxes for songs that i-tunes could not find album art for - i just want to put all of these random songs into one album. Can i do this somehow?
    Select all the songs, right click - get info.
    Give them an album name (such as Unknown Album) and paste in a picture of your choosing.

  • Message M8 321 Document contains same order item more than once

    Hi,
    i process incoming invoices by means of bapi_incominginvoice_create/park
    The source data is a file.
    The problem arises when i process the file containing the same order item several times
    in different invoices.
    when the code does:
      PERFORM importing_data_check       TABLES    itemdata
                                                   accountingdata
                                                   taxdata
                                                   withtaxdata
                                                   vendoritemsplitdata
                                                   glaccountdata
                                                   materialdata
                                         USING     headerdata
                                                   addressdata
                                                   c_rbstat_posted
                                         CHANGING  return[]
                                                   f_subrc.
    precisely in:
    *----- Prefetch PO items ---------------------------------------------*
      LOOP AT t_itemdata INTO s_itemdata.
    *----- Check double PO/Item ------------------------------------------*
        f_loop_doublecheck = f_loop_doublecheck + 1.
        LOOP AT t_itemdata FROM f_loop_doublecheck
                           WHERE po_number    = s_itemdata-po_number
                            AND  po_item      = s_itemdata-po_item
                            AND  REF_DOC_YEAR = s_itemdata-REF_DOC_YEAR
                            AND  REF_DOC      = s_itemdata-REF_DOC
                            AND  REF_DOC_IT   = s_itemdata-REF_DOC_IT
                            AND  SHEET_NO     = s_itemdata-SHEET_NO
                            AND  SHEET_ITEM   = s_itemdata-SHEET_ITEM
                            AND  COND_TYPE    = s_itemdata-COND_TYPE
                            AND  COND_ST_NO   = s_itemdata-COND_ST_NO
                            AND  COND_COUNT   = s_itemdata-COND_COUNT
                            AND  FREIGHT_VEN  = s_itemdata-FREIGHT_VEN
                            AND  VALUATION_TYPE = s_itemdata-VALUATION_TYPE.
            e_subrc = 8.
            PERFORM bapireturn_fill USING  'M8'
                                           'E'
                                           '321'
                                           s_itemdata-po_number
                                           s_itemdata-po_item
                                           space
                                           space
                                  CHANGING te_return.
            EXIT.
        ENDLOOP.
        IF e_subrc = 8.
          EXIT.
        ENDIF.
    i get this message M8 321.
    Can i process several invoices containning the same order item in the same execution of the file?
    if so, how?
    warning: i´ve already read this solution
    (belonging to Ram Manohar Tiwari, here http://www.rmtiwari.com )
    *   The following coding is to solve the problem
    *   mentioned in OSS Note 518338.
    *   Same PO item within several invoice items.
    SORT I_ITEM BY PO_NUMBER PO_ITEM.
    LOOP AT I_ITEM.
      ON CHANGE OF I_ITEM-PO_NUMBER OR I_ITEM-PO_ITEM.
        W_COUNTER = 1.
        LOOP AT I_ITEM WHERE PO_NUMBER = I_ITEM-PO_NUMBER
                         AND PO_ITEM   = I_ITEM-PO_ITEM.
          IF W_COUNTER EQ 1.
            I_ACCOUNTINGDATA-SERIAL_NO = '01'.
            I_ACCOUNTINGDATA-XUNPL     = ' '.
          ELSE.
            I_ACCOUNTINGDATA-SERIAL_NO = ' '.
            I_ACCOUNTINGDATA-XUNPL     = 'X'.
          ENDIF.
          MODIFY I_ACCOUNTINGDATA
           TRANSPORTING SERIAL_NO XUNPL
          WHERE INVOICE_DOC_ITEM = I_ITEM-INVOICE_DOC_ITEM.
          W_COUNTER = W_COUNTER + 1.
        ENDLOOP.
    *     To solve the repetition of PO item in subsequent invoices.
      ELSEIF SY-TABIX EQ 1.
        W_COUNTER = 1.
        LOOP AT I_ITEM WHERE PO_NUMBER = I_ITEM-PO_NUMBER
                         AND PO_ITEM   = I_ITEM-PO_ITEM.
          IF W_COUNTER EQ 1.
            I_ACCOUNTINGDATA-SERIAL_NO = '01'.
            I_ACCOUNTINGDATA-XUNPL     = ' '.
          ELSE.
            I_ACCOUNTINGDATA-SERIAL_NO = ' '.
            I_ACCOUNTINGDATA-XUNPL     = 'X'.
          ENDIF.
          MODIFY I_ACCOUNTINGDATA
           TRANSPORTING SERIAL_NO XUNPL
          WHERE INVOICE_DOC_ITEM = I_ITEM-INVOICE_DOC_ITEM.
          W_COUNTER = W_COUNTER + 1.
        ENDLOOP.
      ENDON.
    ENDLOOP.
    *   Changes over for  OSS Note 518338.
    in this OSS Note 518338 it says:
    Solution
    Fill the tables as described in the documentation for the BAPI. If you want
    to post unplanned account assignments for the invoice, fill field
    'Unplanned account assignment from invoice verification' (XUNPL) in table
    ACCOUNTINGDATA instead of field 'Serial number of account assignment'
    (SERIAL_NO).
    The question is that i do not have unplanned account assignment.
    Any hint or suggestion would be greatly appreciated
    Best regards.

    Hi!
    In your BAPI programs, you can not fill 2 or more invoice's items              
    with same reference data into the BAPI interface table ITEMDATA.                                                                               
    In your input data for BAPI with multi acc.assignment you should fill          
    only one entry in ITEMDATA for given PO and more entries in                    
    ACCOUNTINGDATA, each for a different SERIAL_NO.                                                                               
    When you use multiple account assignment in  BAPI_INCOMINGINVOICE_CREATE       
    then you have to fill the SERIAL_NO manually in the interface of bapi.         
    Serial_No should contain 01,02 so on depending upon number of account          
    assingnments the PO item has it. You can see the PO in transaction ME23N       
    and then fill SERIAL_NO in the BAPI.                                                                               
    Otherwise it can cause others problems in GR/IR account in the FI DOC          
    and PO history, as well as in the further invoice processes reference to       
    the PO/item (ex. MR8M, MR11, or create another new MM-invoice DOCs).           
    For more information on this please review the following attached notes:       
    972627  BAPI: Message M8 321 is displayed for no reason                        
    512282  BAPIs: Service-based invoice verification.                             
    Please check also the following information:
    After applying the note 661864 the standard system doesn't support                                       
    several invoice items reference to same PO/item and GR/item in the                                       
    BAPI process anymore. Mainly this note was developed to avoid short                                      
    dump. Now the message M8321 is issued.                                                                               
    As you create MM-invoice using on-line transactions (ex MIRO), automatic                                 
    processes (ERS, EDI) or BAPI as well, system will create or accept                                       
    the invoice item in this way:                                                                               
    Each item for a different reference data (EBELN,EBELP,LFGJA,LFBNR,LFPOS                                  
    for normal PO, as well as PACKNO and INTROW for service PO):                                                                               
    EBELN: PO's No.                                                                               
    EBELP: PO's item No.                                                                               
    LFGJA: original GR's year,                                                                               
    LFBNR: original GR's No.                                                                               
    LFPOS: original GR's item No.                                                                               
    If the PO is with indicator 'GR based-IV'='X', the reference data (LFGJA                                 
    LFBNR and LFPOS) must not be space. It means, you can't create an                                        
    invoice reference to the PO before posting of the corresponding GR DOC,                                  
    and one invoice item must be reference only to one GR DOC/item.                                                                               
    Otherwise if the PO is with 'GR based-IV' = ' ', the reference data                                      
    (LFGJA,LFBNR and LFPOS) are always space, you can create an invoice                                      
    reference to the PO before the GR DOC or without GR DOC, or one invoice                                  
    item can be reference to more GR DOC/items.                                                                               
    And the concept is valid for the PO with 'GR based-IV' or without it.
    Best regards
    Erika

  • Why same fields appearing more than once in a Table like EKPO , KNA1 ???

    hi ,
    in SAP IDES version u will see :
    In EKPO table : Two fields MATNR and EMATNR having same spec. and
    showing same redundant data in IDES version .
    IN KNA1 table : NAME1 field appears twice ...
    why so ? any utilities / Reason ????

    HI,
    kna1 is customer master table.
    now 1 customer can have 2 names like 1 official and one nick name or 2 persons or brothers who are given only 1 customer no kunnr by their vendor.
    these things are done by seeing all the business scenarios.
    now in table EKPO
    MATNR IS PRODUCT NO
    EMATNR IS MATERIAL NO.
    now there is a difference between product and material.
    a material can be a raw material semi finished or finished good,but a product is always a material which is been purchased through the purchase order from the vendor.
    the matnr is essentially the final stage of the product by the vendor.
    in many cases these contain same data but there are a lot of cases when these things worry.
    if you have accesss to your production system then you can check there.
    thanks
    reward if helpful
    vivekanand

  • ITunes keeps downloading the same TV shows more than once.

    I have limited download capacity, so when one TV show completes, I need the next one to download, etc. If I stop for the day and start downloading the next day, the TV show that is already downloaded, starts downloading all over again, eating up my Fair Access limits. Any way to prevent this? I have iTunes 9.1 and OSX 10.6.3.
    Thanks

    Contact iTMS customer support and ask the to delete that culprit from your download queue.

  • Assign One Position to More than one Employee Subgroup

    Dear Gurus,
    Please is it possible to assign one position to more than one employee subgroup?
    Secondly, I have a case here where employees in a particular cadre called Junior staff have different leave quota based on no particular criteria. This means that two people can be assigned to one position and have different leave quota based on Union agreement. If I create one employee group for all those positions who fall in this particular cadre, it would be difficult to generate their leave quota since I can only create generation rules by Seniority and age. And if I decide to create all the groups there are by the leave quota each group can get, I am still constrained by having 2people assigned to one position yet entitled to different quota. Please how do I go about this?
    Your suggestions will be greatly appreciated.

    Hi Rhoda,
    as to your second point: a solution for this was delivered as part of the SAP customer connection program,e last year in note 816423
    This allows you to manually influence the grouping of the employee to have an additional criterion to determine leave entitlement.
    AS to your first point: I can't quite see, what the purpose could be. Sure, you could change time dependencies accordingly, so more than one EE Subgroup assignment could be captured. But the field is setting the default value of the same field in PA, IT0001. If there is more than one value, it cannot be decided, which one is to use. So, in that respect, it doesn't make sense. Then it's easier and better to just leave the field empty in OM and have it filled manually in IT0001.
    most comoanies don't used that field in OM anyway.
    kind regards
    Sven

  • Getting the same text more than once

    I keep getting the same numerous texts more than once from my friends and one of my friends even said that they were getting my texts out of order. Is it my phone or the network?

    It's easy to burn another copy of a DVD if you have already burnt a copy of it before. Just click the "Format" icon in the toolbar. It will pop up with a window with some options. You shouldn't have to change any of these options, just make sure that the Output Device is set to your DVD drive, which it should be set to by default. Just click the "Burn" button, pop in a DVD, and you're good to go.
    If you've made a few changes to the DVD, you can use the "Build/Format" button in the toolbar. It will pop up with a window similar to that of the Format window. Click "Build & Burn." It will tell you that a VIDEO_TS directory already exists, and it can reuse as much of it as possible. You can then click "Reuse" to build the new portions of the DVD, and then it will burn it on a DVD.
    Hope this helps.

  • Can you create a form in which its never possible for the same person te sign the form more than once.

    Hi, I've been looking into this for awhile and believe the answer is 'no' but was just wondering if anyone here would know of a solution.
    The company I work for has a formulier on which a number of Excel files are placed. This form is then sent to a five (often different) people who are then required to open the Excel files and if accord to place their digital signature. We would like to make sure that no one is able to sign the form more than once and also if possible to make sure they have opened the Excel files. It would be great if anyone had any tips...
    All the very best,
    Martin Angell

    I am not an Excel or Excel-to-PDF conversion expert, so I do not know how Excel forms are converted to PDF form fields. With this caveat here's what I do know.
    In Acrobat It is possible to create a PDF form in which there are JavaScripts associated with fields (any fields, including signature fields). These JavaSripts can do a lot of things, including checking the signer's certificates on the already signed signature fields. Then you can make all unsigned signature fields read-only, in which case the user will not be able to actually sign them. After that you can overlay a button field on top of each unsigned signature field with exactly the same dimensions and associate a JavaAcript with this button field. This JavaScript would put up an UI asking the user for the signing certificate and its password, check this certificate's CN against the list of already signed signature fields and initiate the signing of the unsigned signature field behind this button if your condition is satisfied.
    I never tried that myself but it could work. This looks complicated and it is but if you really want it you can try.

  • Can the same partner function be entered in the sales order more than once.

    Hi
    I know that as per standard same partner function cannot be entered more than once in Sales order.
    If somebody has tried ways to do this please share.
    THanks
    Alags

    Yes. You can have multiple Ship to Party, Bill to Parrty & Payer in Sales Order. But Sold to Party will have to Unique & single.
    This functionality of having multilpe Partners is widely used & just follow as Deepak suggested above & you too can have multiple Partners of same type in single Sales Order.
    But there has to be a strong Business case in doing so... say different Ship tp Party for different line items in Sales Order or different BIll to Party for some line Items in Sales Order.
    Hope this helps,
    Thanks,
    JIgnesh Mehta

Maybe you are looking for

  • Adobe Flash Player not working with OS X Yosemite

    Since I upgraded to the latest version of Yosemite, flash player will not work with any browsers. The latest version is: 10.10.2 (14C109). When I install flash player all browsers crash or if I try to use them with anything that needs flash player, i

  • Modify Recent Items list

    I open a lot of torrent files that I really don't ever need to open again. I was wondering if there was a way to prevent these items from cluttering up the Recent Items menu. I've looked at the com.apple.recentitems.plst but it just seems to be a lis

  • Shift Calendar model in Read-only mode

    Hi I found in this forums that someone has been used the Shift Calendar model. But in my BPA, when I create a new Shift Calendar, the model is read-only and couldnt do anthing on that. How could I enable this usage? Cheers Matt

  • My Movie Won't Play Back

    I have worked on this movie a couple of times with no problems. Tonight, suddenly when I try to play it, I only see black. The scroll arrow moves, and the red cross hair moves normally across my clips, and the time counts down. But the screen remains

  • Versions for Quotations

    Dear All, Is there anything called version mangement in SD like in MM? How to track the changes in Quotations & Sales Orders once its revised ? Is there anyway to track it other than the Menu Environment Header & Item changes tab?? Expecting your val