Substituion of the FI Document type from MM posting

Dears,
we are actually in the need of posting movement type 562 and would like to assign a specific document type when certain conditions are met.
In transaction OMBA document type WA is associated to the goods receipt (which is the task that is being carried out with movement 562) and we would like to substitute it with a custom document type when posting the document that meet particular criteria such as Plant and G/L account.
I have tried to create a substitution from standard transaction OBBH but, if I create it at line item level, I am not able of selecting the BLART field (since it is part of the header data) while if I create it at header level I do not have the necessary information (such as plant and G/L account) and it's not possible to select the document type as a field to be substituted.
Do you think that it would be possible to achieve my objective by creating a substituion at line item level that has, as prerequisite, the plant and G/L account, and a UEXIT as substitution?
Do you have any other suggestion to solve this issue?
Thanks and best regards
Davide

Hello Davide,
You can try to change the attribute to the BLART and make it subsitutable (by maintaining VWTYGB01 view via SM30) and build your subsitution on complete document, but I doubt if SAP will allow to substitute such sensitive field.
Regards,
Eli

Similar Messages

  • Retrive document types from BKPF / BSEG

    Hi guys,
    I need to extract records with the following document types from BKPF
    - RE (Invoice Gross with PO)           
    - RA (Sub.cred.memo stlmt with PO)
    - KR (Vendor Invoice without PO)          
    - KG (Vendor credit memo without PO)      
    - ER (E-Payment)                    
    - TE (Travel & expense)               
    - KD (Down payment)               
    and then for these records the BSEG entries with these posting keys
    - 31 (link to Payment via clearing document)
    - 40 (debit entry, for non-PO voucher)                    
    - 50 (credit entry, for non-PO voucher)                    
    - 86 (GR/IR Debit, link to PO Line, positive)                
    - 96 (GR/IR Credit, link to PO Line, negative)                
    Extractor 0fi_gl_4 does not provide me wtih all these doc types, only a subset.
    0fi_ap_4 is not an option for me, because in the data warehouse I need to link the bkpf/bseg records to the PO (ekko/ekpo), while we have no po reference in bsik/bsik that are read by 0fi_ap_4.
    Is there a way to extend the fi_gl_4 so it contains the doc types I need?
    Or do you know another way of retrieving bseg records of specific types?
    Regards,
    Arjen

    ok,
    I have checked again and if you didn't change the business content, both fields BLART (doctype) and BSCHL (key) are extracted; how was your delta init done? with selections? Did you apply some specific TRules or URules? Check you PSA for a record you are missing and simulate the update in order to see what's going on.
    As I said, I got everything in my ODS.
    you can also check this in R/3; Tx RSA3 with a comp_code and a fiscal period selection...
    hope this helps
    Olivier.
    Message was edited by:
            Olivier Cora

  • 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

  • MRP-Exclude STO document type from MRP Run

    Hi,
    I want to exclude STO document type from MRP run, so that STO Open qty will not be considered as open qty while  doing MRP.
    I have checked below settings but didn't worked.
    1. In OMI8 - I have unchecked "Stock in Transfer"
    2. SPRO->Materials Management->Consumption-based Planning->Planning->Define torage Location MRP per plant
         Here I have excluded ONE storage location from MRP and same storage location has been used in the STO.
    Can anyone know how to resolve this ?
    Regards,
    Rakesh

    Rakesh,
    Yes, they will not be relevant for MRP.  Neither will anything else in that storage location.  However, the setting is not in configuration, but in the material master (MRP4 tab).
    The configuration setting you mentioned has no impact on existing material masters, it is only used to determine the default settings for newly created storage location entries for a material/plant..
    You can set a particular material/plant/stlocn to be irrelevant for MRP.  This relevancy is irrespective of document type, it can be a STO, a purchase req, a sales order,  a production order, or it could be stock (inventory)  - all supply and demand in this material/plant/stlocn are excluded from MRP processing.
    MRP relevancy of storage location is set at the material/plant/storage location level in the material master.
    If you do not wish to exclude a storage location from MRP, then you will have to find another way to make your STOs Irrelevant for MRP.  As I said earlier, STOs (like any other Purchase orders that are configured to process stock ), are generally considered to be relevant for MRP.    
    If you were a client, I would suggest that you rethink your business model that drives this requirement.   
    If the business model cannot be altered, and the storage location solution is unacceptable, then you will be stuck with a customized solution.
    Best Regards,
    DB49

  • How to flip the FI document type assigned in sales billing type

    Hi Expart,
    We have a special requirement here,as per client requirement we need to flip the FI document type assigned in sales billing type screen (VOFA). The requirement has came because the billing type is used for one company code XXXX, and we need to use the same billing type with different FI document type  for another company code YYYY. Since we can't assigned two FI document types in biling document, i belive this can be done only through user exit, pl help me to get the applicable user exit in SD.
    Thanks
    Garima.

    Hi,
    The user exit (T.Code SMOD) u201CEXIT_SAPLV60B_001u201D, with include u2018ZXVVFU01u2019, will be  implemented. In user exit code will be written, as if company code found as u2018YYYYu2019 and Sales Doc type found as 'AAA' the FI document determine as u2018Z2u2019 in place of default value coming from one-to-one mapping u2018Z1u2019 (FI Document).
    IF VBRK-FKART EQ 'AAA' AND VBRK-BUKRS EQ 'YYYY' AND XACCIT-BLART EQ 'Z1'.
    XACCIT-BLART = 'Z2'.
    hope this will help.
    regards
    Vivek.

  • Requisition Document type from PM Order

    Hi:
    WE implemented SAP PM for our Canadian company. In configuration of external procurement through PM order, we specified to have requisition document type u201CZSERu201D to be created.
    So for the plants in Canadian company code when PM orders are created (IW31) and if there is an external service is required, System creates ZSER requisition type.
    WE are implementing PM for our US Company where we want to have a different requisition document to be created PM order. The requisition document type ZNB should be created for the 3 plants in US Company. How can we control this??
    Is this possible??

    Hi,
      You should be able to accomplish this through the user exit
         COZF0001 Maintenance order: Change purchase requisition for external operation
         COZF0002 Maintenance order: Change purchase requisition for external component
      Based on the order header information you can assign a Different PR type(BSART) from what has been specified in config. However be-aware that if collective purchase requisition is active all the PR for the Order should be of same PR type.
    Regards
    Narasimhan

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • What are the img setting to be fullfilled while copy the Sales document typ

    Hi What are the setting to be fullfilled while copy the sales document type and item category.
    Note:  I have already copied, but unable do the PGI(Post goods issue),  and Billing.
    Thanks
    Prasanna

    Hi
    Answer for this Question.
    we have set the copy control for sales order type and delivery and billing
    Regards
    Prasanna R

  • Create different billing document types from same sales order type

    Hello,
    Please take a common document flow, just  like this one:
    - Sales Order (type ZE01 )
    - Outbound Delivery
    - Billing Document ( ZA or ZB )
    The billing document is based on the outbound delivery. Here is the requirement that we need to implement:
    - We need to determine different billing document types ( ZA or ZB ) according to a custom determination, based on a Z table. In some cases the billing document will be type ZA, in other cases it will be type ZB. I've been told that I can achieve this  via copy control , but some extra help would be welcome.
    Any clues?
    Regards,
    Joã

    Hi João G Neves ,
    Were you able to achieve this requirement using a  user exit? if so could you let me know the name of the user exit? Basically in our current project a sales order can be billied using 6 different billing document types. The copy controls between the sales  document and billing document is been set up for all the 6different billing doc types and currently the users are manually selecting the billing document type in VF01 .The buisness insists on making this automated.They want the billing document type to be determined based on some custom condtions.
    Any inputs regarding this is highly appreciated.
    Thanks & Regards,
    Srini

  • 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

  • This error is often caused by incorrect use of the "Strict" document type

    Okay...so I have 6 errors - all the same and has to do with my document type.
    I've searched the code and I am using a transitional doc type so why the errors?
    http://02cada7.netsolhost.com/Stasik_Family_Website/index.html

    Yeah I did that...but the cause doesn't make sense to me.
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    I'm not using a strict document time - I am using transitional and I am not using proprietary extensions.

  • Document type with automatic posting

    Good day to everyone!!
    Is it possible that i can create a document type with automatic posting such that i do not have to input same entries everytime i transact or enter an invoice in FB60?

    Thanks again Ajay!
    But the recurring entry transaction asks for a run date. Here is my scenario:
    Invoices come randomly, everytime i receive 1, i have encode all entries for that particular invoice.
    What i want is, can i make a template wherein i just have to call that template so that i won't have to encode again and again the gl entries. all i gotta do is encode the amount.  this way i will be able to perform my task faster and i can efficiently do other things.
    by the way, what is a  z report? is it the lsmw?

  • PO Item Goods Receipt indicator change based on the PO document type

    Hi All,
    Our requirement is for a particular PO document type the PO Item Delivery tab > goods receipt indicator needs to be set as blank and the field should be greyed.
    For this PO type we are usign the account assignment category K and F. We cannot remove the Goods receipt indicator from this account assignment in SPRO because this is the central change and it will affect other Purchase organizations.
    We are using the R3 4.6c Version.
    We tried the User Exit "MM06E005" with exit FM "EXIT_SAPMM06E_016" but this cannot be used to changed the PO Item standard fields.
    Badi ME_PROCESS_PO_CUST not exist in R3 4.6c.
    Is there any other solution avl to meet out requirement.
    Thanks & regards.
    Madhan.

    Hi,
    I think you have posted the question in the wrong Forum.

  • VKM1 Block/Release Sales Order depending on the FI Document Type

    Hi guys
    I need to configure the R/3 4.6C to block in VKM1 (for Credit Management) only the Sales Orders that have specific FI Document Types in FBL5N. I mean, I don't want to block documents for Static Checks (defined in OVA8) if there are only Credit Memos for the customer in FI, for example.
    Is there any way to do this configuration?
    I believe I will have to use the USER EXIT enabled in OVA8, but I need to be sure that there is no other way to do this.
    Best regards,
    Adilson Ferreira

    Hi
    I am not sure about your requirement. But If you want to exclude certail FI Transactions from Credit check, then you can configure the G/L accounts with the NO credit Check indicator ON.
    Example, for Special Transactions like Downpayments, you can set the no credit check indicator ON in OBXR.
    Otherwise, using the User exit option is always there
    Hope this helps

  • How can we derive the Abs quota type from absence type?

    we need to develop a report where we need to fetch Abs quota type from abs type.
    I checked T554S, we can get counting rule from it and then T556C and then to assigned deduction rule in table T556R.
    From T556R, qota type is there but the field is ABWKO and it is structure. How do read values from deduction rule.
    we need KTART field which is in V_T556A.

    Hello,
    Did you find the solution to your problem?
    Kr,
    Julien

Maybe you are looking for

  • Please can someone tell me what cable I need to connect my Macbook Pro 15'' Retina display to a Yamakasi Catleap Monitor?

    Hi all, I have a Macbook Pro 15'' Retina and I'm thinking of getting a Yamaksai Catleap Monitor, please can someone tell me the best way to connect this? Do I need a thunderbolt to DVI connector, or Thunderbolt to VGA? Im assuning the former would be

  • Loud, Noisy  ibook clamshell indigo

    I am going to give our old ibook G3 clamshell indigo to our housekeeper. I ran the Apple Hardware test on it and everything checked out OK. When the ibook is running, it makes a very noticeable whirring noise. It's the original hard drive. Is it the

  • Report painter variant

    Hi all, I have a report painter program in FICO for which i have created a variant TEST. When i give this TEST as input to VARID table variant name i am getting a program name which is not the name of the report painter program. Can anyone tell me if

  • Handling incoming SAS requests from WebSphere AS

    I have a couple of beans deployed on a WLS 8.1.2 instance that try to call other beans deployed on a WAS 5.0.2 instance. With "global security" on WAS disabled, all works fine, but with this enabled (but no security constraints on calling the bean it

  • Submitting track names with itunes...

    im not sure how to make iTunes let me submit my track names. how do i import my garage band songs into iTunes from iTunes??? What im trying to do is make it so iTunes will automatically pull up the names of my songs whenever people insert my stuff in