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

Similar Messages

  • CHARM 7.1: subsequent document not created

    I currently work on a CHARM implementation on SolMan 7.1 SP3 using a couple of Z transaction types which are all derived from the originals (like SMCR, SMMJ, SMHF). I've copied the original types using the copy tool from the CHARM setup guided procedure in SOLMAN_SETUP.
    It actually works without any problems when I create a "Normal Correction" (my transaction type ZMMJ, heavily modified) out of a Request for Change. Once approved and released for development the ZMMJ document is created properly on saving the RfC.
    If I try the same procedure for ZMHF (Urgent Correction) or ZMAD (Admin) - which still are plain copies of the SAP original - nothing happens. They are approved, scope contains type "Urgent" or "Admin" as well as status "approved" but in contrary to ZMMJ, a subsequent document is neither displayed in the RfC nor actually created. Anyhow If I switch to the original versions (SMHF, SMAD) there's no problem. Manual creation of ZMHF or ZMAD (without an RfC) is actually no problem either. I've checked the service net for notes but didn't find anything.
    Anyone got a clue? Any help highly appreciated!
    Cheers,
    Andy

    Hello Andy,
    I solved the issue, specifically by following step 3. of Mr. Vollmer's document:
    http://scn.sap.com/community/it-management/alm/solution-manager/blog/2012/10/10/a-non-standard-use-case-creating-defect-corrections-via-the-request-for-change-scope
    In any case, please check all 4 steps.
    Kindly advise,
    Regards,
    #solman71today

  • How to Cancel a Sale Order without cancelling the subsequent document.

    Dear All,
                 I want to cancel sale order but the sale order have a subsequent document is there is any soulution that when i cancel the sale order all the subsequent document, outbound delivery and invoice cancelled in jn\ust one step, if not then what is the other way to solve that problem.

    Hi
    You can reject the sales order by going to VA02
    Go to-> Item -> Enter Reason for Rejection
    and save the order.
    This will reject the order even if the subsequent documents are created so that no further open quantities can be delivered.
    Reward points if useful.
    Regards,
    Nimit
    Edited by: Nimit Raiya on Jul 3, 2008 4:03 PM

  • 'BAPI_GOODSMVT_CREATE' takes more time for creating material document for the 1st time

    Hi Experts,
    I am doing goods movement using BAPI_GOODSMVT_CREATE in my custom code.
    Then there is some functional configuration such that, material documents and TR and TO are getting created.
    Now I need to get TO and TR numbers from LTAK table passing material documnt number and year, which I got from above used BAPI.
    The problem I am facing is very strange.
    Only for the 1st time, I am not finding TR and TO values in LTAK table. And subsequent runs I get entries in LTAK in there is a wait time of 5 seconds after bapi call.
    I have found 'BAPI_GOODSMVT_CREATE' takes more time for creating material document with similar issue, but no solution or explanation.
    Note 838036 says something similar, but it seems obsolete.
    Kindly share your expertise and opinions.
    Thanks,
    Anil

    Hi,
    please check if some of following OSS notes are not valid for your problem:
    [Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
    [Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
    [Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
    The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
    But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
    Regards
    Adrian

  • No subsequent document found in Accounting

    Hi Experts,
    we have created subcontractiong PO for 250 QTY.....The user done the g/r for 200 qty on march 5th 2014...MM Document created but there is no FI Document,,, bellow is the Error message..
    No subsequent document found in Accounting
    Message no. RW011
    Diagnosis
    All documents generated in Financial Accounting for object type 'MKPF',
    reference document number '5005743936' and organizational unit '2014' should be displayed.
    System Response
    No accompanying documents were found in Financial Accounting."
    And for the Same PO user done the G/r FOR 40 qty.. on march 20 2014,,This time FI document and CO documents are generated...
    Frist user and Second user are diffrent users..
    What might be the reaon in frist time there is no FI document and Second time FI document generated..
    There is changes in PO item level..
    Price is the there in mm from the begining.
    Its not non valuated materila
    Regards,
    Ram

    Hi,
    the messages just says that there is no FI document created with the listed reference information.
    Check SAPNE note 1949677 and the listed notes there, maybe thats an explanation for your case.
    Ask your SAP base consultant if there have been update terminations in the system at 5th of march.
    BR Christian

  • Create Excise invoice(J1IIN) document while creating billing document using bapi BAPI_BILLINGDOC_CREATEMULTIPLE

    Dear Experts,
    My scenario is:
    We have batch split scenario, where the parent line item of billing document has 0 quantity and its subsequent item (item with batch number) holds actual quantity data.
    When we create billing document using VF01 against delivery document, system creates billing document along with excise invoice document (J1IIN Document). And in excise document contain same number of line items that of billing document. Please see the below attachment: 
    Biiling document screen shot:
    While creating billing document, the J1IIN Document created automatically. Below is the screen-shot for the same.
    Now the issue is:
    When we create billing document using BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE system creating only billing document and not creating excise invoice document.
    When we create excise document manually using J1IIN the zero quantity line items are excluded in excise invoice document.
    Please see the below screen-shot for the same; The z quantity line items are missing.
    We want excise document to be created while creating billing document using BAPI BAPI_BILLINGDOC_CREATEMULTIPLE. Or is there any other BAPI for the same purpose.
    Customization is also maintained for creating excise invoice document automatically.
    Regards,
    Rajesh Sadula.

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • IDoc to Create Shipment Document in SAP

    Hi,
    I want to create the shipment document in SAP via EDI message from freight forwarder and subsequently update the shipment document(VT02N) statuses via EDI  like planned/loaded/shipment end etc....
    I am reasearching on the Idoc type for that...I found SHPMNT03 etc could be used to create/change document but I don't know where the Transportation planning point field exists in the Idoc type. Please help me to how could I create the shipment document...
    I am able to create the shipment document using TPSSHT01...but not sure whether it would be good as it's used with TPS and we don't have any external TPS. We just want to create shipment document in SAP based on freight forwarder edi messages 856 I believe
    I am new to EDI
    Thanks
    Chil

    We used a program to create the IDoc but I don't see a transportation planning point anywhere in it. I think it should be picked up automatically from the deliveries and I wouldn't fixate on that. Here is the code fragment, but you don't need to fill in all those fields:
    e1edt20-shtyp = '0003'.
          e1edt20-signi = i_table-route.
          e1edt20-exti1 = i_table-route.
          e1edt20-exti2 = i_table-driver_num.
          e1edt20-tpbez = i_table-driver_name.
          i_edidd-sdata = e1edt20.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2EDT20001'.
          APPEND i_edidd.
          e1adrm4-partner_q = 'OTP'.
          e1adrm4-partner_id = '0001'.
          i_edidd-sdata = e1adrm4.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2ADRM4001'.
          APPEND i_edidd.
          e1adre4-extend_q = '305'.
          e1adre4-extend_d = '0001'.
          i_edidd-sdata = e1adre4.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2ADRE4001'.
          APPEND i_edidd.
        e1edl20-vbeln = i_table-vbeln.
        i_edidd-sdata = e1edl20.
        i_edidd-docnum = w_docnum.
        i_edidd-segnam = 'E2EDL20'.
        APPEND i_edidd.
    From what I remember, this IDoc worked rather strangely and I had to fill in some fields for no obvious reason (e.g. both e1edt20-signi and e1edt20-exti1 when SIGNI is really the one we needed). At some point, I just tried filling in all the possible fields to get past errors. Like I said, it just takes some trial and error.
    Unfortunately, I don't have access to that system anymore and have no further information. Also we didn't do any shipment changes. You might want to search in ABAP forum. Good luck.

  • Analysis of Lead by subsequent documents (activities and opportunities)

    Hi all,
    I'm trying to define on BW a way to create some content that displays the number of subsequent documents that are created from a lead.
    Explaining, when a lead is created, some activities are made (phone calls, e-mails, etc) and also some opportunities are created and the idea is to have a report with this.
    Is there any standard content to display this or is it necessary some extra development?
    Thanks

    Hi Venky,
    Yes, the initial thought here is to use a multi-picklist; but unfortunately I don't think the assignment manager supports multi-picklists.
    And yes, I would like to make it accessible to multiple people, not only one.
    Basically, the process goes something like the following:-
    1) Marketing obtains lead and enters into the system
    2) Lead is channeled to a product manager
    3) Product manager reassigns the lead to a salesperson
    4) Salesperson converts the lead into an an opportunity - Product Manager should be able to view this opportunity
    My question here is would the product manager still gain access to the lead once it is reassigned (salesperson is not reporting to the product manager in anyway)? And how can the product manager be able to view all opportunities which have the product he\she is in charge of?
    My initial thought here is that we have to fall back on using Books?
    Thanks.

  • Item deletion when a subsequent document exists

    Hello everybody,
    When I create a quotation Y in reference to another quotation X, it is impossible to delete à line in the quotation X.
    The system displays an error message "Item 000020 cannot be deleted because of subsequent document Y".
    Is there a mean to allow the deletion of an item in a sales document when a subsequent document exists?
    Can we manage this issue through customizing?
    Thank you in advance for your answers?
    Christophe

    Is there a mean to allow the deletion of an item
      in a sales document when a subsequent
         document exists?
    No if there is a subsequent document for a particular line item in sale order, you cannot delete that line item.
    thanks
    G. Lakshmipathi

  • MV45:  Change subsequent documents

    Hi all,
    I´m trying to update an order created with reference to an contract whenever the contract itself is changed.
    Obviously the system locks all orders as long as the contract is being processed, therefore I cannot make those changes within an UserExit... at least none of the ones I know. (save, save_prepare)
    Is there any other way to change subsequent sales documents, or is there another Exit which is reached after the documents are dequeued?

    Hi,
    Deleting a sales order is not a good practice.As suggested by other friend maintain the reason for rejection.
    Again in future if you want to process that deleted order,you have get it from SARA etc.. which is a cumbursome process.
    You are telling that in some cases,you are able to delete the order because in those cases,all your subsequent documents are deleted/cancelled/reversed.
    So you are able to delete that order.For other cases please delete all the subsequent documents.
    There is no other setting to control this function.
    Regards,
    Krishna.

  • 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

  • What controls preceding/Subsequent document Flow

    Hi All,
    This is not a MM related, but a generic question.
    1. What controls the Preceding and Subsequent document flow?
    2. If I need to change/add a document, what procedure I need to follow?
    thanks for your help
    G

    1. What controls the Preceding and Subsequent document flow?
    how the user works
    2. If I need to change/add a document, what procedure I need to follow?
    you cannot add something inbetween an existing document flow.
    Imagine the document flow is a ladder, you can go up, and if you are up, then you can go down again. but if you are at ladder spoke 25, then you cannot do something at ladder spoke 17, you first have to go back to 17, then you can again go up.
    if you create a sales order refrencing an old sales order then the old sales order is the preceding document.
    if you create a delivery for your sales order, then the sales order is the preceding document to the delivery and the delivery is the subsequent document to the sales order. a subsequent document to the delivery would be an invoice

  • "Ship To Address" details missing in the SC and subsequent documents

    Hi All,
    We have a strange situation.
    There is no "Ship To Address" details in the shopping Cart and its subsequent documents.
    This happens only for some shopping carts.
    As per my understanding "Ship To Address" is a mandatory partner information without which the Shopping cart should not be created at all.
    Can anyone please let me know the possible reasons for "Ship to Address" not being present?
    Thanks & Regards,
    Mayank

    Hi Mayank,
    Have a look at the following OSS Note:
    Note 738534 - Ship to address disappears when product category is changed
    Note 953657 - BBP_POC: Ship to address cleared during change of PO item
    Note 1022048 - BBPSC03: Ship-to address gets cleared off
    Hope it helps.
    Thanks,
    Pradeep

  • Linking subsequent documents of PO

    Dear All,
    There is a need to develop an application to link subsequent documents of PO. For example, Against a PO, 2 service entry sheets(SES) have been created and against these SESs, 2 LIVs have been done.
    Now I want to link SES & LIV i.e. against which SES, a particular LIV has been made. I browsed through the table EKBE but I could not get the linking info.
    But, in 'PO history' tab of ME23n, selecting the GR/IR assgt links all the subsequent docs.
    Can anybody suggest at the table level or function module level, how these link information can be obtained? We are using 4.6C.
    Thanks
    Regards
    Amit

    Hi,
    If you create the another PO there will be various situations
    1. If you create the PO for the material then MIGO needs to be done for the PO which will add your inventory quantity.
    This is wrong.
    2. If you create the service PO for only freight cost then it will not add your inventory quantity after posting service entry sheet.
    But the cost of material ( = freight cost) will not increase.
    So in both the situations creating additional PO will never serve the purpose.
    So the solution is
    Post the additional cost in MIRO using credit memo with reference to PO.
    Here you can also edit the vendor code and pay the desired amount to desired vendor
    In addition to that cost of inventory will also increase.
    So both the purposes
    1. To increase the inventory value (and not to increase the inventory qty)
    2. payment to the vendor
    will be served
    I have also faced similar problem and this is the most suitable solution
    Regards,

  • Fetching preceding documents from VBFA by passing subsequent document

    Hi Folks,
    Here my requirement is to fetch preceding documents  by giving subsequent documents as input to tableVBFA(document flow). As there is no index present on the field VBELN and POSNN it takes long time to retrieve data based on these fields.Creating secondary index is not possible. I have also tried with function module 'SD_VIEW_VBFAVG'  as it takes single VBELN input, i have to place this in a loop in order to get preceding documents for range of VBELN.  Please let me know if there is any other way of doing this. Immediate help is appreciated.
    thanks in advance.
    Akanksha.

    hi,
    u try to use this FM  WB2_VBFA_ARRAY_READ.
    take care
    Tarapada. D.

Maybe you are looking for