API to create Receipt Batch

Hi,
I am trying to find if there is an API to create a Receipt batch in AR. The requirement is to create Misc Reciepts (CASH) and it will be done daily. A batch by day will be easy to check totals etc.
Thanks
A

Srini and Hussein,
Thanks for the replies. We are on R 12.0.6 and I am looking for Miscellaneous reciept. The API you mentioned is for a standard Cash receipt.
Also in CREATE_MISC API there are 2 parameters that are
p_reference_type Indicates whether this miscellaneous receipt is a 'PAYMENT', 'RECEIPT', 'PAYMENT_BATCH' or 'REMITTANCE'.
p_reference_id A foreign key to AR_BATCHES,AR_CASH_RECEIPTS,AP_INVOICE_SELECTION_CRITERIA or AP_CHECKS, depending on the specified value of p_reference_type.
I am going to open a SR and see what Oracle has to say.
Thanks
Anil

Similar Messages

  • Creating Unplanned Batches for Goods Receipts

    Recently we had an incident where a goods receipt for a final product did not meet an analytical FDA requirement. We were able to segregated the portion of the material that did not meet this regulatory commitment. We have a manufacturing process in place that will allow us to rework this material however we need to assign this failed portion a new batch number. Since part of this final product is good we want to avoid a re-id of the total quantity of the goods receipt. Is there a way we can create unplanned batches and split a goods receipt for a planned process order after manufacturing has occurred?

    Ryan,
    For these requirements, you might want to consider classifying your batches. Through classification function, you can assign multiple characteristics to your materials (e.g., one characteristic for inspection type, one class for original batch number, and one class for process order number) and assign specific characteristic values in batch.
    I'm not sure which version of SAP you're currently using, but the following is the link to help.sap.com on batch management.
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/25/28428b4f7811d18a150000e816ae6e/frameset.htm">BatchManagement_46c</a>
    Batch classification is specifically discussed in Batch Specifications section.
    Hope this helps.

  • R12 - API to Create Serial Numbers for Ordered Item in Receipt

    Hello All,
    I got a requirement to create PO Receipt using PL/SQL code. For that i have created PL/SQL code to insert data in following Interface tables,
    a) rcv_headers_interface
    b) rcv_transactions_interface
    After inserting data in Interface table executed Concurrent Program "Receiving Transaction Processor" to process data from Interface table to Base Table. This process is working perfectly fine for "Non-Catalog" requests. But if i try to process any PO having Inventory Item whose Serial Control is set to "At Receipt" then i got following error at Interface table,
    "Fail to validate serials".
    To resolve this issue i need to create and process serial number for Ordered Item selected to Receive. Can anyone guide me regarding how can I generate Serial Numbers using API for PO Receipts.
    Regards,
    Priyanka

    Hi,
    Just populate mtl_serial_numbers_temp table correctly (by specifying transaction_temp_id = RTI.interface_transaction_id)
    and serial number range in fm_serial_number - to_serial_number respectively.
    You may entermultiple MSNT records with same transaction_temp_id.
    You may need to populate PRODUCT_TRANSACTION_ID = RTI.interface_transaction_id and PRODUCT_CODE = 'RCV'.
    Oracle will create all the serial numbers for you when the records get processed.
    Thanks,
    Hrishi

  • Issue with creating receipts(using interface) for a PO with multiple lines

    Hi,
    We have a receipts creation program which creates creates receipts.
    The issue is, if the PO contains 2 lines then the program creates receipts for only 1 line.Can someone suggest a solution for the same.
    Issue in Detail:
    The program works as follows
    - Populate rcv_header_interface table for Po Line#1 and Line#2
    - Populate rcv_transactions_interface table for Po Line#1 and Line#2
    - Invoke oracle std 'Receivogn Transaction Processor' program
    -Check for Receipt Number generated in the base table rcv_shipment_headers
    When we query the rcv_shipment_headers table, we found receipt_number is created for only Line#1.
    The data written to interaface table are as follows
    rcv_header_interface
    header_interface_id - sequence value
    GROUP_ID - sequence value
    Processing_status_code - 'PENDING'
    Receipt_source_code - 'VENDOR'
    transaction_type - 'NEW'
    vendor_name - <<derived from Po>>
    validation_flag -'Y'
    expected_receipt_date - current date
    WHO clolumns
    rcv_transactions_interface
    interface_transaction_id - seq value
    GROUP_ID - <<as header one>>
    header_interface_id - <<header data>>
    transaction_type - 'RECEIVE'
    transaction_date - current date
    processing_status_code - 'PENDING'
    processing_mode_code - 'BATCH'
    transaction_status_code - 'PENDING'
    employee_id - agent Id of PO,
    po_header_id - <<derived from Po>>
    po_line_id - <<derived from Po>>
    po_line_location_id - <<derived from Po>>
    validation_flag - 'Y'
    source_document_code 'PO',
    to_organization_code - NULL,
    expected_receipt_date - sysdate + 3
    Document_line_num - 1
    auto_transact_code - 'DELIVER'
    receipt_source_code - 'VENDOR'
    vendor_name - <<derived from Po>>
    destination_type_code - 'EXPENSE'
    document_shipment_line_num - 1
    amount - <<derived from Po>>
    po_distribution_id - <<derived from Po>>
    Have we missed any data tobe inserted into transactrin interface table because of which the transaction processor is geenrating receipt for Line#1 only?
    Thanks,
    Kamath.

    Hi,
    I have the same problem just now.
    Have you found some solutions about it ?
    thx
    Luigi

  • How to create new Batch No for An Item

    Dear All,
              I am doing Issue for production task through DI API. In that I need to Create a Batch no for an Item. That item was created as Batch with Release only in Item Master. Please help me how to create the batch no when I am Issue for Production ?.
    Thanks,
    lingam.

    Dear Lingam,
    If the process need manual selection as the one you are requesting, it will not be available to DI API. You may try UI API to see.
    Thanks,
    Gordon

  • IN R12 -- HOW TO CREATE RECEIPT METHOD IN RECEIVABLES

    IN R12 --> HOW TO CREATE RECEIPT METHOD IN RECEIVABLES
    SET UP
    RECEIPTS-------> RECEIPT CLASSES
    I CREATED NEW RECEIPT CLASS AND NEW RECEIPT METHOD
    WHEN CREATING NEW RECEIPT METHOD
    BANK ACCOUNTS---------->
    I AM ABLE TO SELECT THE DETAILS FOR THE FOLLOWING
    1. OPERATING UNIT
    2. BANK NAME
    3. BRANCH NAME
    4. EFFECTIVE DATES
    5. CASH ACCOUNT
    6. UNAPPLIED RECEIPTS
    7. UNIDENTIFIED RECEIPTS
    8. ON ACCOUNT RECEIPTS
    BUT WHEN COMES TO THE
    UNEARNED DISCOUNTS AND
    EARNED DISCOUNTS I AM UNABLE TO GET LOV FOR THAT
    IN THE SET UP----> SYSTEM OPTIONS ----> MISCELLANEOUS
    I CHECKED THE CHECK BOX TO YES FOR
    ALLOW UNEARNED DISCOUNTS
    PLEASE GIVE SOLUTIONS FOR THIS
    THANKS IN ADVANCE
    PRINCE

    Hi
    Thank You Ketter Ohnes for Reply,
    AR: Setup: Receipts: Receivable Activities
    When i am doing above set up it is giving the following error.
    PLEASE DEFINE A PARTY TAX PROFILE FOR OPERATING UNIT & ORG_ID
    Thanks and Regards
    Prince

  • 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

  • How to create a batch file

    Hi,
    I have a project named Haridwar which i made using net beans and resides in the location(C:\Documents and Settings\nijesh\My Documents\NetBeansProjects\HARIDWAR) it has a build folder in which the classes folder contains the haridwar.class file and a src folde that has a haridwar folder in which my java file resides (these are created automatically by netbeans) what i want to do is
    1. create a jar file for this project
    2. create a batch process that runs my jar file every day.
    can some one please help me in how i should be doing the two processes.
    Thanks in advance

    Google for "java executable jar" and follow the directions.
    .bat files can be created with any text editor.
    Scheduling can be done with Windows OS capabilities.
    %

  • 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.

  • How to delete the automatically created receipt in the expense report

    Hi experts,
    I am getting an error "no expense type for estimated costs has been defined. cannot save" while creating a travel request for an employee.
    Base on the reply from Raynard which posted on Re: FM for  trip exp
    It's because "The estimated cost in plan and request are now included into fund management. So if you have active funds management, the entered estimated cost are used to make availability check and commitment. Therefore you must create an expense type in view V_T706B1. Under 'amounts are' you have to choose 'estimated cost, no reimbursement to employee'."
    How ever, because the linkage with funds management, I faced the problem and also ckecked out the reason from SAP Help that "After the trip takes place, the user needs to manually delete the automatically created receipt in the expense report."
    Anybody can provide the solution how to automatically delete this receipt before user create the expense report??
    Thanks
    Daniel

    Hi Francis,
    Check the BADI "TRIP_WEB_CHECK" method "USER_CHECK_GENERAL_DATA".
    Here based on the schema you can modify the "estimated cost" field.
    Hope it helps.
    Regards,
    Jyothi

  • How to create a batch-job dynamically?

    Hello,
    I would like to create a batch-job from within my abap code.
    Therefore I want to determine a abap-report to be executed every X-Hours.
    Do you have some sample code for creating a batch job?
    I need to do it in abap because I want to create a TN to trigger the code creating the job.
    So the user interaction will be minimal to start a periodic batch job.
    thanks.

    Hi Daniel,
    select options could be stored by export/import to/from database:
          DESCRIBE TABLE t_vkpos LINES n.
          READ TABLE t_vkpos INDEX n.
          lastmaxvbeln = t_vkpos-vbeln.
          PERFORM get_varimemkey USING p_vari CHANGING vkposmemkey.
          EXPORT lastmaxvbeln TO DATABASE indx(zk) ID vkposmemkey.
          IF NOT sy-subrc IS INITIAL.
          PERFORM get_varimemkey USING p_vari CHANGING vkposmemkey.
          IMPORT lastmaxvbeln FROM DATABASE indx(zk) ID vkposmemkey.
          IF sy-subrc IS INITIAL.
            ls_vbeln-sign   = 'I'.
            ls_vbeln-option = 'GT'.
            ls_vbeln-low    = lastmaxvbeln.
            APPEND ls_vbeln.
          ENDIF
    FORM get_varimemkey USING    vari TYPE raldb_vari
                        CHANGING memkey TYPE char22.
      IF vari IS INITIAL.
        RAISE get_varimemkey_unexepected.
      ENDIF.
      CONCATENATE 'Z_VKPOS_' vari INTO memkey.
    ENDFORM.                    "
    regards
    Walter Habich

  • How to create a batch by adding a record to any Z Table

    Hi Experts,
    I am doing online billing info system. I need to quey the NAST table for unprocessed entries. One of the  requirement is to create a  batch  What is meant by creating a batch by adding a record to a Z Table?
    If anyone is aware, please tell me how to do it.
    Thanks
    Dan

    I think this is a question you should ask the person that gave you the specs.
    Rob

  • How to create a batch job in IW41

    Dear all,
    I would like to create a print program batch job on the following scenario with the use of RSNAST00.
    We have created an output type in which when it is triggered by backflush (i.e. GI-261) via IW41 transaction, a PO will be created automatically in the background from this output type.
    Now for testing purpose, we would like to use to use program RSNAST00 to schedule the creation or triggering of this output.
    May I know how to do this?
    I know in VF04, I can click the variant,HOWEVER in IW41, the menu does not allow variant creation?
    Without variant creation, I cannot go to SM36 to create a batch job.
    thanks
    tuff

    Hi,
    Check the link:
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/30237989-0901-0010-70a4-944691eb5e52 [original link is broken]
    Make sure the CCMS agent installation is in place as per the Monitoring setup guide.
    Follow the link Central auto reactions for configuring alert mails.
    Regards,
    Srikishan

  • How to create a batch file for a java program?

    I have a java project in JCreator and the project is organised into packages. I have also configured JCreator to provide 2 arguments to the main method when the project is executed.
    I would want to create a batch file (.bat) for this project where the batch file can automatically use the arguments set in JCreator when the program runs.
    How do I go about creating the batch file?

    where the batch file can automatically use the arguments set in JCreatorThat all depends JCreator... can you get those arguments somehow?

  • How to create a Batch file for java application  ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    [http://static.springsource.org/spring-batch/]
    Assuming you want to develop a batch application rather than actually just create a .bat file ..

Maybe you are looking for