Problem with document type in ME51N

Hi all,
ME51N transaction will pickup NB document type by default. We can change the default document type by using personal settings in ME51N. But, can we restrict document type using ABAP development irrespective of default settings. Suppose NB is default doc type. If we open ME51N, some other doc type should come other than NB. Is it possible by ABAP development. Its very urgent. Please help me in  this.
Thanks in Advance,
Siva Sankar.

Siva Sankar
You may use Field Exit to do this enhancement. You can create fieldexit from report RSMODPRF.
In order to use field exit check/activate Profile Parameter abap/fieldexit using t code RZ11.
Thanks & regards
Amol Lohade

Similar Messages

  • Problem with document type on WF for parking document

    Hello
    Iu2019m actually working on  the SAP workflow dealing  with the FIPP object and  the event u201Ccreatedu201D (FI park document transaction (FV60)).
    The problem is that the WF is launched for all document types wich is not the need of the customer. Iu2019m looking for a solution to launch the WF for some specific document types.
    Iu2019ve already tried to use  the workflow variant, approval groups, paths and procedure with no success. (SPRO -> financial accouting-> accounts receivable and accounts payable -> business transaction -> incoming credit invoice memo -> make and check setting for document parking)
    Thank you for help.
    SL

    Here is the solution I have  eventually found :
    1-      Application of the OSS note 559276 which enables the customizing of the workflow variant (the transaction OBWD becomes here effective)
    2-     Assignment of the documents types, workflow variants and release approval groups with the transaction OBWD.
    Therefore, the document types that are not defined in the transaction OBWD will not require validation (no workflow will be launched).
    SL

  • Problem with documents on iCloud.

    I have a problem with documents on iCloud, I can`t use it with Pages on Mac and iOS too, Pages not view any documents and can not approach to save documents and not save new documents to iCloud. Any idea?
    Thank you for help.

    Hello,
    Winston and Shayari,
    I have also faced this problem with document on iCloud, I couldn't saved the documents to iCloud,
    But I found this article problem posted by Hindi love Shayari San and I found the solution this way:
    I signed out, then singed in again renabled the iCloud and it works.
    I could do this with the instructions of Winston told to Shayari.
    Well, a big thanks from my side.
    Veena

  • Problem with document splitting

    Hi,
    I am encountering a problem with document splitting, where in while doing clearing of down payment against miro invoice profit center of first line item is over ridding profit center of second line item (line items are two different materials in purchase order).

    Hi Milind,
    Thanks for the reply.
    I've done the below configuration and assigned cost/profit center update. It now works for profit center split. It still does not split accordingly per cost center though.
    SAP Customizing Implementation Guide > Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers >Ledger > Assign Scenarios and Customer Fields to Ledgers
    In the below configuration, cost center is not an available option. Unlike the profit center which is available here.
    SAP Customizing Implementation Guide > Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Define Document Splitting Characteristics for General Ledger Accounting
    The profit center split looks fine now, however the cost center split still is only reflected in the expense items and not on the AP item.
    Any ideas on how to actually split the AP line items according to the cost center assignments ?
    Edited by: Patrick on May 9, 2011 7:46 AM

  • Problems with letter type

    Problems with letter type homepage www.JO-qigong.nl When I want to make another type it changes the whole page? Why?

    Thank you for responding. I am sure that I selected the text. I don't do anything different than I did many times before. But if I change a text know, for exemple in the color Red, than other text, that I didn't selected, get a different text: bigger text or other color. In iWeb everything is OK, but when I publish it, than there are those grazy changes. I use iWeb for 3 years now and had no problems till now.
    Is it because the software is not supported anymore by Apple, because you can not update the software anymore. It is a pitty, because I like iWeb. It is easy to work with.

  • Problems with Document Connect

    I have a problem with Document Connect. I am unable access office live workspace.
    I have been on the help line with microsoft but they were unable to help.
    Then I went to an apple store and was informed by one of the sales assistance that Document Connect never worked with the apple. Well what was the point in having it then?

    I wish I knew what Document Connect is. I'd bet I could fix it. Not really, but what is it?

  • SD invoice posted with document type RV ,

    Hi all,
    I try to do incoming payment for SD invoice posted with document type - RV. when i used to do incoming payment by transc code: f-28. An ABAP dun error occurs, stating termination " message type-X".
    Is it possible to do incoming payment for SD invoice from FI. Urgent help needed.
    Regards
    Raj

    Hi,
    Once an Invoice is created in SD, An Accounting document is generated with document type RV. RV Doc. Type shows that the customer is liable to pay the amount.
    While you post the document through f-28, the document type shuld be changed to customer payment.
    It may be one of the reason. So select the docment type customr payment  but not RV and try
    Regards

  • Problem with mime type in web.xml file

    Hi everybody,
    I actually got a problem with mime types on Weblogic 6.0 under Linux.
    I read the documentation so I added the next lines in the web.xml file in
    the WEB-INF directory of my server :
    <mime-mapping>
    <extension>
    doc
    </extension>
    <mime-type>
    application/msword
    </mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>
    ppt
    </extension>
    <mime-type>
    application/vnd.ms-powerpoint
    </mime-type>
    </mime-mapping>
    Why can't I retrieve a .doc or .ppt files with an internet browser correctly
    ? I get only text/plain ...
    Can someone help me ?
    Regards,
    Alexis Berger

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • Getting error while processing EDIFACT-D96A-ORDERS.. Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND

    Hi Anuj & All,
        I'm trying to create an outbound scenario with EDIFACT-D96A-ORDERS. A simple SOA composite application polling data from DB and through B2B adapter 'send' option provides data to B2B system.
    Set up two partner profiles like this,
    Host:
    Name: HTP
    EDI Group ID: HTP
    EDI Interchange ID: Interchange Sen
    EDI Interchange ID Qualifier: 01
    Remote:
    Name: RTP
    EDI Group ID: RTP
    EDI Interchange ID: Interchange Rec
    EDI Interchange ID Qualifier: 01
    Other settings are as usual. Delivery channel of generic file created on RTH.
    Now, few documents settings on B2B console are like this,
    D96A-> Interchange tab
    Create UNA: Never
    ORDERS-> Transaction
    Functional Group Identifier Code: ORDERS
    Controlling Agency: UN
    - other properties are unchanged.
    On SOA side, the bpel invoke activity which calls B2B adapter has following properties:
    <invoke name="InvokeOrders"
      inputVariable="InvokeOrders_send_InputVariable"
      partnerLink="D96A.ORDERS" portType="ns2:send_ptt"
      operation="send" bpelx:invokeAsDetail="no">
    <bpelx:inputProperty name="b2b.toTradingPartnerIdType"
        expression="'NAME'"/>
    <bpelx:inputProperty name="b2b.toTradingPartnerId"
        expression="'RTP'"/>
    <bpelx:inputProperty name="b2b.messageType" expression="1"/>
    <bpelx:inputProperty name="b2b.messageId" variable="messageID"/>
    <bpelx:inputProperty name="b2b.fromTradingPartnerIdType"
        expression="'NAME'"/>
    <bpelx:inputProperty name="b2b.fromTradingPartnerId"
        expression="'HTP'"/>
    <bpelx:inputProperty name="b2b.documentTypeName"
        expression="'ORDERS'"/>
    <bpelx:inputProperty name="b2b.documentProtocolVersion"
        expression="'D96A'"/>
    <bpelx:inputProperty name="b2b.documentProtocolName"
        expression="'EDIFACT'"/>
    <bpelx:inputProperty name="b2b.documentDefinitionName"
        expression="'ORDERS_def'"/>
    <bpelx:inputProperty name="b2b.conversationId"
        variable="ConversationID"/>
    </invoke>
    The error I'm getting on B2B Console->Reports->Business Message, while running this is,
    Error Code B2B-50547
    Error Description Machine Info: (htp01310-vm01.htp.com) Description: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
    Error Level ERROR_LEVEL_COLLABORATION
    Error Severity ERROR
    Error Text Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
    Note: On Manage Deployment Tab I've checked the agreement is in active state.
    -- Business Message (Result):--
    State: MSG_ERROR
    Document Type: ORDERS
    Agreement: <blank>
    Sender: HTP
    Receiver: <blank>
    -- Application Message (Result):--
    Sender Id Type: NAME
    Sender Value: TCS
    Receiver Id Type: NAME
    Receiver Value: ORCL
    Document Type: ORDERS
    Document Definition: ORDERS_def
    Document Protocol Name: EDIFACT
    Document Protocol Version: D96A
    Direction: OUTBOUND
    State: MSG_COMPLETE
    - Can anybody please shoot some pointer on how to resolve this? Please let me know if you need further configuration details which I've not mentioned here.
    Regards,
    - @bhijit

    Hi Mariusz,
        Thanks for your reply. Yes I think so, probably you're right. But finest trace level doesn't give much clues on "wrong mapped" data. Anyway, here is the detail log. Please don't forget to point out if you find something interesting.
    #### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
    > <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704092> <BEA-000000> <Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    #### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
    > <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704569> <BEA-000000> <Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    Rgds,
    - Abhijit
    P.S. - Can you please check what is the value of "Functional Group Identifier Code" for D96A ORDERS.

  • Problem with document

    Hi All,
    I've got error message : "problem with document numbering file. Restore the file and contact your software vendor..." after importing some invoices. The first line of message is 2100oInvoices.
    Pls give advice how to resolve it. Thx
    John

    Dear,
    Try below procedure:
    Log off by File Exit, restarting the system, and logging on again.
    If can't sovle your issue, you have to follow the recommandation from Du or log a message to SAP
    Regards
    Apple

  • How do fix problem with iPages - type does not enter - ?

    How do I fix this problem with Pages - type from keyboard does not enter ?  If I need to re-install, How do I do that?

    Hello DonAndNorma,
    You may need to uninstall, then reinstall the Pages application. Steps for doing so can be found in the article linked below.
    OS X Mavericks: Install, update, and uninstall apps
    http://support.apple.com/kb/PH14299
    Cheers,
    Allen

  • Problem with Doc type change in ME51n

    During ME51N, when I change the document type of PR system keeps on Processing/busy mode, takes long time (almost 5min) to effect the doc type change in drop down.
    there is no processing time taken if i enter the  the other data in the transaction like quantity,Plant,Purchasing organisation.
    So my Problem is that system takes too much type only when I try to change the Doc Type of PR in ME51N.
    (Note: In debug mode I try to locate the pain point, I noticed that system stuck at module 'Even_pie_finished'...there it keeps on processing continuously.)
    Please input on problem. I am putting this on MM forum at times.

    Thanks for Reply,
    But the Problem is not on changing the Doc type rather Problem is with too much time taken by system when I try to change the doc Type of PR. Prerequisites related to changing the doc type are there in place.
    System goes in into processing mode for long time movement I change the Doc type.
    Jurgen sir, Dev & Prasoon please suggest some input.
    Just to correct in my question module name is 'event_pai_finished'
    There must some infinite loop is getting executed in programme i guess.

  • Problem invoking document type webservices with SAAJ

    I cannot invoke document type webservices with SAAJ. No problems invoking rpc-style services. Can anyone help me to invoke doc-type webservices with SAAJ. Very urgent. Thank you.

    Siva Sankar
    You may use Field Exit to do this enhancement. You can create fieldexit from report RSMODPRF.
    In order to use field exit check/activate Profile Parameter abap/fieldexit using t code RZ11.
    Thanks & regards
    Amol Lohade

  • Problem in FEBA / FB05 with document type

    Hi:
    I have a requirement. My users need the possibiliyu to choose the document type when they use FEBA TX. When FEBA is used, it calls FB05 TX, but you cannot choose the document class. We have defined a posting rule that uses in only a document type in this case, but when we use FEBA we cannot change document type. We need the possibility to choose several document types. I tried with OB28 Validation of Accounting Documents, but doesn`t work.
    Please, do
    you have any idea, user exit or solution for this problem? Release 4.6.C
    Thanks in advance.
    Best regards

    the structure arc_buffer has following fields
    RCSZK
    RNAME
    CHECKSUM
    FLAGS
    SEGMENT
    so in the routine
    PERFORM read_file USING handle_tab_wa-offset record_len
    CHANGING arc_buffer(record_len)  "here just use it like arc_buffer-<field_name>(record_len)
    error_handling
    p_message.
    or before calling the perform statement
    data:lv_string type string.
    call method cl_abap_container_utilities=>fill_container_c
    exporting
    im_value = arc_buffer
    importing
    ex_container = lv_string
    exceptions
    illegal_parameter_type = 1
    others = 2.
    PERFORM read_file USING handle_tab_wa-offset record_len
    CHANGING lv_string(record_len)  "here just use it like arc_buffer-<field_name>(record_len)
    error_handling
    p_message.

  • Problem with Output type NEU in PO

    hI all,
    I would like to have the possibility to send the PO document via mail.
    Therefor I changed the smartform and the program as I did it for some other. I tested it and it works.
    To do so, I've created a new output type ZNEU by copying the NEU output type.
    I've created a new schema including my ZNEU output type in place of the standard NEU.
    I inculded the schema I've created for output type ZNEU.
    I did all the customizing in the NACE transaction, I've created the condition record for ZNEU in the transaction MN05 on the level 'document type', and also set  the communication strategy.
    But there is somethin missing, because by creating a PO, the system doesn't set the ZNEU message type in the PO automatically. Looking the protocol, it says that a valid output condition has been found but it is still not set in the PO.
    Any idea ? I looking for this problem for hours...
    thank you

    It is a possibility that 'smartform' has formatting error and although it is going to the print program as guided by condition records..
    But not assigning the output type with PO document
    Can you please do two things:
    1. Put a break-point in print program and see if control goes there or not
    2. Test the output after adding it in manually in PO
    Thanks.

Maybe you are looking for

  • How do I sync my existing iPhone to a different Mac?

    I have an iPhone 3G loaded w/ apps, playlists, etc. that is currently synced to my work Macbook. My Macbook has a LOT of apps, many which aren't on my iPhone, only synced as needed. I want to keep the apps and sync it with my Mac Mini at home. I am w

  • Multiple sources in a single Connection Pool

    Hi Folks, I have a requirement to import data from two diffrent data sources( for example : Two diffrent database of Oracle in two diffrent servers) using a single connection pool to the physical layers of OBIEE RPD. Can anyone please suggest whether

  • PROBLEM PLEASE HELP

    do u know how when u plug ur ipod in it brings up a page with the info about ur ipod and tabs at the top saying playlists, music, videos, tv...etc when i plug mine in it doesnt go to that page it goes to the page about that january update. when i cli

  • Photos and Music on external HD do not synch with Snow Leopard upgrade.

    I upgraded to Snow Leopard several months ago.  I keep my music and photos on an external HD (WD My Passport).  Since the upgrade most of my music does not synch and Faces.  Can someone help me resolve this?  My family has 4 iPods that I can't fully

  • Java IDEs

    Hello, I am interested in getting some feedback on java IDEs. Is the Eclipse, Sun Studio, or Netbeans IDE better for developing desktop, web, and mobile java applications. Secondly, are the books available at bookstores on IDEs like the Netbeans Fiel