How to enhance extra fields in BAPI_GOODSMVT_CREATE.

Dear Sap Gurus,
I am facing a problem . I am using standard bapi for MIGO transaction i.e. BAPI_GOODSMVT_CREATE . it is working fine. in our company, along with BADI, MIGO was modified with two extra tab viz. Waybill and ExchangeRate. Here we are maintaining some of  own developed fields . Plz guide me how can i modify this Bapi so that i can update these developed fields . The appropriate answers will be highly appreciated <removed by moderator>.
Is there any alternative solution?
NOTE : Currently Using ECC 5.0 SAP
Thanks & Regards,
Vijay
Edited by: Thomas Zloch on Oct 19, 2010 5:43 PM

Hello,
1. Use structure BAPIPAREX for passing custom fields. (There are several blogs/posts on how to make use of this).
2. In the BAPI i noticed there is a BAdI to populate these fields into your business tables.
Call BAdI MB_BAPI_GOODSMVT_CREATE to fill own fields
    TRY.
        get badi lo_mb_bapi_GOODSMVT_CREATE.
      CATCH cx_badi_not_implemented.                    "#EC NO_HANDLER
    ENDTRY.
    TRY.
        call badi lo_mb_bapi_goodsmvt_create->extensionin_to_matdoc
          EXPORTING
            EXTENSION_IN = EXTENSIONIN[]
          CHANGING
            CS_IMKPF     = S_IMKPF
            CT_IMSEG     = T_IMSEG[]
            CT_RETURN    = return.
      CATCH cx_badi_initial_reference.                  "#EC NO_HANDLER
    ENDTRY.

Similar Messages

  • How to add extra field in cube

    hi guys,
    iam learner of bw.
      iam extracting the data from r/3 to bw.
    for example sales cube(0sd_c05).
    i want to add one more field in r/3 side according to client req for ex.in 2lis_11_vahdr.
    how to add that extra field in 0sd_c05.
    kindly give me steps one by one for my understanding.
    i will appreciate and giving points .
    thanku

    Kumar
    To do that first you have to enhance the Datasource 2lis_11_vahdr in R/3 side with new fields and populate these fields with data using user exit. As a next step as this field in to your Cube
    Please see these links for enhancements
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    Re: enhancements
    Hope this helps
    Thnaks
    Sat

  • How to populate cusotom fields using BAPI_GOODSMVT_CREATE  for MIGO

    Hi,
    I was to update custom field using BAPI_GOODSMVT_CREATE for MIGO and store it is MSEG table.
    Please tell me how to proceed.
    Moderator message: last warning, if you continue to post the same thread again, I will submit your user ID for deletion. See my comments in your previous posts.
    Edited by: Thomas Zloch on Jul 14, 2011 4:38 PM

    Hi ANID,
    Thanks for the reply.
    I have checked in the documention of the bapi and no communication structure regarding to the bapi is there so i am not able to figure out where to add the custom field so that it can be added in the MKPF table.
    Regads
    Dipak

  • How to hide extra field in IDOC segment E1EDK01 of ORDERS MSG TYPE

    HI Gurus,
    We are upgrading from 4.6c to ECC6, I am facing with a prolem in my outbound IDOC for ORDERS msg type.
    In the header segment E1EDK01 is having extra field HWAER in new version ECC6 and rest of the idoc remains same, can any one help me how to hide or remove the field from the header segment.
    Any hint or solution will be appreicated.
    Thanks
    Tangudu

    Hi,
    If you want to remove the fields you can use. BD53 where you need to create the new reduced MESSAGE type.
    Follow the procedur in attached [LINK|http://wiki.sdn.sap.com/wiki/display/ABAP/ReducedMessageTypes]
    As per your question i understood. you have field HWAER in 4.6c nad 6. But the field is not sent to reciver in 4.6c.
    So In another way you dont want to send this field in this case you can write a code in cusom exit to balnk this field out in ECC 6.
    Hope it helps,
    Shanmugavel Chandrasekaran

  • How to enhance the fields into xml schema?

    Hi Expert,
    We are at SRM-MDM Catalog 3.0 SP02, we enhanced two fields in the contract data which were transfered from the SRM via xml.  But when the MDM import manage do the mapping between the xml file and MDM catalog items automatically, it will bring a exception with the mapping error. The error message is "Logon Error: Source file dose not conform to XML schema. Element <field name> not found in the xml schema."
    How could I add these fields to xml schema?
    The problem is resolved.
    Edited by: Wendrin Duan on Nov 5, 2009 5:01 AM

    Hi
    Did changing the Name of the Schema in the console to be the same as the Name of the Schema file solve the problem.
    I take it you used the output file with the custime fields to create the Schema file so as to have a consistent structure.
    REegards,
    Iggy

  • How to have extra Field attributes as per BP Role?

    Hi all, using path Cross-application components->Business Partner-> Field Groupings -> Configure field Attributes per BP role,  we come across Data Sets for each BP role where we can specify if fields can be hidden, required or optional. What if i want to add more data sets, i am not able to add it here. For the same, i need to use tcode BUSD and then assign a new Data Sets to BP Views (of same BP role). But i am not able to see any effect of the same. Can someone advise what I am missing out on. For e.g. if i want to use Data Set "tax numbers" and assign it to the BP View "xxx", which in turn is assigned to BP role "xxx", I am not able to see the extra fields for Data Set "tax numbers". Is there way i can find out what all fields are there in a particular Data Set?

    Hi Bappaditya,
    You will not be able to add new fields via the IMG path Cross-Application Components->SAP Business Partner->Business Partner->Basic Settings->Field Groupings->Configure Field Attributes per BP Role. This is used only to control the various visibility options of the fields associated with the datasets that are attached to your BP view.
    Now, if you want to add new custom fields to your BP role,
    1. Create a new BDT application that uniquely recognizes your scenario (Tcode -> BUS1)
    2. Create a new Dataset (Tcode -> BUS23)
    3. Create a new field group (Tcode ->BUS2)
        a. Here, associate different fields from data dictionary to the new field group
    4. Create a new View (Tcode->BUS3)
        a. Assign, your BDT application
        b. Assign your data set
        c. Enter the screen painter program name and screen number
        d. Enter function modules that may be required to validate screen input
        e. Assign your field group
    5. Create a new Section (Tcode-> BUS4)
        a. Assign yoru view to Section
    6. Create a new Screen (Tcode-> BUS5)
        a. Set Screen type (Data screen, Initial screen - Dialog, modal dialog box etc.)
        b. Assign your section to your screen
    7. Create a new Screen Sequence (Tcode->BUS6)
        a. Assign your screen
        b. Assign screen sequence category
    8. Create Divisibility View (Tcode->BUSD)
        a. Assign your data set
        b. Assign Calling BDT application
        c. Assign screen sequence
    9. Define new BP role using IMG Path Cross-Application Components->SAP  Business Partner->Business Partner->Basic Settings->Business Partner Roles->Define BP Roles
       a. Here, create new BP role category
       b. Assign your view
    You can then control the visibility of your fields by using the option 'Configure field Attributes per BP role' as you mentioned.
    Hope this helps.
    Regards,
    Pavithra
    **PS : Please reward points if this helps.

  • How to validate Extra Fields in Journals

    Hi all.
    We are working with journals in SAP EPM 10, and we have created several extra fields as a part of the process. as you already know, the extra fields are dummy fields, and we would need to perform some validation when the user save or post the journal.
    Is there any way to do it? any badi or something similar?
    Thanks in advanced.
    Regards

    First of all and just to avoid misunderstandings. For my purpose which was to check the values in the additional fields added into a journal template, I´ve implemented the BADI UJJ_CALCULATED_AMOUNT.
    Then, I´ve added the code into the method IF_UJJ_CALCULATED_AMOUNT~CALCULATE_AMOUNTS. That code should work when the user is saving the journal.
    If by adding a breakpoint, you are still having problems to debug this piece of code, what you can do  is to add an ABAP code at the beginning of the mentioned method like this:
      DATA:lv.
      lv = 1.
      IF sy-uname EQ 'YOURUSERNAME'.
        WHILE ( lv = 1 ).
          lv = 1.
        ENDWHILE.
      ENDIF.
    And after that, in the transaction sm50, you should be able to select and debug the process.
    Please let me know if you are ok after that.
    Regards.

  • How to include z-fields into BAPI_GOODSMVT_CREATE

    Hi,
    In MIGO transaction, we have aded some fields on external tabs.
    These fields are mandatory fields
    The data of these fields will be stored in a Z-table when we save the MIGO.
    We have used BADI s to do this. It is working fine.
    Now, I want to post some data using MIGO tansaction. I want to use BAPI_GOODSMVT_CREATE to post tha data.
    How can I include my newly added fields in this BAPI ?
    Can u plz write the solutions?
    Thanks

    Hi,
    Go through the FM documentation of BAPI_GOODSMVT_CREATE, this gives some information how to populate the custom fields.
    Table parameter : EXTENSIONIN
    And check the BADI:  MB_BAPI_GOODSMVT_CREATE which is used to populate the custom fields for the material document.
    I think you also require to implement this badi in your case.
    You also need to extend the tables with the custom fields
    With regards,
    Dwarakanath.S

  • How to add extra fields in xml for BI report

    Hi ,
    I am trying to create a po print report .
    I took oracle standard po print program , Cloned it with output as xml and based on that i am creating the layout for my po print report using xml publisher word doc tool . Now In the oracle po print rdf there is no field like requestor email,phone numbers. I want these two fields on my po print .How can i get those fields .If i see requestor portion in xml its as below
    <LIST_G_ONE_REQUESTOR>
    <G_ONE_REQUESTOR>
    <ONE_REQUESTOR_NAME>FRANK, SCOTT</ONE_REQUESTOR_NAME>
              </G_ONE_REQUESTOR>
    </LIST_G_ONE_REQUESTOR>
    but I want some thing like
    <LIST_G_ONE_REQUESTOR>
    <G_ONE_REQUESTOR>
    <ONE_REQUESTOR_NAME>FRANK, SCOTT</ONE_REQUESTOR_NAME>
                   <ONE_REQUESTOR_PHONE>select 123456</ONE_REQUESTOR_PHONE>
                   <ONE_REQUESTOR_FAX>111111111</ONE_REQUESTOR_FAX>
                   <ONE_REQUESTOR_EMAIL>[email protected]</ONE_REQUESTOR_EMAIL>
    </G_ONE_REQUESTOR>
    </LIST_G_ONE_REQUESTOR>
    How can I achieve this ...should I make a change in standard RDF for this or is there a way we can pull these details in xml itself ??
    Please help .
    Regards,
    Chandra

    I was just think on the same line if we can manage to fetch additional fields like phone number, email address of the requestor by writing a pl/sql in xml itself .But i see that atleast the requestor name should be passed into that query in case there is a way to do it .
    Hopefully the change to rdf is the option .
    Thanks Srini for prompt response.
    --Chandra                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to enhance an Input NUMC field to a QUAN field in  web UI ?

    Hi All ,
        I am facinga a particular problem in the web UI .
        I have a component in that I have a field which is a NUMC 'Input' field .
        My requirement is to convert this field to a QUAN type field .
        Hence I have created another field in the enhancement for the same purpose . But while saving and generating, its not allowing me to generate .. the reason is I have not provided a reference UNIT type field. And as I am less experienced with CRM UI  I am not sure How do I create a reference UNIT type field . Can anyone please help me with resolving this issues .
    Thanks,
    Ranjita
    Edited by: Ranjita Kar on Apr 7, 2011 10:32 PM

    Hi Both ,
        My requirement is , in one of the standard views  have an Input  field of type NUMC . And I want to enhance this field to QUAN type field . I did the configuration level  changes to change the type of this field from NUMC to QUAN , but I am facing a problem while generating this field . the reason is, a I am using the QUAN data type , the system is asking for a reference UNIT type  field which is not present.And I dont know  how do I create this unit type field as a  reference to this QUAN field . This UNIT type field is not required to be shown in the UI .
    Can any one of you give me the steps so that I can do some experiments .
    Regards,
    Ranjita

  • How  to add an extra field in the output of a predefined report

    Hi everybody,
    I have to add an extra  field  by name  "DAYS"(VTBFHAPO-ATAGE) in the output of a predefined report" RFTMBL01".
    please provide me the code and where to add in the predefined report

    Hi  Pasquale Isolato
    the predefined alv report name is "RFTMBL01" . If u r  with system  please check the code and the field name i have to add ids"DAYS'.
      if u are not with  system please reply me so that i will sen the code also
    Thanks in advance

  • How to ad an extra field?

    Can you ad an extra field when you want to make a new event?

    It is a good idea to include the machine type and OS version in your problem posts.
    No, but you can put as much info as you want in the note field

  • How to add new fields to standard reports

    hi friends,
                 im into ABAP and working across all modules..the basic thing is users and functional people are not satisfied with the standard reports..they need some logic change or to add some more fieldsinb the standard reports.For logic change we have to copy the standard to zprogram and can do or create a new program itself..but in many cases they ask for extra fields.how to achive it ..
    for example my requirement now is adding vendor name field to the report FAGGL03 ....i found a badi and have make changes to it ...now the vendor name will be coming in sgtxt over writing the text ...but they need text also...now what shall i do???
    append structure vendor name field in faglposx table ....???how to find out the final internal table from where the output is coming ????
    ?when we check the standard rewport codes...there are lot of include statements perform statements etc  ...how to find out the final structure or internal table which has the output values..???

    hi
    it would be better if u giv full name of the report
    if ur displaying the data in alv then search for the
    word REUSE_ALV_LIST_DISPLAY REUSE_ALV_GRID_DISPLAY from which u can get the final table name
    then check the data that is comming into
    try using implicit enhancement or any other exit in the declaration and declare a new structure with the field and append it to the field catalog
    if ur displaying the data using write statement
    then create a zprogram and add a write statement
    fi ur unable to find here the final table then after displayign the report start the debugging and double click on any row to find out more easily
    shiva

  • Need to add extra field in BEX report

    Hi  Experts ,
    I have a problem in bex report.
    scenario is like this--
    APD will generate the BPS Daily report on Branch, Group, Area, Region and total company levels and then exports  into a flat files stored in appserver
    and i got the requirement to change the layout of the report. The client wants to need the one field extra ie. 'REPORTS RUN DATE '
    and i am stuck here how to add this field in my report ..
    Please help me  ASAP.
    Thanks a lot in advance
    Saurabh

    hi,
    Enhance your APD and in the target add field REPORTS RUN DATE .
    Fill this using ABAP routine which populates the sy-datum in this field.
    regards,
    Arvind.

  • DataSource Enhancements : Maximum Fields

    Dear Friend,
    How many fields we can add to DataSource to Enhance ( Maximum Fields), I heard if it is more then 20 fields it is not good, but please let me know the correct one.
    I found some Master Data TEXT/Description fields also enhanced in 2LIS_13_VDITM, if any Special Chars will come in the Data loads, then there may be huge problem, is it right?. please help me.
    Thanks
    Ganga

    Hi Ganga,
        As far as my Knowledge goes , from a DDIC prespespective you can add as many fields as possible to the extract structure. The only limitation would be that imposed by the underlying Database.
    Even if you add 20 extra fields I do'nt think there should not be any problem if you get all these values using one select statement. But if more than one select statement is used , performance would surely go down.
      What I mean is that if out of the 20 fields , if 10 are to be read from table 1 and 3 are to be read from table 2 and remaning are to be read from table 3. then this would require two inner joins(if there exists a common key field) otherwise it would require three different select statements. In either case the performanc would come down.
    Hope this answers your first question.
    I am really sorry I did not get the second question . what exactly do you mean by "if any Special Chars will come in the Data loads, then there may be huge problem, is it right?" ..  please be clear on this.
    Regards,
    James Harold.

Maybe you are looking for

  • "Restore Down" Icon in a JFrame

    In a JFrame, it has 3 little icons on the top of the right hand corner: minimize, restore down, and close icons. When I click "restore down" (the middle) icon, how can it minimize to a specific frame size? Because now it will iconize the frame when I

  • How fast/powerful are the brand new 8 core Mpros 3 GHZ

    can you compare them to the QUAD 2.5? any one who has one could you give me some opinions is it worth the buy or will waiting prove more satisfactory

  • Java 7u45 gives spurious warning about missing Permissions attribute

    The security dialog in 7u45 gives a yellow warning about missing Permissions attribute.   Does anyone know how to get rid of it? Same as the yellow box in the screenshots (#2 and #3) documented here (although none of them discuss the Permissions attr

  • Error: The document is not relevant for billing

    Hi All, I am creating a service order have already done pricing procedure, copy control setting all and condition record but when I tried to do billing with reference to the sales order it prompts me the message saying that the document is not releva

  • Design of database

    Hi. Before I paint myself into a corner I have some questions. The actual site is built with ADDT and will show pictures and movie clips from different persons. Ex at http://www.olle.se.st/riviera_test/index2.php will show the most "hot" movies. Clic