Changing the material document type.

Hi All,
While creating a GR using the FM "BAPI_GOODSMVT_CREATE", is there any way we can set the document type (WE or WN) depending upon the company code.
Thanks in Advance
Someswara

Hi,
The short answer is no, the document types are not, and should not be, company code specific, they relate to the movement taking place rather than the company involved.
Why would you want to use a different document type?
I would imagine that it was to segregate the different company codes but surely the company code is part of the data anyway and can be  used for this purpose?
Steve B

Similar Messages

  • Change the reverse document type for RE.

    Hi,
    We want to change the reverse document type for document type RE, can any one sugget the possible negative impact.

    hi
    kindly note that if you are creating a new document type to be assigned as the reversal document type for RE then you need to assign the appropriate number range interval for the year.
    if you are going to assign an existing document type as the reversal document type for RE then you will not be able to distingush the past and the new documents generated as both of them shall belong to the same document type.
    regards
    eashwar
    Edited by: eashwar1 on Apr 15, 2010 2:38 PM

  • Change Purchase Requisition Document Type when item category is D

    Hi experts,
    i have problem, when i put servis number in to the servis line i havent change Purchase Requisition Document Type. Account
    Assignment Category is K and Item Category is D. It is standard of Purchase Requisition? When i set that i can change document type when item category is D.
    When i putting only material i can change Purchase Requisition Document.
    Thx for your answer.
    Laco

    Hi,
    One thing please note that once you select the document type and draft the PR and save the PR, you will  get the doc number.
    Once you get the document number you cannot change the PR document type .
    The reason is document type is linked with number range so it cannot be changed because different seriers of document number is assined to differentdocument type. 
    And moreover document type is linked with the screen settings also. So I would request you to check the settings for each doc. type

  • Change the backend doc type from PR to PO in BADI BBP_TARGET_OBJECTS.

    Hi,
    We have followed below approach for backend document type determination.
    1. A custom function module contains the logic to determine the backend document type of a Shopping cart line item. THis function module, performs many checks and hence cannot be called in any BADI that is executed in Foreground.
    2. I am using BADI BBP_TARGET_OBJECTS to change the follow document type by calling the custom function module.
    Issue here is, if the backend document type of a line item is Purchase requisition (2) by SAP standard, and if I try to change it to Purchase order, it gives run time error and ends up in creation of Purchase order.
    After further investigation I found that this line item (with default backend doc type as 2) has a desired vendor. If we change the desired vendor of this line item to fixed(To Partner function 19 from partner function 39), it allows us to change the doc type from Purchase requisition to purcahse order in BADI BBP_TARGET_OBJECTS.
    But changing the partner function is possible only in BBP_DOC_CHANGE BADI, and I cannot call the custom function module there, as it may impact the performance.
    Is there any other way, I can change the partner function in any of the BADIs called in background?
    Or Is there any way by which I can change the backend document type from PR to PO in BBP_TARGET_OBJECTS?

    Hi Parab
    if you swaping 39 to 19 viadoc change badi
    REQUESTER has a control on Purchase ORDER Vendor and BUYER lost a control so your business has to decide.In this case procurement department lost their control.
    Fixed vendors are like inforecord and contract negotiated for best price ..
    Muthu

  • Change the material type

    Dear All,
    i have changed the material type "FERT" to "ROH" wrongly and then , i am trying to reverse it . but the system give the error"material type can't be changed . and its give some PO number and line item also. for all those PO's are STO PO's. this All   the PO has been created  last year and GR/ IR also completed. could you please explain , why the system doesn't give any error while changing the material type FERT to ROH.
    Rgt
    KT

    Hi,
    Check whether this is helpfull,
    Following are the pre-requisites for changing a Material type :
    1. No PR , PO should exist
    2 No Stock should exist .
    OR
    1. Account Category refernce assigned for both the material type should be same so tht the accounting determination wrt to material type is not effected .
    Hoep that was helpfull..
    Thanks & regards
    Vicky

  • Change the Material type & Material industries

    Hi Expert,
                      I have created one material code. Suppose that Material Code is " XYZ"
    Material code : "XYZ"
    Material Type : FERT
    Industry sector: Chemical industries
    I want to Change material type & Industry sector.
    Please help me how i change the  Material type & Industry sector.
    Best Regards
    Shashi Singh

    Hi
    I want to Change material type & Industry sector.
    Changing the material type for a material is possible as it has been well explained by other friends
    It is because a semifinished goods  one material type  can become a finished goods another material type
    Changing the industry sector is not possible at all
    Once industry sector is assigned to a material you cant change it at all
    Regards
    Raja

  • Output type should come Automatically in the material document

    Hi All,
    How the output type will come automatically in the material document after doing some material movement through MB1C.
    Regards
    Bapu

    Hi Bapu
    Are u asking how it is coming or you want the output to come for MB1C.
    Please check Tcode OMBR there select print version, and you can see for Tcode MB1C settings should be there.(i.e. print version must be maintained there).
    regards
    Yogesh

  • USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT

    Hi,
    Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
    Regards,

    Hi,
    There is another user exit for updating material document data Upon posting  is MB_CF001
    I hope this will fullfill you.
    Prem

  • How to clear the PPC balance to change the material type?

    Dear experts,
    Our customer need to change some material type (valuation class as well) from semi-finished product to purchase part. It uses Product Cost Collector for semi-finished/finished product and never makes settlement for any PCC.
    To change the material type through MMAM requires zero stock and cleared PCC balance. So we removed the stock of the semi-finished product and settled the PCC for every month of this year.
    Since the products could have entry this year and last year, even if we settled their balances of this year, it still can not be changed the material type.
    And we do not know how to settle the PCC balance of last year because only one field YEAR can be entered on screen KK87/CO88. If I enter settleme period 11, posting period 12 and fiscal year 2007, system will give error "Period 12 is not allowed".
    But we happend to find one product has no entry this year but has balance value of last year. Its material type can be changed w/o any errors, which seems last year balance has no impact material type change. I get confused.
    Can any one advise whether I'm wrong and where?

    Hi Sharan,
    Matl Povided to Vendor stock will appear in Subcontracting scenario.
    If at all you have given some material to a subcontractor , this will be consumed automaticaly when you will recieve the ordered material from subcontractor.that is 543 movement will take place in the backgroung when u do the GR.
    In case if u need to clear the stock u can do 542 and take the stock back to unrestricted.
    Edited by: Donsandy on Jan 21, 2009 6:19 PM

  • Reverse the material document before cancelling the excise invoice.

    Dear Experts,
    While cancelling the exice invoice thru J1iex , system is giving me an error message "Reverse the material document before cancelling the excise invoice" .......I checked PO history where all the material documents are already cancelled with MIGO cancellation (movement 106 )
    But in J1iex , if I select the cancel option and put this invoice number , it is showing me one document with status "IN PROCESS" and if I select that doc and try to save it. System prompted me the message "Reverse the material document before cancelling the excise invoice ,but if I am trying to post this document system is issuing me a message "All Part I entries have been canceled for excise invoice ...........xx.Exicse table J_1IGRXREF and J_1IPART1 alrady update with both documents.kindly any one suggest me positive.
    MINI

    Hello
    follow the below steps
    1. MIGO:Cancel the material document (movement type 102) & during cancellation update part1 only. This changes the excise invoice document status to In process
    2. J1IEX:Post the excise invoice referring the material document (of movement type 102). Creates an accounting document to reverse the CENVAT postings. Creates a corresponding entry in Part II of the appropriate excise register
    Thus the excise postings are reversed.
    3.J1IEX: Cancel the excise invoice (Do this if your plant does not allow multiple goods receipts per excise invoice).Now the system will allow you to cancel the vendor excise invoice
    above the procedure right. you will get this updation excise registers also
    Laxman

  • How to see the material document for Blocked stock

    Hello Experts
    I having some blocked stock in plant X , How to see the material document for this stock.
    Thanks in Advance
    Prashanth.v
    Edited by: prashanth.venkategowda on Aug 11, 2010 7:38 PM

    which material documents do you want to see?
    Material documents can be found and displayed in MB51 transaction.
    in MMBE you can put the cursor onto your stock line and then choose from menu Environment > material documents and SAP will list all relevant material documents.
    block stock status is not a selection criteria, material number, plant storage location, batch number are selection criterias.
    if you want only documents to block stock, then you need to select by movement type, e.g. 343 and 344 are movements that change status from unrestricted to blocked or vica versa.

  • Error while cancelling the material document.

    HI,
    while cancellation of material document thru MIGO screen getting error
    Deficit of PU IR quantity 20.000 EA
    Message no. M7021
    Diagnosis
    Shortfall below the specified stock level or quantity amounting to 20.000 EA.
    Diagnosis
    Shortfall below the specified stock level or quantity amounting to 20.000 EA.
    The invoice of material document has been process thru ERS.....so no way we can cancel the invoice.
    waht is  the exact process to cancel this document which furher use ERS for invoice verification.
    thanks.....

    Hi Ayaan,
    You need to set the indicator against the movement type 102 under the following path :
    SPRO>Materials Management>Inventory Management and Physical Inventory>Goods Receipt>For GR-Based IV, Reversal of GR Despite Invoice
    Once set , try reversing the material document . This will work .
    Regards
    Ramesh Ch

  • Change the class and type in javascript or select statement of region

    Application Express 3.2.0.00.27
    I have a manually created tabular form where I need pk to be updatable or not not updateable depending on whether its a new record or not.
    I am attempting this thru 2 different ways.
    1st:
    using decode in select statement of region:
    SELECT decode(c001,NULL,APEX_ITEM.POPUP_FROM_LOV(15,c001,'AUTH_LOV',NULL,NULL,0,NULL,NULL,NULL,'YES','f15_' || '#ROWNUM#'),
    apex_item.display_and_save(15,c001,'f15_'|| '#ROWNUM#')) authid,
    apex_item.hidden(16, c002, NULL,'f16_'|| '#ROWNUM#') empid,
    -- apex_item.display_and_save(16,c002,'f16_'|| '#ROWNUM#') empid,
    apex_item.date_popup(17, rownum, c003, 'DD-MON-YYYY',20,2000,NULL,'f17_' || '#ROWNUM#')deldate,
    apex_item.textarea(18,c004,5,40,NULL,'f18_'|| '#ROWNUM#') "Delegation scope",
    apex_item.textarea(19,c005,5,40,NULL,'f19_'|| '#ROWNUM#')"Delegation limits",
    apex_item.select_list_from_lov(20,c006,'YESNO_LOV',NULL,'NO','N','%','f20_'|| '#ROWNUM#')"ORA Signed",
    apex_item.date_popup(21, rownum, c007, 'DD-MON-YYYY', 20,2000,NULL,'f21_' || '#ROWNUM#') "Del expiry",
    apex_item.date_popup(22, rownum, c008, 'DD-MON-YYYY', 20,2000,NULL,'f22_' || '#ROWNUM#') "Date removed",
    apex_item.textarea(23,c009,5,40,NULL,'f23_'|| '#ROWNUM#') "Delegation comments",
    apex_item.POPUP_FROM_LOV(24,c010,'DELEGATION_LOV',NULL,NULL,0,NULL,NULL,NULL,'YES','f24_' || '#ROWNUM#') "Delegator",
    apex_item.display_and_save(25,c011,'f25_'|| '#ROWNUM#') status,
    -- apex_item.display_and_save(26,seq_id,'f26_'|| '#ROWNUM#') seq_id,
    apex_item.hidden(26, seq_id,NULL,'f26_'|| '#ROWNUM#') ||
    apex_item.checkbox(27, seq_id,NULL,NULL,':','f27_'|| '#ROWNUM#') chkbx
    FROM apex_collections
    WHERE collection_name = 'DELEG_COLL'
    AND c011 IN ('O','N','U','D')
    --order by c001However this approach yields this error when I try to pick a value from the lov:
    Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
    My other approach is to attempt to change the type and class in javascript. I am trying this but I get an error when I attempt to change the class and type like this:
    <script type="text/javascript">
    <!--
    /* Client side validation on the Salary column */
    function changeProp(pCol) {
       var elms = document.getElementsByName(pCol);
       for (i=0; i< elms.length; i++) {
    /*       elms.style.backgroundColor = 'yellow'; */
    if (elms[i].value == null || elms[i].value == '%null%'
    || elms[i].value == '') {
    elms[i].class = 't20data';
    elms[i].type = 'hidden';
    alert('The value is' + elms[i].value);
    //-->
    </script>

    not completely duplicate...here in this thread I am stressing what I am trying to accomplish and asking for help on the javascript side.

  • External delivery number from VL3xN as reference in the material document

    All,
    I have the following situation. I need the external reference ID delivered by the supplier sent in an advanced shipping notification (ASN) to be copied over as the reference in the material document.
    If you post the delivery with MIGO, the external reference is copied, if you use VL3xN or BORGR, it is not.
    Can anybody help me here?
    Thx & regards,
    Bobby

    Padmasri,
    the x in VL3xN stands for 1 or 2, i.e. either create or change.
    BORGR is the transaction code for goods receipt in the automotive business.
    B.

  • Change the material no. range

    Hi Friends,
    I want to change the material no. range for the material types defined in the system. Currently they are assigned 5 digit no. range I want to change this and increase to 7 digit no.
    Can some please guide how can I achieve this.
    Regards,
    Wasim.

    Hi
    You can change length of material number ranges from Tcode  OMSL
    Thankx & regards
    suleman.

Maybe you are looking for

  • How to open and store a data to excel file usig java

    you hava a data in database .you can reterive the data and tranformed to excel file.you can save as well as poen it possible or not?

  • WLC 5508 and associated AP's

    Hi, I have a problem with a poor signal. I have two WLC 5508 and 10 ap's 3502. So, that I have two wlc on the network I decided to divide this 10 ap's. WLC 5508 has 7.0.98 software version. The 5 first ap was associated to one wlc and the other 5 to

  • Retrieve deleted messages in SXI_MONITOR

    I'm trying to access some old messages from sxi_monitor. i have the message ID for reference. i saw the message in the SXMSPHIST table in se16 but with a REORG status of DEL. Is there a way to retrieve this message to view the audit log? Thank you. I

  • HT1338 Can I upgrade from OS X v10.6.8 straight to Mountain Lion on a Mac Book Pro?

    Hello, does anyone know if I can upgrade from OS X v10.6.8 straight to Mountain Lion on a Mac Book Pro? Thanks

  • Unable to install snow leopard 10.6.3

    Hi My iMac is more than 6 years old. The version is 10.5.8 With this version, I am unable to sync my itunes with the the latest iphone and hence I have to upgrade my iMac OS now. I bought the snow leopard 10.6.3 dvd but I cannot seem to start the ins