Determine type of subsequent document during SC creation?

Hi experts,
I want to implement some checks in SC items with BBP_ITEM_CHECK_BADI. But checks must be different when ordering direct materials to a vendor than when asking for a reservation in backend (stockable materials) against a storage location. The product is the same in both cases but not the way the SC is created (first case normal, second using 'direct material' option).
Do you know a way to determine wheter i'm making a reservation or a PO when creating the SC?
(using SRM server 5.5 as add-on)
Cheers,
Ruben.

Hi
<u>Yes it is quite easily possible to detremine the type of Objects created from SRM into R/3 backend ?</u>
Have you checked the <b>BBP_TARGET_OBJECTS</b> / <b>BBP_TARGET_OBJTYPE</b> BADI using <u>SE18</u> Transaction ? Please read the relevant standard SAP documentation in this case before doing any coding.
<u>You can use  either of the BADIs for Document checking
<b>BBP_DOC_CHECK_BADI  / BBP_ITEM_CHECK_BADI</b></u>
Document checks can be classified in three categories:
Checks that
1. relate to the document header,
2. relate to a single item and
3. relate to the entire document.
For performance reasons, checks of the second category (item checks) should only be carried out when:
a) a new item is created,
b) an item is changed or
c) the entire document is to be checked for consistency (triggered, for example, by choosing the pushbutton Check).
The BAdI (s. Business Add-In) BBP_DOC_CHECK_BADI is suitable for checks of categories 1 and 3. In BAdI BBP_DOC_CHECK_BADI all the items exist but you cannot yet recognize which items have been newly created or changed. For this reason, all items must always be checked in this BAdI. For performance reasons, we therefore recommend that you use BAdI BBP_ITEM_CHECK_BADI for checks of category 2 (purely itemchecks).
Using BAdI BBP_DOC_CHECK_BADI, you can carry out your own checks for the document data after you have entered the user and before you save the document to the database. You cannot change any data.
Do let me know.
Regards
- Atul

Similar Messages

  • Creating subsequent document

    Hello.
    I need to create subsequent document with directly indication of operation type.
    For example; I want to create from SLFN to diferent types of  subsequent document.
    I create 2 actions (on base SOCM_COPY_DOCUMENT)
      1 action - to create SDCR
      2 action - to create my own ZTCR
    Another words I want to say to the method type of the created document

    Hi,
    SOCM_COPY_DOCUMENT uses customizing to define which transaction type has to be created.
    This depends on the value in field "Subject" of your SLFN message.
    Please check the following IMG-Activity for SLFN:
    SPROScenario Specific Settings-Change Request ManagementExtended ConfigurationChange transactionChange Transaction TypesCopy Control for Change Request ManagementDefine Mapping rules for copy control.
    You can check the values for SDCR for examples (It creates SDHF, SMDJ or SDAD depending on the subject)!
    Regards,
    Christoph

  • Error: "Transaction type could not be determined" during PO Creation fromSC

    Hi all,
    I'm working on SRM 5.5 with ECS.
    During the creation of  a PO  I want to add a SC as an item of PO.
    But when I chose the SC and click on the button Add to PO I recive the error:
    Transaction type could not be determined
    In the organizational unit I set the attribute BSA and DP_PROCT_TY.
    there are other steps I have to do to join the transaction type of SC and PO?
    rgs
    enzo

    Hi Enzo,
    First check if the attribute BSA and DP_PROC_TY have the same value.
    Then in the attribute value for BSA, change the source system for the document type to your SRM system.
    Create a new PO and a shopping cart.
    Try changing the PO by adding the shopping cart
    Hopefully your problem may get resolved.
    Thanks
    Sanjeev

  • Search for Open sales document during creation of sales Document

    I am creation quantity contract for a customer XXXX, I want to know about the open contract exist or not for perticular customer XXXX during contract creation. any relevant configuration available in the standard system for that?
    where i will do the Configuration to serch for open order/contract.
    I hv tried to serch it in Order type, item cetegory and copy control but not found any relevant fields for that.

    Check, "Outline agreement message" in Document type details in VOV8- (eg: CQ- Quantity Contract) under Transaction flow view.
    Use Indicator:A- Check at Header level.
    Then system pop ups the message saying " Already Contract is open for this Customer" - ( Assume, SOld to party already have Open Contract)
    similarly, for Material, for this you should use  Indicator" B- Check at Item Level.
    Hope it helps

  • Automatic Partner Determination Std Contact Person during Activity Creation

    Hi ,
    There is a requirement in my project where the Standard Contact Person of the Sold to Party  should be automatically determined during Activity Creation .I have completed the Partner Function configurations and now the Standard Contact Person is  being successfully determined as the Partner.
    However, there is a problem in a scenario where in another Contact Person other than the Standard Contact Person is to be determined during Activity Creation . In that case, the option to select the other Person is not being offered through a pop up window, but the System automatically populates the next Contact Person based on the BP Id ( Next on the Number Range )
    Is there any way , so that the normal procedure of selecting one Contact Person from a list in the Pop Window can be incorporated , once the standard Contact Person is being removed from the Contact Person field in the Business Transaction .
    << Moderator message - Please do not promise points >>
    Regards,
    Maroof
    Edited by: Rob Burbank on Jan 5, 2011 5:06 PM

    Hello Maroof,
    you should check first the standard relationship flag of the account. Means check the account and go to the
    relationship contact person.
    There you will find the standard Relationship Flag, which is relevant for the system to determine the main CP.
    Furthermore please check the partner procedure:
    For each partner function you can enter a value in field Maximum and Selection Limit. Please consider the F1 help
    for the field Selection Limit where you can find the explanation when and how the selection popup is triggered:
    Example 1
    You enter 3 in this field.
    When the system finds three or more partners who could fulfill this partner function, it displays a selection list.
    You choose from the list which partners to enter in the transaction.
    Example 2
    You do not mark this field, but enter 5 as the Maximum for this partner function.
    When the system finds six or more appropriate partners it displays a selection list.
    Hopefully this information helps you.
    Regards
    Rene

  • Storage bin Type Change during TO creation

    Hi friends
    Is it possible to change Storage Bin type (Not Storage bin no)during Transfer Order (TO) creation in LT06 / LT04 ? If so please let em know the procedure to bring storage bin type during TO creation.
    Please confirm
    Rgds
    Madhavan

    Hi,
    Please check and try to define Storage Bin Type (SPRO->LE->master data->storage bins), then activate  Storage Bin type search strategy in OMM1.as appropriate. (in my past experience system given priority to Storage type search and then to Storage BIn type search during picking- I am not sure whether this is the SAP logic or priority).
    Once you define and assing the Storage bin type to Bins this will be available during creation of TO.
    Hope this helps.
    Thx
    MJ

  • Update Billing Document During Credit Memo Creation

    Hi,
    I need to update the billing document during credit memo creation in VA01. Is it possible to achieve this requirement since the billing document is in use during the runtime?
    Thanks & Regards,
    Mawi

    Hi Mawi,
          When you are trying to change billing document use CALL FUNCTION 'DEQUEUE_ALL'. It will unlock that billing number and you can change that billing document.
    Thanx & Regards
    Rami Reddy

  • IS-U INV: Creation of FI-CA documents during invoicing

    Hi,
    I need to create a couple of FI-CA documents during invoicing process. I found the Event R402, is there possible to create more then one FI-CA document?
    Thanks for answers.
    Vlado

    Vlado:
    The R402 event only allows for one document.  You can populate the one document with multiple lines representing various scenarios if necessary.   If multiple docs are required, then you need to explore additional events - and likely need to create logic for reversal scenarios.  Implementing all of the posting in R402 enables standard reversal integration.
    regards,
    bill.

  • New planned goods issue date during delivery creation due to changed route

    Hello All,
    I have defined 2 routes with different values for transit time and transporation lead times. I have configured routes such that in order creation - route A is determined and while delivery creation due to weight group - delivery B is determined.
    Now for Route A i have maintained transit time of 3 days and Transportation lead time of 4 days and for Route B it is 1 day each.
    Delivery scheduling is active for the order type.
    Now when i create the order with a delivery date of say 05/24/2010 then (route A with transit time of 3 days) is determined and the planned goods issue date of 05/21/2010 is in the order.
    Now while creating delivery (Route B which has transit time 1 day) is determined due to the weight group. But the planned goods issue date is still the same 05/21/2010 as in order.
    I am assuming that since the route B has a route of 1 day so the planned goods issue date should be re-determined to 05/23/2010? IS there no scheduling done during delivery creation even though route and subsequently transit time has changed?
    Please let me know the answer to this...
    Thanks
    Shobhit

    Hi ,
    You can use TA - MASS . Enter object type - BUS2032(for sales orders) on initial screen and select sales item data.
    Next screen enter selection fields like sales order no and items. After giving order no and item range , execute and enter all new values for any item data fields. After pressing button "carry out mass change", don't forget to press save button.

  • Capture re pricing during order creation/change

    Hi,
    I have to differentiate between standard pricing and re-pricing ( when user has pressed update button on the conditions tab ) in a sales order.
    How and where can i get this information during order creation / change.
    Thanks for your replies.
    Abhishek

    hi,
    KALSM is the pricing procedure and it will be same for the document during creation and re-pricing, how dose it help in determining if user pressed update button.
    Thanks,
    Abhishek

  • Set order status to completed if subsequent document is a proforma invoice

    Dear Experts,
    I created a debit memo request to create as subsequent document a proforma invoice only. This special business case has to do with customs purposes and should stop after the creation of the proforma..
    Now the debit memo request is still open and the next batch run is picking up the DMR again and create another proforma invoice.
    What I have to do to set the order status to completed after the first proforma invoice is issued?
    Thanks for your help.
    Kind regards
    Frank

    Hello,
    Check for the possiblilies of the following.
    In VOV8, slect the debit memo request order type, make the Order related billing type as F5 (Proforma - Order related).
    Check the item category for the Debit memo request item, standard is L2N. Maintian the billing relevency field as
    D-Proforma , maintain the completion as Colpleted after the first reference , if required.
    Prase

  • How we may by pass quality inspection during PO creation

    Hi Guru,
    How we may by pass quality inspection via selecting document type in the PO. User create dummy PO in multi level marketing indsutry in order to achieve points & awards during month end. Since all the materials subject to quality inspection, material in dummy PO also falls under quality inspection. For your kind information there is no physical movement or GR for this dummy PO. It's just created in the system as I mentioned the purpose the above. I already created seperate document type to diffrentiate this scenario but looking forward how we may by pass quality inspection for this document type. Or is that any t/code which can by pass quality inspection during PO creation. Please advice. Thank you.
    rgds,
    nantha

    Dear Netto,
    As I said before user need to create dummy PO & must do GR in order to get the rewards & bonuses. User do GR in the system but it doesn't involve material movement. My question is how we may by pass the quality inspection for said GR since physically no goods involved.
    Dear JS,
    For your kind information this material subject to quality inspection & it has been set in material master. I tried one more as per your advice. System post this GR to quality inspection eventhough I change to unrestricted use in PO & GR as well before posting maid. Quality Inspection is auto defaulted for said material. Quality inspection is requirement to most of the goods so I can't change that. I'm wondering how we may by pass this just for dummy PO & GR.
    I believe this clarifies your queries. Thank you.
    rgds,
    nantha

  • Revenue Recognition: Fiscal/Period updated as 0000/00 for a Rev rec document created after creation of a Contract.

    Hi All,
    We have created a Contract/Subscription and the corresponding Rev Rec document that got posted is with fiscal/period as 0000/00.
    Revenue Recognition: Fiscal/Period updated as 0000/00 for a Rev rec document created after creation of a Contract.
    We have not executed VF45 or any revenue recognition process.
    What amay be the reasons and how can we proceed further on this ?
    Thanks,
    M.Shiva Kumar

    Dear Amrish,
    Problem of this you did not maintain the provision account in your revenue account determination.  Please go to vkoa transaction and maintatin this provisional account any account number.
    eg;  application: v. condition type: kofk, chart of account: int, sales org:  0001, revenue account: 89999, provisional account 788888 (something)
    I hope you understood 
    Thanks & regards

  • Copying STO PO pricing condition to Billing During Billing creation

    Hi,
    MM and SD pricing conditions are not similar.
    And I cant use Copy PO Basic price in billing Document
    I was advised to try USEREXIT_PRICING_PREPARE_TKOMP or USEREXIT_PRICING_PREPARE_TKOMK.
    How do I copy the Pricing condition from the STO PO to Billing during billing creation?
    Is there an FM i can use to extract the pricing condition given the STO PO?
    thanks,
    NC

    Hi
    If the option of Raghavendra doesn't work for you (parameters in copy rule for invoice), try with VOFM subroutines (Condition formula for alternative calculation type) in the pricing procedure. Surely it will be slower, but it must work. How? You have in KOMP the values for VGBEL and VGPOS with the delivery number and item. So, seach the PO number in the same way. When you have the PO number, with the value of field KNUMV search the value of condition in table KONV.
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot. The userexits that you mention is to populate KOMP/KOMK for customer fields. See SAP Note 531835 - Using field PSTYV in the condition access for futher information.
    Edited by: E_Hinojosa on May 16, 2011 9:21 AM

  • Output type not automatically triggered on invoice creation

    Hi,
    I want to set  three output types ZCUM, ZCUR and ZPCC upon invoice creation.
    I have configured it correctly.  For Output types ZCUM and ZCUR i have maintained condition record in key combination "Billing Type" and for ZPCC condition record is maintained in " Sales Org /Cust. Grp. 5/Ord. reason / Bill. Type" that's the difference.
    In NACZ procedure is Z10000 with requirement is 902 for all three.                   
    Output types ZCUM and ZCUR defaulting upon initial creation. But ZPCC is not defaulting.
    Can you please suggest me the solution ...
    Thank You,
    Archana

    Hi,
    As suggested by Brad, check the Output Determination analysis in Billing document .
    Menu option -> Go to  -> Output
    Select the output type -> Select menu option Go to -> Determin. Analysis
    Expand the Output type determination details of ZPCC by expnading the node in analysis.
    Check whether Green button is displayed against the access sequence mentioned by you.
    Regards
    Vinod

Maybe you are looking for

  • Conversion data type error at universe level

    Hi Friends, I am trying to convert a object datatype from number to char by using cast function in Universe Designer. I am getting bellow error. Help me on this. Thanks Riaz

  • Java has been disabled, how can I get it back?

    Java has been disabled, how can I get it back? It seems that Apple has decided that Java has two many security problems and has disabled it. I need Java to run GeoGebra. What can I do? I tried downloading the latest update from Oracle JRE-7u13.

  • JFrame applications problem

    Hi, i'm just starting out writing swing applications and i'm having a few problems. Don't bother answering this if you think i'm too stupid because i don't want to waste your time. Whenever i write a swing application, it compiles but when i try to r

  • Will Verizon ever let you use two networks at once?

    Right now, Verizon lets you use only one network at a time (either voice or data network). In other words, you have to hang up to search the internet. Vetrizon's competitor, AT&T lets you surf the web and talk, simultaneously. Will Verizon, in the ne

  • Belgium Vat Report

    Hi, Has anybody know about the Belgium Vat Report and VAT declaration form? How we need to configure it in SAP? Please thorugh some light on this issue. Thanks in adv MBN