Is It possible to manually Create a Batch in entry in MCHA Table?

I have custom logic around creating multiple batches in SAP. The parameters are setup in a User Exit. However, I have to DEQUEUE ALL in order to crate my multi batches in a called and submitted program. It looks like when I execute:
CALL FUNCTION 'BAPI_BATCH_CREATE'
after the DEQUEUE its not updfating MCHA. Anyway (function module, or other) that I can maually add code to update MCHA with the new batches?
     Thank-You

make sure you are calling bapi_transaction_commit at the end.

Similar Messages

  • Manually create an output message for GRs

    Is it possible to manually create an output message for a GR that has never been printed?  There was an issue with our output determination and we have a GR that never had a message created when saved so I can't use MB90 to print it.  The problem with the output determination settings has since been resolved; however we need to find a way to print this GR.  Is there a manual procedure?
    Thanks!

    Hi
    You can go to MB02 (material document change), enter material document. Double click on quantity, You can find messages button on the top.assign output and print the same.
    regards
    Srinivas

  • Need to manually create shadow instance

    Hi dear Gurus,
        I lost my system during downtime phase while updating to EHP7. I'm able to restore Database and SUM directory, but shadow instance directory is lost whith no way to restore it. Is it possible to manually create it?
    Your help will be rewarded.
    Regards

    Best solution is to restore the system before downtime. Your message is not detailed.
    You mentioned i lost my system.  That mean your system just crashed  or wiped out ?
    What type of  db restore you performed , cold or point in time  ? etc.
    Did you fired up SUM and tried to click next or repeat etc ?
    Thanks,
    Hardeep

  • Batch Element Entry - BEE

    Hi Gurus
    I am new to oracle payroll, I was going through batch element entry, and i come across with the below explanation in the oracle help window. Can someone please explain me the point no. 2 (Reject Entry), because i am totally helpless to understand and i would appreciate if you can explain me the control totals to validate the batch.
    /* Select what action the process should take if one of the batch lines matches an existing element entry for an assignment at the effective date.
    1. Create New Entry - The process creates a new entry if multiple entries of the element are allowed by the element definition. If multiple entries are not allowed, the process sets the status of the batch line to Error.
    2. Reject Entry - The process sets the status of the batch line to Error.
    3. Change Existing Entry - The process corrects or updates the existing entry. If there is more than one existing entry, the process sets the status of the batch line to Error. */
    Thanks & Regards
    Partha

    Hi Avinash.
    Thanks for your reply. I tried in the application.
    Created a Batch element entry with 'Reject Entry'
    In BEE, An Overtime element (Non-Recurring) is chosen with entry value of 15 to employee 101, 102 & 103. But before doing this, i have added this element (overtime) manually to employees 102 & 103 but not to 101 in the assigment element entry form with some entry value.
    Once i process the BEE to validate. It showed the batch status as ERROR. Then i process to transfer. It got transfered and the status showed me 'Transfer Incomplete'.
    Result - element overtime has been added only to the employee 101 with entry value 15. For other 2, the entry value remained same as i mentioned manually.
    So i conclude that 'Reject Entry' rejects adding or updating the element and element values, if its exists in assignment element entry screen.'
    Thanks once again.

  • Does FCP add content to manually created batch lists upon capture?

    When you create a batch list text file manually and import it into FCP, will FCP automatically add the content for columns that you did not included such as frame size, Vid rate, etc. Those are redundant. I'd like to have them though.

    I tried it and when you check item properties by right clicking the media clip, it does log format settings, but it seems to only log whatever was manually logged in the batch list under logging info, although I'm still not fully sure what all of the columns under logging info stand for anyway.

  • Is it possible to create a batch job for program RPRCCC00

    Dear All,
    I want to create a schedul batch job for program RPRCCC00. Have you come across with this scenario.
    Thanks in advance
    Regards
    Shanu

    Hi,
    Yes, you can create a batch job of the program RPRCCC00.
    Using SM36 transaction, you can create a batch job.
    Hope this helps.
    Thanks,
    Prashanth

  • Duplicate deliveries getting created by batch job against STO

    Hi Experts,
    I am facing one issue where duplicate deliveries are getting created by batch job against Intercopmany STO.
    Scenario is PO having one line item with ordered qty of 8000kg.
    Through batch job, two deliveries got created on same day for PO line item.
    One delivery got created for 8000kg and another delivery has got created for 7000Kg. So user has deleted second delivery of 7000kg.
    Next day again the delivery got created for 8000kg for the same PO line item through batch job.
    I am wondering how the duplicate deliveries are getting created by batch job for PO even though it has no open items.
    All deliveries got created through batch job only as cross checked the user name in delivery.
    Kindly help to fix the issue.

    Hi Amit
    I assume you are talking about outbound deliveries.  In this case it would be worth checking the customer master record for the receiving plant.  In the sales area data there is a shipping tab which contains several settings used to control delivery creation for customers.
    It is possible to control how the system behaves when you have a stock shortage and restrict the number of partial deliveries.  This might help you control this situation and might be the cause.
    Regards
    Robyn

  • I want to create a "batch file" that will copy files from one folder into another, overwriting what is currently in there.

    I've got a game that has a folder with Saved Games (Okay, it's Minecraft). I don't always have my external drives because I take my Mac Mini from my house to my friend's house and of course back after we finish playing.
    There are times where I want a back up so that if something happens we can restore it as easily as possible.
    What I've been doing is copying the particular saved game and pasting it to my desktop, replacing the new backup over the old backup. I'd like to be able to create a "batch file" so that I can just double-click on it and it will copy and paste overwriting the old version.
    Since this is being automated I've been thinking. It would be nice to have 10 backups which I would like to have numbered from 1 to 10 (and not 0 to 9).
    I'd like the batch file to delete backup 10 then rename backup 9 to 10 and 8 to 9 and so forth until backup 1 becomes backup 2 and then my live copy then gets copied to my desktop. I guess that one really doesn't need a number after it. It can have the exact same name.
    Don't worry about automating the restore. I just want the backup part of it automated. I'm not a UNIX guy but I've tried to figure it out and it is just not working. So ... if someone out there can reply with a solution for me that would be great.
    Extra credit for automatically compressing the backups with the built in compression utility so my backups use less space.
    Thanks in advance.

    I have another psd (adjustment_layer.psd) file that only has one layer, and it is an adjustment layer. . 
    That is possible. An adjustment layer must be over a layer. The layer that it is over can have its visibility off but there needs to at least two layers in your (adjustment_layer.psd) file.  For you can not have and adjustment layer without a layer to adjust.
    Are all your PSD file the same in size  x px by y px at z DPI?
    It would be easy to create an action just to add the adjustment layer you want if your (adjustment_layer.psd) file adjustment layer, layer mask is a reveal all or hide all mask. You can Batch the action or use the Image processor script and have it include your action that add the adjustment layer  you do not need to write a script.
    I would also record that action to add the adjustment layer clipped to the layer below. There is a bug in CS4 and CS5 Action Player. Actions that have recorded adding adjustment layers to be applied to all layers below may play incorrectly.  You will have to pay to get a fix  for this bug for Adobe is not going to apply a fix the the current releases of Photoshop. The bug is so far slated to be fixed in CS6 time will tell.

  • MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)    -   NOT TO BE ALLOWED

    MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)   -  NOT TO BE ALLOWED while creation of Process Orders.

    Hi,
    Check t code OMCZ whether internal Batch no assignment is active or not.
    From F1 help
    In this step:
    you activate internal batch number assignment
    you define whether internal batch number assignment is allowed for goods receipts that have an account assignment
    Standard settings
    The standard version of the SAP system contains a predefined number range.
    Further notes
    Batch number assignment uses two function model exits with which you can define templates for batch numbers. You make the necessary settings in work step function module exits for internal batch number assignment.
    The system checks whether the assigned batch number already exists in the system. Should the number already exist, the function is terminated.
    When creating a client by copying another client, please note that internal number assignment is not active in the target client. You must activate it manually.
    Regards
    Anupam Sharma

  • Object link is not created for batch  through BAPI_DOCUMENT_CREATE2

    Hi ,
    I am trying to create  document for batch object through program using bapi BAPI_DOCUMENT_CREATE2.
    In transaction CV01N while creating document  there is a provision to to link your material with Batch. I am able to create it through CV01N. But, While creating through program I am not able to create the object link. I am able to create link for material,vendor,PO.. but not for BATCH objects. The table where link objects values to be passed is OBJECTLINKS.
    I have tried all possible combination but unable to create a batch object link to a material through BAPI_DOCUMENT_CREATE2.
    Thanks,
    Sandeep

    Hi,
    Please explain detailly about FM BAPI_DOCUMENT_CREATE2
      Thanks
      Madhavi

  • How to perform stock posting for a manually created lot?

    Dear Friends
    I have a material A for which GRN is made before the inspection type 01 is activated in material master. thus no quality lot is created for the material in qa32.But the material has got an inspection plan
    But for 240 units of material, we will have to show in sap that 120 pc is rejected and sent to rejection storage and rest are ok and thus should be sent to ok storage location with 321 mt.
    Thus i have created a manual lot in qa01. this lot can be found in qa32. I did result recording for the same. but i am not finding stock posting tab page in UD. please tell me how do I post stock in case?
    Thanks
    Chandra

    Hi
    120 pc is rejected and sent to rejection storage and rest are ok and thus should be sent to ok
    Stock posting is not possible for manual generated lot.
    What you can do you can only post/Create Manual Lot only for  OK Qty.
    Rejected Qty 120 you can do Return delivery through Unrestricted after GR is made(after 101 mvt)
    This is only solution.
    or
    Cancel original GR.
    Activate 01 inspection.
    Do GR again
    I hope this will help you
    Regards
    Sujit

  • Help with validation on a manually created tabbed form

    version 4.1.1.00.23
    Hello,
    I have a manually created tabbed form that I'm having trouble creating validation on.
    The page is a Resource Staffing page where PM's can forecast the Resources that will be needed for various projects. The forecast can be for 12 - 18 months.
    The requirement is to display a message to the user if they are trying to save a row without forecasting any time. It's possible they may not know how may Resources or the length of time needed when the row is created.  If they respond that they want to save the row without time the MRU will create the record. If they answer that they do not want to save the row they are returned to the page without loss of information.
    The month fields on the page are defaulting to 0 (zero).
    I've updated the Save button to Redirect to URL and in the URL Redirect I have: javascript:confirmNoTimeSaved()
    The javascript:
    [code]
    function confirmNoTimeSaved()
        var arr_jan,arr_feb,arr_mar,arr_apr,arr_may,arr_jun,arr_jul,arr_aug,arr_sep,arr_oct,arr_nov,arr_dec = new Array();
            arr_jan = document.wwv_flow.f07;
            arr_feb = document.wwv_flow.f08;
            arr_mar = document.wwv_flow.f09;
            arr_apr = document.wwv_flow.f10;
            arr_may = document.wwv_flow.f11;
            arr_jun = document.wwv_flow.f12;
            arr_jul = document.wwv_flow.f13;
            arr_aug = document.wwv_flow.f14;
            arr_sep = document.wwv_flow.f15;
            arr_oct = document.wwv_flow.f16;
            arr_nov = document.wwv_flow.f17;
            arr_dec = document.wwv_flow.f18;
        for(i = 0; i < arr_jan.length; i++)
            if(arr_jan[i].value == 0 && arr_feb[i].value == 0 && arr_mar[i].value == 0
                && arr_apr[i].value == 0 && arr_may[i].value == 0 && arr_jun[i].value == 0
                && arr_jul[i].value == 0 && arr_aug[i].value == 0 && arr_sep[i].value == 0
                && arr_oct[i].value == 0 && arr_nov[i].value == 0 && arr_dec[i].value == 0)
                txt = 'You have no time assigned to your Forecast. Do you want to save this Forecast without time entered?' + '\n' + '\n' + '"Yes" to save the Forecast.' + '\n' + '"No" to return with no changes.';
                caption = 'Confirm Saving With No Time';
                vbMsg(txt,caption)
                switch (isChoice)
                    case 6:
                        doSubmit('SUBMIT');
                        break;
                    case 7:
                        doSubmit('CANCEL2');
                        break;
            else
                doSubmit('SUBMIT');   
                break;
    </script>
    <script language="VBScript">
    <!--
    //Yes    = 6
    //No     = 7
        Function vbMsg(isTxt,isCaption)
            testVal = MsgBox(isTxt,vbYesNo,isCaption)
            isChoice = testVal
        End Function
    //-->
    </script>
    [/code]
    The 'CANCEL2' is just a Branch I'm using to branch back to the page without clearing Cache. I do have 'Cancel' button on the page and the Branch created for that clears the Cache.
    While debugging the javascript I get into the VB Script on the testVal = MsgBox(isTxt,vbYesNo,isCaption) line and the browser crashes.
    Can someone help with this requirement?
    What additional information can I provide?
    Thanks,
    Joe

    The code above is my attempt at this requirement, however, the browser crashes when it gets to the VBScript on the MsgBox call. I don't have to use this approach. Does someone have an idea how to solve this?
    Thanks,
    Joe

  • Linking a manually created PO with a PR

    Hi
    Is it possible to link a manually created purchase order with a PR in database?
    regards,

    Hi,
    Please refer the below MOS Note : How to Get the Purchase Order (PO) Number From a Requisition Number Via the Tables (Doc ID 169095.1)
    To get a PO number from a Requisition number via the tables, run the following
    script:
    SELECT poh.segment1, pol.line_num, poll.shipment_num
    FROM po_headers_all poh, po_lines_all pol,
    po_line_locations_all poll,
    po_requisition_headers_all porh,
    po_requisition_lines_all porl
    WHERE porh.requisition_header_id = porl.requisition_header_id
    and porl.line_location_id = poll.line_location_id
    and poh.po_header_id = pol.po_header_id
    and pol.po_line_id = poll.po_line_id
    and porh.segment1 = ####;
    If you check the above query, you will understand- how they are linked.
    porl.line_location_id should be equal to poll.line_location_id.
    However, I wont suggest you to manually create the link, as it may cause few problems:
    The approved requisition will have separate entry in Supply tables (mtl_supply) and PO will have separate entry . (ideally, if it is autocreated - it should have a single entry).
    If you have encumbrance enabled, it might cause other issues with requisition encumbrance and po encumbrance
    If you cancel the PO, not sure whether the backing requisition too will get canceled without any issue.
    Personally i feel, it is not the good practise to establish the link manually.

  • Create payment batches for credit memos

    Hi,
    I want to create payment batch to pay several credit memos.
    When I issue "Select invoices" and "Build payments" processes, it does not select any of credit memos.
    I try to add manually the credit memos on "Modify payment batch" window, but after selecting the first credit memo it displays the message:
    "You cannot create a negative mount payment.".
    Please help me how to create payment batches for credit memos.
    Thank you.

    Hi Manish,
    I am using 11i version.
    Actually I followed the advices on this note, but still the same problem, the payment batch does not allow credit memos (as they are with negative amount), even when adding them manually.
    Please help me to find where is the problem.
    Thank you.

  • Automatically create vendor batches from DESADV

    Hello gurus,
    we receive DESADV Idocs that automatically create inbound deliveries in our SAP system.
    When the vendor sends a batch number, it is correctly transmitted into field u201Cvendor batchu201D (LIPS-LICHN). Field u201Cbatchu201D (LIPS-CHARG) is empty.
    Now we would like to use the vendoru2019s batches in our system.
    Example: We do not have any stock or batch information of a certain material. Now we order 10 pieces of that material and the vendor sends a DESADV containing batch information for the goods to be delivered (vendor batch number is 1234).
    Now, we would like to have the system create a batch automatically and post the material to that batch on GR. The number of the batch may be automatically created, but the vendor batch number (1234) must be visible in the batch master record.
    Is there a standard way to do this (in plain MM, without LE)?
    Cheers
    Alicia

    Hello Alica Moore,
    The batch management is controlling the inventory at your location level only ( like plant /  co. co / material ). The batch which is sending by your vendor  /  customer, that can be used if the manual batch is using. If the system is using automatic batch management , than the sytem auto batch only updated in your inventory system and the batch is given by your vendor would be optional entry.
    I think this can be achived with making your system as manual batch entry which would be used as vendor batch number in your system.
    Pavan

Maybe you are looking for

  • When i try to search i get a message "The server at w3.mict.go.th is taking too long to respond" i do live in thailand but this message appears when i try ANY search

    For about the past 3 weeks I am unable to do any search without being redirected and then timing out at w3.mict.go.th, no searches work now.

  • How do I convert a booklet PDF to normal A4 PDF?

    Hi, We have certain reports that come from a third-party as Booklet PDFs and need to convert them to normal A4 size PDFs before publishing them. Can anyone tell us how to do this? 1. How to do it individually? and 2. Is there a script or something th

  • Alert in AS 3

    Hello everybody, I have an application in AS3 in which I want to use "Alert" for some purpose. Can anybody tell me how to do this? Actually i am using some text-editor and later compiled the as file using mxmlc (Flex). Any comment will be helpful. Th

  • ComboBox Jumplist

    I have a ComboBox implemented, however I am binding several hundred elements to this. What is the recommended way for selecting from such a large list? Ideally I would like to be able to navigate the items via a Application list type JumpList when th

  • How can we acheive this Integration.

    Hi All, We have diffenrent applications and we are planing to integrate with using ECLIPSE and Oracle AIA. How can we acheive this Integration. Which resource is required for this integration. What is the role of Oracle Developer(AQ) and Java Develop