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

Similar Messages

  • Interval 01 was not created for number range object HRTEM_REFN

    Dear expert!
    Now, I'm getting some issues in Training and event management module.
    - The first, I created business event
    - Second, I process to book for business event by tcode: PSV1 --> book --> book/payment info --> activity allocation.
    But when I was booking, the system displayed error: "Interval 01 was not created for number range object HRTEM_REFN"
    Help me, please!
    Best regards, Huy!

    Go to the customization as below
    Training and event mgt>Basic settings>Number range maintanence>Define number ranges for External operation
    and maintain number ranges as 01 Internal
    Hope ur problem will solve
    with regards
    partha

  • API error: Element link does not exist for the duration of the entry

    I am trying to create an element using the API_PAY_ELEMENT_ENTRY.CREATE_ELEMENT_ENTRY API
    While I am able to create many elements for years this way, for one particular non-recurring element I get the following error
    ORA-20001: Element link does not exist for the duration of the entry
    Cause: The link has been purged or date effectively deleted.
    Action: Check the effective start and end dates on the link definitions for this element.
    I have checked evertything and the Link is defined far before my element entry starts and with no end date. The assignment I want to attach this element entry is perfectly eligible.
    The weirdest is that I am able to create this element entry with the values I want and the dates I want through standard User interface...
    Any idea?
    Message was edited by:
    briard

    Here are the parameters I use in my call.
    DECLARE
    L_EFFECTIVE_START_DATE DATE;
    L_EFFECTIVE_END_DATE DATE;
    L_ELEMENT_ENTRY_ID NUMBER;
    L_OBJECT_VERSION_NUMBER NUMBER;
    L_WARNING BOOLEAN;
    BEGIN
    APPS.PAY_ELEMENT_ENTRY_API.CREATE_ELEMENT_ENTRY(
    P_EFFECTIVE_DATE => TO_DATE('01-JUL-2008','DD-MON-YYYY'),
    P_BUSINESS_GROUP_ID => 1,
    P_ASSIGNMENT_ID => 122147
    P_ELEMENT_LINK_ID => 233,
    P_ENTRY_TYPE => 'E',
    P_INPUT_VALUE_ID1 => 313,
    P_ENTRY_VALUE1 => 'T',
    P_INPUT_VALUE_ID2 => 314,
    P_ENTRY_VALUE2 => '5',
    -- out params
    P_EFFECTIVE_START_DATE => L_EFFECTIVE_START_DATE,
    P_EFFECTIVE_END_DATE => L_EFFECTIVE_END_DATE,
    P_ELEMENT_ENTRY_ID => L_ELEMENT_ENTRY_ID,
    P_OBJECT_VERSION_NUMBER => L_OBJECT_VERSION_NUMBER,
    P_CREATE_WARNING => L_WARNING);
    END;
    François

  • PO on vendor not created for a company code

    Hi,
    When the vendor master is not created for a pur.org., I am getting errror message when I try to create a PO on that vendor/pur.org. combination.  But, when the vendor master is not created for a company code, system is allowing me without any error for creating PO on that company code.
    I want to set error message for creating PO on a company code for which vendor master is not maintainted.  Please let me know the settings required for this.
    Thanks.

    Hi
    Normally it will allow to create PO.
    If u r not maintaining the company code settings u can not proceed with the MIRO.
    U might have created PO through MK01.... But FI team has to enter the Compnay code related details in XK01
    Regards,
    Raman
    Edited by: Raman S on Mar 13, 2009 11:58 AM

  • OTL Error - Hrs - Element link does not exist for the duration of the entry

    Hi,
    We had a few new people start just before xmas however when the person entering their record did it, they didn't date-track the additional assignment time information record to the start of the week (they did however correctly date-track their employee and assignment record) so when the timecard was filled in errors were thrown up.
    Since then I have gone back into the employees assignment time record, purged it and then re-created it effective from the week beginning.
    However when we try to enter time for them now using delegated self service, the following error is shown for the two days which were originally excluded from the date-tracked record:
    Hrs - Element link does not exist for the duration of the entry Cause: The link has been purged or date effectively deleted. Action: Check the effective start and end dates on the link definitions for this element. The original record should have been created from the 19th dec 2009 however was done from the 23rd by accident. I have since been in and replaced it with a record effective from the 19th.
    I have re-run the security list generation (we are using static list).
    The only thing I can find on metalink is 372086.1 which doesn't really describe the problem or help!!
    The people don't appear in the timekeeper form though which is strange. I really can't see any reason why their record isn't valid - no data is missing. Do I need to run a job to update the information or something?
    We are using 11.5.10.2
    Thankss

    Well would you believe it!? After much late night meddling around, I noticed one employee worked! There was absolutely no difference in any settings between his record and a persons who did not work. So I went into another employees record, changed his name and saved (correcting). Tried again and he worked fine! So, just by changing the employee name it seems to have worked for self service! I still cannot see them in timekeeper which is worrying however at least we can get time in for them now!
    If anyone knows why I may not be able to see them in timekeeper (even using an un-secured responsibility) then that would be a great help! :)

  • Problem: Socket connection is not creating in machine, through utility program (MFC Dll), on ListDisplay service port - 3334 (on separate machine), while we are able to telnet on same ListDisplay service port - 3334 from same issue machine on same time

    Problem: Socket
    connection is not creating in machine, through utility program (MFC Dll), on ListDisplay service port - 3334 (on separate machine), while we are able to telnet on same ListDisplay service port - 3334 from same issue machine on same time
    Environment: -
    OS:
    Windows XP SP2/7
    Code:
    VC 6.0
    Dll: MFC
    Problem Description: -
    We have written a utility program which create socket (Using windows standard method [MFC]), and then make connection with another service (List Display) running
    on port 3334 in different machine and retrieve the required list data. This program was working fine in almost all the machines.
    But, we have received a severe intermittent issue on two machines. Client is facing issue in displaying the list data from port 3334.
    Attempt: -
    First we tried to debug code, and we come to know that socket is not creating in utility program. So we tried to telnet on ListDisplay service port 3334 and we were surprised that we were able to telnet, then we opened some more
    telnet window on same port 3334 around (6 to 8) window, and each cmd connected properly. But we were not able to create socket from utility program.
    Problem is severe because issue is intermittent.
    We have tried all the way, but we are not able to figure it out, that what can be the exact problem and what are the conditions, when utility program will not
    connect with ListDisplay service on port 3334.
    Kindly assist to resolve this issue. For any help, we would be really thankful.

    Hi,
    According to your description, it seems that you have created an utility program which is making connection with another service port 3334, however, two clients are facing issue in display the data list from port 3334.
    Port: 3334/TCP
    3334/TCP - Known port assignments (1 record found)
    Service
    Details
    Source
    directv-web
    Direct TV Webcasting
    IANA
    Since the port 3334 is used by directv-web service, I'd like to suggest check this service it is working well on the problematic clients.
    1. The client can be resolved in DNS well? Please run "nslookup" in the prompt command.
    2. Is there any 3rd party application interrupting? Do test in clean boot.
    2. Strongly suggest you run process monitor tool to analysis it.
    I am looking forward to your reply if you have any updated on your side.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Depreciation Run not creating a batch in SM35

    Hi All,
    System is not creating a batch in SM35 for month end Depreciation Run.
    I am using the transaction AFAB with test run system is showing the
    line items of depreciation run but without test run system is not
    creating batch in SM35 to complete the process of depreciation run.
    Please advice what to do to solve this problem. its very (URGENT)
    Regards,
    Yasir Khan

    Hi,
    Have you created a BDC or perhaps you have used Direct postings in FI?
    Look in your asset if it is posted in the period and if it is posted in FI.
    You can recreate a BDC with AFBD - Recreate Session.
    Have look in your Job log and spool file perhaps there is more information
    Paul

  • ORA-13605: The specified task or object Get does not exist for the current

    Dear all,
    11.1.0.6 on solaris 10
    SQL>
    SQL> DECLARE
    2 taskname varchar2(100);
    3 taskdesc varchar2(128);
    4 task_id number;
    5 object_id number;
    6 timeLimit varchar2(25);
    7 numDaysToRetain varchar2(25);
    8 objectName varchar2(100);
    9 objectType varchar2(100);
    10 BEGIN
    11 taskname := 'SEGMENTADV_8980096';
    12 taskdesc :='Get';
    13 numDaysToRetain :='30';
    14 dbms_advisor.create_task('Segment Advisor','',taskname,taskdesc,NULL);
    15 dbms_advisor.create_object(taskname, 'TABLE', 'TRPT', 'CRM_CHECK', ' ', NULL, object_id);
    16 dbms_advisor.set_task_parameter(taskname, 'RECOMMEND_ALL', 'TRUE');
    17 dbms_advisor.set_task_parameter(taskname, 'DAYS_TO_EXPIRE', numDaysToRetain);
    18 END;
    19 /
    DECLARE
    ERROR at line 1:
    ORA-13605: The specified task or object Get does not exist for the current
    user.
    ORA-06512: at "SYS.PRVT_ADVISOR", line 4766
    ORA-06512: at "SYS.PRVT_ADVISOR", line 4637
    ORA-06512: at "SYS.DBMS_ADVISOR", line 56
    ORA-06512: at line 14
    Am running the above as sys user ..
    Any idea ?
    Kai

    Hi,
    This link may help:
    ORA-13605: The specified task or object ADDM:<task number> does not exist.
    Thanks and Regards,
    Rajesh K.

  • Snapshot Id was not created for Project.

    Hi all,
    Snapshot was not created for our project in this table (epub_prj_tg_snsht). While deploying our project in bcc we are getting following error.
    Error: Cannot perform a incremental deployment on target, Check for snapshots mismatched on agents.
    So, what is the process to create the snapshot id for our project.
    Could you please suggest me in right way??
    Thanks
    Bala Srinivas.
    Edited by: Remala on May 12, 2013 11:34 PM
    Edited by: Remala on May 12, 2013 11:37 PM

    Hi,
    Snapshots should normally be added after each deployment through a site.
    Is this a new or recreated site? If that's the case, you might have to perform an initial deployment in the site (Flag Agents) before deploying your project.
    This will generate the new snapshot id for the agents and site and it will allow you to proceed with your deployment.
    Thanks
    Edited by: ItachiUnited on May 13, 2013 9:40 AM

  • Accounting entry against Excise invoice not created  for Service Tax sales

    Dear all,
        I am facing one problem related to accounting entry against excise invoice not created, for service tax sales scenario in SEZ plant.
    Accounting entry against billing document is generated,which contains revenue account-Debit entry,service tax 10% --Debit entry,ECS-Service tax 2% --Debit entry, SECess Service Tax 1% --Debit entry & Sundry Debtors (Reco)  - Domestic(Customer receivable reconciallation) account-Credit entry.
      But after generating excise invoice, accouning entries not generated for clearing of Cenvat suspense entry(i.e.service tax 10% ,ECS-Service tax 2% , SECess Service Tax 1%) which is generated during billing document.
    Plz. suggest step by step guideline to resolve this issue.
    Thanks & Regards,
    Mukesh Pardeshi

    Hi ReazuddinMD,
    thanks for your reply and support...I checked all the entries/accounts maintained correct.. but the Accounting entrys against Excise invoice not created..
    Now i am geeting error as below at the time of saving Excise invoice,
    No account is specified in item 0000000001
    Message no. F5670
    Diagnosis
    No account was specified for account type "S" in item "0000000001" of the FI/CO document.
    System Response
    The Financial Accounting program cannot process the document.
    Procedure
    A system error has probably occurred in the application you called up. Check the data transferred to item "0000000001" of the FI/CO document.

  • Profit center Document is not created for Balance sheet items

    < MODERATOR:  Message locked.  Please post this message in the [Controlling forum|SAP ERP Financials - Controlling;. >
    Dear all,
    Profit center document is not created for balance sheet accounts , where i specified in 3KEH (default profit center for balance sheet a/c's) , i did n't do any changes , if i do any changes in dev , then i will transport to quality  there is no pending requests
               Same entry In quality environment profit center is updating and creating profit center document  for balance sheet accounts . I compared with actual posting settings like  Maintain Document Types and Define Number Ranges for Local Documents but it is same as development
    regards
    Govind
    Edited by: Govind Yadav on Sep 24, 2008 8:33 PM

    Is any body find the solution of this problem
    I am also facing the same problem Profit center document is not getting created from any MM document
    3KEH configuration is there but still the system not generating the Profit center document for those materials where there is no profit center assigned in the material master data and in 3KEH i have configured that it should post to dummy if there is no profit center in the material master data
    Please tell me if some one have the solution to this problem
    Bilal

  • IDOCs not created for Payment method "P" and "B"

    Dear Experts,
    I have executed the Automatic Payment program for three payment methods (P,V and B - Foreign Currency) in one Run ID. Payment run was successful but it has created IDOCs for the documents / Vendors attached with payment method "V" but IDOCs were not created for the payment methods "P" and "B". I have checked the configuration relating to payment methods and those were assigned with Form details and the maximum amount is also defined in the payment methods.
    Can any one suggest me where I had made the mistake / where I need to check the configuration settings.
    Thanks a lot.
    Regards,
    Ramnath.

    Hi Surya,
    Please find below error log created while executing the Payment run for the issue.
    Step 002 started (program SAPFPAYM_SCHEDULE, variant &0000000116195, user ID V-PIZHA)
    Step 003 started (program RFFOEDI1, variant &0000003957078, user ID V-PIZHA)
    Maintain an output device in your user master record
    Job cancelled
    Thanks and Regards,
    Ramnath,
    SAP FIMM Team

  • Call items are not created for Org BP's when created from Campaigns

    Hello All,
    We are creating Campaigns for Org BP's and pushing them to channel Phone, which is creating call list but call items are not created for Org BP's.
    Org BP's are maintained with Contact Person's, callling hours and phone number are maintained against contact person BP, but still call items are not created with in call list.
    Please let me know if I miss any further steps.
    Thanks,
    Raj.

    Hi Debasis,
    You can delete the PDS by using /SAPAPO/CULL_RTO_DEL - Delete Production Data Structure . And recif the it to APO. You can use CURTO_CREATE for it.
    For the error message /SAPAPO/OM_ERROR2 119 there are couple of OSS notes please check the same.
    1648558 - CIF error: 'Mode linkage problem with primary resource'
    1325227 - PDS-EXP: Mode linkage problem with primary resource
    Regards,
    RBrahmankar

  • Project with profit center was not created for entire period

    Hi everybody,
    I need a help with a problem here.
    The alert mesage "project with profit center was not created for entire period" was displayed.
    Then I searched for the creation dates and the profit center was created before the project gets its firsts postings. Therefore, some line itens don't exist in profit center (ledgers).
    My two questions:
    The first one, is it possible to input line itens in a retroactive way?
    Everytime I need to use the project master data this alert is displayed. How can I fix avoid this message?
    Thanks,

    Hi,
    Regarding your issue, it is theoretically possible to reverse all settlements up to the start of the project and then to settle again it
    is a must to check in standard if the profit center is valid from the project start date onwards.
    Check the attached note 1048945.
    The system generates error message KM700 ('Profit center <PRCTR> does not exist for <date>') when you enter a profit center on a project definition if the profit center is not valid in the entire period between the basic start and the basic finish date of the project definition . However, only one warning message should only be generated in this case.
    regards
    Waman

  • Payable Invoice has not created for internal requisition. ( R12.1.3)

    HI,
    This is an issue where i am facing for which the invoice has not created for the internal requisition, whereas the Receivables Transaction has created automatically for the same internal SO.
    Is there any way to find out the invoice, because i have again ran the Report "Create Inetrcompany AP invoice" and when i mchecked in the log it says 0 fetched invoice....
    Kindly help me out to solve this issue,
    Thanks in advance.
    Vijay

    Hi Vijay,
    Did you check in AP_INVOICES_INTERFACE table if there are some records with INVOICE_NUM like '%AR invoice number%'?
    If no records in the interface table - can you please, check by submitting the program without giving any input parameters?
    Regards,
    G V Ranjith

Maybe you are looking for

  • Set text in table cell to bold

    I am trying to get the text in a table cell to alternate between plain and bold on a ctrl-click. The setFont() statements seeming have no effect. Can anyone help? Self Contained thing here: package boldTableCell; import java.awt.BorderLayout; import

  • Jump Buttons within one iWeb page

    Good morning, I am wondering: Is there any way to create buttons in iWeb that give the viewer of the webpage the option, to jump from top to bottom, middle to top and bottom within the one chosen page? You know: To not tax somebody's index finger on

  • What's the best case for my Macbook Pro Retina? College Student.

    I have a 13 inch Macbook Pro Retina and since I will be going to college next year I am looking to protect my laptop. Any suggestions on cases or anything? Thank you!!

  • I am having trouble starting Indesign with the folio builder panel

    Every time I start indesign and change my tools to the DPS tool set the folio builder pannel flickers and then disappears and then indesign shuts down. I had some success deleting the preferences files but need a long term fix. Any thoughts?

  • After Effects CS5 and Open GL support on Radeon HD 6000 series

    My friend just got me a new graphics card, a Radeon HD 6750, and I was curious if AE could still utilize the card for some OpenGL accelerated rendering despite not being on the list Adobe has posted.