BAPI_GOODSMVT_CREATE to import data in MIGO tcode

Hi ,
Under tcode MIGO if we give material document number and display it displays several tabs in the bottom along with import tab.
In Import tab we have a button details that opens Import data popup.
Using BAPI BAPI_GOODSMVT_CREATE can we fill the data in that popup like prelim doc no? those fields are coming from EIPO table.
what is the link between material document number and EIPO
Thanks
Bala Duvvuri

Hi,
  Please take a look at this links for sample coding of BAPI_GOODSMVT_CREATE.
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
http://www.4ap.de/abap/bapi_goodsmvt_create.php
Regards
Kiran Sure

Similar Messages

  • How to import data from CSV to TCode COR6N

    Hi friends,
    Please help me. I don't know how to import data from CSV file to TCode COR6N. (time ticket for production order)
    I used function: BAPI_PRODORDCONF_CREATE_TT to fill information into TCode COR6n, but it thrown error: "Orders of the order type ZP01 cannot be confirmed". ZP01 is my Order Type.
    Thanks in advance.
    Nguyen Phuoc Toan.

    You can use the LSMW tool to do this.
    The details of LSMW BAPI method is as follows :-
    Business Object:- BUS2116
    Method:-CREATEPREDEFTIMETICKETMULTIPLE
    Message Type:- PPCC2PRETTICKET
    Basic Type:- PPCC2PRETTICKET01
    Regards
    Dhirendra

  • How to import data from CSV to TCode COR1?

    Hi SAP PP guru,
    How to import data from CSV file to TCode COR1?
    Thanks in advance,
    Nguyen Phuoc Toan.

    Nguyen,
    You have not yet confirmed what your requirement is?
    You can take the help of ABAP person to understand what BDC or LSMW is about, basically this is a tool provided by SAP that would enable you to record a transaction process and you can use the code to perform the transaction in mass. [Help on LSMW|http://help.sap.com/erp2005_ehp_04/helpdata/EN/ad/2d54a41d7011d2b42e006094b944c8/content.htm]
    Regards,
    Prasobh

  • To Update Custom field in mch1 table through MIGO Tcode

    Dear champs,
    I have added one custom field in mch1 table ( date ).
    Now , In MIGO Tcode when i am doing posting, MCH1 table is also updated.
    I want to know how to update my custom field in mch1 table at the time of posting.
    Please tell me where to write logic to update mch1 table.
    Regards,
    Satyen Trivedi

    Hi Satyen,
           what data has to be update in MCH1 table new field, for this did you added any screen or you want to implement your own custom logic.
    1) if you implemented the screen , then you have to write logic there itself.
    2) If you want to update through custom logic , then you takeup with the  Enhancements or BADI.
    Regards,
    Krishna

  • Import data of business partner with elm

    Hi,
    when I create a business partner, I have to fill out some mandatory fields.
    Mandatory fields (SAP CRM standard fields):
    name, street, house no, postal code, city
    Mandatory field (field which created by us):
    searchterm
    I want to import data of business partner with elm. In the first step I want create a mapping format only with the mandatory fields. At this point, I get a problem. I can select all mandatory fields in the mapping field, but not the self created mandatory field u201Csearchtermu201D.
    Do somebody know, what I have to do that the self created field stands in the mapping format for selection?
    Thank you in advance!
    Best regards
    Jasmin Hauser

    Hi Jasmin,
    The following is the procedure to use the ELM functionality in CRM 2007:
    a) Store .csv file on local machine or SAP directory (Line1 will be your field name to map for the first time)
    b) Activate Work Flows in tcode: OOCU (check building block c22)
    c) Enhance BADI - CRM_MKTLIST_BADI, structure CRM_MKTLIST_PER_EXT with "Z" custom fields (note this BADI is filter dependent, which means - the mapping formats created needs to be added in this BADI to function)
    d) Define List type and Origin in customizing (SPRO-CRM-MKT-ELM)
    e) Create Mapping Format (WEBUI -> MKT_Professional business role)
    f) Add Mapping Format to BADI (CRM_MKTLIST_BADI)(tcode-se19. Note: Deactivate the BADI before adding Mapping Format and Activate BADI again)
    g) Implement SAP Note: 915015 to create the ELM Members in business partner role "Prospect"
    h) Create the External List (WEBUI->MKT_Professional business role). Use the mapping format created, make sure that your .csv file don't not have the fields name, data to upload should be in the same order as mapping format fields)
    Cheers,
    Peter J.

  • Adding new tab in MIGO Tcode at item leveli

    HI all,
    My requirement is to create a new tab at item level in MIGO Tcode. In that tab I have to add some z-fields, here the point to be noted is these custom fields data needs to be saved into a Z-table along with the goods receipt number which is generated whenever we post the GR. So I searched for screen exits for this. I was not able to found this.
    But I was able to find out a BADI "MB_MIGO_BADI". Is this the right BADI, if so could you let me know in which method I could be able to get the saved GRN number for that posted document. How could I call my custom tab in this BADI.
    If there is any alternate method also, could you please let me know.
    Thanks and regards,
    Srinivas.
    Edited by: Vinod Kumar on Jul 7, 2011 10:30 PM

    Hi gvsastry,
    Thanks for your prompt response, I should save ztable data along with the GRN number which is generated when we post data.
    means if the GR posting fails the Z-table data should not be saved. So is that method which you said, will be triggred after the GR posting itself.
    Regards,
    Srinivas.

  • Import data to electronic bank statement

    Hi,
    while import data MT940 through FF_5 system is send error message "Runtime error CONVT_NO_NUMBER has occurred"
    . How to resolve that?

    Hi,
    Please have a look at the short dump that was generated. You can replay it using TCODE ST22. On the left-hand-side you can pick an entry called "Information on where terminated". Then you should see a code listing with an "---->" (arrow) pointing at the actual line of code where the error occurred.
    Regards,
    Pramitha.
    Edited by: pramitha on Apr 18, 2011 10:02 AM

  • ICR - Importing Data from Other SAP Systems for Reconcilaition

    Dear Ralph and Other Experts,
    At my current engagement we need to import data from a subsidiary separate SAP system for reconciliation. There are scenarios where one side of an Interco document is posted in the corporate system and the other half is posted in the subsidiary's system. The posts from the subsidiary are totaled by comp code account and trading part and then posted in the corporate system.
    This will make it challenging to run automatic rule assignments because scenarios will arise where one document in the subsidiary needs to be matched to many documents in the corporate system.
    I did some searching on changing the DataSource   in FBIC008 for certain company codes to file upload or external but cannot find documentation on how to complete the configuration or how this functionality it works. Has anyone used this functionality? Could somebody please explain or link me to a document about using this external or file upload functionality in the ICR system.
    Best,
    John S

    Hi Frank,
    Below are my thoughts, these are only conceptual and haven't had an opportunity to try these possibilities, also not sure if this is the right thing.
    1) Create an entry in DBCON using TCode: DBCO for the Database of system SAP2. Now in the application of SAP1 use the "SET CONNECTION" construct as the very first statement, so that consecutive SQL statements will point at the DB of SAP2.
    2) I have read somewhere that the Work Processes are connected to the Default database and i am not sure if you can change this setting, but if you can and provided you have have multiple application servers in your SAP1 landscape, then pick one of the application servers and change the settings on the WP to point at the DB of SAP2, you have the end users login to this particualr app server.
    3) If there are multiple app servers in SAP1 landscape, then choose one of the app servers and change the default database setting to point at DB of SAP2.
    Regards,
    Chen

  • Runtime Error SYNTAX_ERROR with MIGO tcode

    Hi Gurus,
    I got a new issue now. while executing MIGO tcode getting SYNTAX_ERROR dump, please check below dump details..
    Category               ABAP Programming Error
    Runtime Errors         SYNTAX_ERROR
    ABAP Program           SAPLVBDOCUBATCH_DM
    Application Component  LO-BM
    Date and Time          09.01.2012 16:27:51
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLMIGO" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
        The following syntax error occurred in program "SAPLVBDOCUBATCH_DM " in include
         "LVBDOCUBATCH_DM$39 " in
        line 8:
        ""RL034" must be a flat structure. You cannot use internal tables, stri"
        "ngs, references, or structures as components."
        The include has been created and last changed by:
        Created by: "SAP "
        Last changed by: "SAP "
        Error in the ABAP Application Program
        The current ABAP program "SAPLMIGO" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The following syntax error was found in the program SAPLVBDOCUBATCH_DM :
        ""RL034" must be a flat structure. You cannot use internal tables, stri"
        "ngs, references, or structures as components."
    i have tried to check syntax of program SAPLVBDOCUBATCH_DM and it is giving error, please help me solve this issue.
    Additional Information:ECC6.0 EHP5(recently upgraded from ECC6.0) nd DB:Oracle 10.2.0.2 OS:windows
    Thanks,
    Venkat

    Hello Team,
    This is Solved..
    As per dump when we go n check table RL034 through SE11 there one Object type is wrong so with Abaper help it got corrected then the problem was solved.
    Thanks all for your time.
    Venkat

  • Importing data from Flat file

    Hi all Experts,
    I am a ABAPer and trying to learn BW by my own. I wanted to import data from flat file and generate some reports on that.
    Can anybody tell me the steps starting from the infocubes(guess its the first step), to achieve it. Any help will be a great help for me.
    Thanks in Advance,
    Smita

    1.to start with create infoareas, infoobjects(accoring to what u have in flat file).
    2.then create a cube which will include these infoobj's and activate it.
    3.create an application component and then create infosource,right click and assign ds to infosource and specify ur PC file source system(whatever system u've), 4.then u'll go to the infosource screen where u need to maintain the exact order of ur file in transfer structure tab, then maintain transfer rules, activate it.
    5.create upate rules for ur cube by mentioning this infosource name.
    6.create infopackages and schedule them. after data is loaded to cube, use tcode rrmx and logon to bex and find ur cube and then create queries on them.

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • Object reference not set to an instance of an object error with Import data

    Hi Experts,
    We are using BPC 7.5M with SQL Server 2008 in Multiserver environment, I am getting an error "Object reference not set to an instance of an object." while running Import data package, earlier we use to get this error sometime(once in a month) but it goes away if we reboot the application server but this time I have rebotted the Application server multiple times but still getting the same error.
    Please Advice.
    Thanks & Regards,
    Rohit

    Hi Rohit,
    please see the sap note 1615837, maybe this help you.
    Best regards
    Roberto Vidotti

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • Performance issue with FDM when importing data

    In the FDM Web console, a performance issue has been detected when importing data (.txt)
    In less than 10 seconds the ".txt" and the ".log" files are created the INBOX folder (the ".txt" file) and in the OUTBOX\Logs (the ".log" file).
    At that moment, system shows the message "Processing, please wait” during 10 minutes. Eventually the information is displayed, however if we want to see the second page, we have to wait more than 20 seconds.
    It seems a performance issue when system tries to show the imported data in the web page.
    It has been also noted that when a user tries to import a txt file directly clicking on the tab "Select File From Inbox", the user has to also wait other 10 minutes before the information is displayed on the web page.
    Thx in advance!
    Cheers
    Matteo

    Hi Matteo
    How much data is being imported / displayed when users are interacting with the system.
    There is a report that may help you to analyse this but unfortunately I cannot remember what it is called and don't have access to a system to check. I do remember that it breaks down the import process into stages showing how long it takes to process each mapping step and the overall time.
    I suspect that what you are seeing is normal behaviour but that isn't to say that performance improvements are not possible.
    The copying of files is the first part of the import process before FDM then starts the import so that will be quick. The processing is then the time taken to import the records, process the mapping and write to the tables. If users are clicking 'Select file from Inbox' then they are re-importing so it will take just as long as it would for you to import it, they are not just asking to retrieve previously imported data.
    Hope this helps
    Stuart

  • Error when running import data package, BPC 7.5 Microsoft

    When I try to import data to one of my applications the import fails. This happens with external data but also with data I extracted from the application (input via schedule and then exported) I get the below error:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    TOTAL STEPS  2
    1. Convert Data:         completed  in 0 sec.
    2. Load and Process:     Failed  in 1 sec.
    3. Import:               completed  in 1 sec.
    [Selection]
    FILE=\GRP_CONSOL\ZHYP_DATA\DataManager\DataFiles
    2011_test_schedule.txt
    TRANSFORMATION=\GRP_CONSOL\ZHYP_DATA\DATAMANAGER\TRANSFORMATIONFILES\SYSTEM FILES\IMPORT.XLS
    CLEARDATA= Yes
    RUNLOGIC= Yes
    CHECKLCK= Yes
    [Messages]
    Convert Data
    Success
    Record Count : 12
    Accept Count : 12
    Reject Count : 0
    Skip Count   : 0
    Incorrect syntax near '.'.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    What can cause this error?
    Marco

    Hi Marco,
    See note [https://service.sap.com/sap/support/notes/1328907].
    This is issue is related to the Replace and Clear option and not having Work Status set up correctly.
    When using the option 'Replace & Clear' with Import packages, the WorkStatus Setting should be not only enabled but also 3 dimensions types 'C' (i.e. Category), 'E' (i.e. Entity) and 'T' (i.e. Time) should be set by 'Yes' or 'Owner'.
    Thanks,
    John

Maybe you are looking for

  • Backing up virtual machines in Hyper-V: theory question

    Hello! This article http://msdn.microsoft.com/en-us/library/dd405549%28v=vs.85%29.aspx says: "Hyper-V uses the Volume Shadow Copy Service (VSS) to backup and restore virtual machines (VMs). If the backup (volume snapshot) integration services are ins

  • Query Required for FMS

    Dear Expert            I want the Query for to convert Value in to words,the value is  the document total value.

  • RSS feed for AMP missing Video 03?

    First off, thanks for a great, and free, service! However, is it just me or is the RSS feed missing Video 03, Creating a Flex Builder workspace and project? I can of course view this in the regular online player but would love to have it with the res

  • Appelle dll créée avec LabView 8.2 sous VB6 (Booleen)

    Bonjour, Je développe un programme sous LabView8.2 pour créer une dll qui sera appelée par VB6. Lorsque que je mets un booleen VB6 me renvoie le message d'erreur "erreur de chargement de la DLL". Y a t il une configuration à réaliser sous VB ou LabVi

  • How to make test data anonymus

    Hi all, we are planning to copy our productive system to our test system. Therefore it is necessary to make all HR and customer data anonymus. Is there a possibility within the standard (maybe a report) to make these data anonymus. If there is no sta