Bapi not updating custom warning message

Hello,
I am using BAPI_PO_CREATE to create PO,
in the po user exit i am populating the warning message.After the PO creation in the return table i am not able to find the warning message.If it is error message i am able to find in return tablwe.Please help me how to caopture the warning message.

Hi,
In the badi mentioned by you GOITEM is the importing parameters & if the relevant field is not used in any MIGO screen you cannot change the data.
Please check example BADI interface: IF_EX_MB_MIGO_BADI~LINE_MODIFY
Please check the BADI documentation:
Changed data in GOITEM is only adopted if the relevant fields are visible and ready for input.
Changed data in GOITEM is not adopted if the relevant field is not used in any MIGO screen (warning via MIGO 049).
Changed data in GOITEM is not adopted if the relevant fields are not ready for input (warning via MIGO 050)
Thanks and Regards,
Chandra

Similar Messages

  • I'm sick of updating and warning messages !!!! one more message then you lose a customer .

    i'm sick of updating and warning messages !!!!
    one more message then you lose a customer .

    Dah•veed wrote:
    So long, farewell, Auf Wiedersein, goodnight... 
    Great movie.

  • [svn] 1594: Update the warning message when outbound throttle policy of REPLACE is used one more time .

    Revision: 1594
    Author: [email protected]
    Date: 2008-05-07 11:10:27 -0700 (Wed, 07 May 2008)
    Log Message:
    Update the warning message when outbound throttle policy of REPLACE is used one more time. Now the warning says this. . .
    Throttle outbound policy 'REPLACE' found on message destination 'MESSAGE_DESTINATION'. The 'REPLACE' throttle outbound policy has been deprecated. Please remove it from your configuration file.
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageDestination.java

    hamish72 wrote:
    You can still download as much as you can only a lot slower during peak times off peak will not be restricted.
    Thanks for this explanation. I had taken it that it was at all times.
    As I said in the first place it will be great if they throttle me to 1Mb at peak times as it will be better half the time than I am getting anyway!!!!!!!!!
    hamish72 wrote:
    Have you chased up why your line is so bad, long way from exchange and so on
    Posting your router stats may get advice from someone
    enter for homehub for other routers will differ
    192.168.1.254 in browser click A to Z top right
    then ADSL enter pas and click MORE DETAIL
    POST RESULTS
    Also post results of test at ( best done from master test socket)
    http://speedtester.bt.com/
    Connection Information
    Line state
    Connected
    Connection time
    6 days, 11:57:55
    Downstream
    5,760 Kbps
    Upstream
    448 Kbps
    ADSL Settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    G.992.1 Annex A
    Latency type
    Interleaved
    Noise margin (Down/Up)
    5.7 dB / 21.0 dB
    Line attenuation (Down/Up)
    44.6 dB / 24.0 dB
    Output power (Down/Up)
    8.9 dBm / 1.6 dBm
    Loss of Framing (Local/Remote)
    0 / 0
    Loss of Signal (Local/Remote)
    0 / 0
    Loss of Power (Local/Remote)
    0 / 0
    FEC Errors (Down/Up)
    25279 / 134
    CRC Errors (Down/Up)
    700 / 196
    HEC Errors (Down/Up)
    5427 / 142
    Error Seconds (Local/Remote)
    477 / 102

  • Not Updating Customized Table when System having Performance Issue

    Hi,
    This is actually the same topic as "Not Updating Customized Table when System having Performance Issue" which is posted last December by Leonard Tan regarding the user exit EXIT_SAPLMBMB_001.
    Recently we changed the program function module z_mm_save_hide_qty to update task. However this causes more data not updated. Hence we put back the old version (without the update task).  But now it is not working as it used to be (e.g. version 1 - 10 records not updated, version 2 with update task - 20 records not updated, back to version 1 - 20 records not updated).
    I tried debugging the program, however whenever I debugged, there is nothing wrong and the data is updated correctly.
    Please advise if anyone has any idea why is this happening. Many thanks.
    Regards,
    Janet

    Hi Janet,
    you are right. This is a basic rule not to do any COMMIT or RFC calls in a user exit.
    Have a look at SAP note 92550. Here they say that exit EXIT_SAPLMBMB_001 is called in the update routine MB_POST_DOCUMENT. And this routine is already called in UPDATE TASK from  FUNCTION 'MB_UPDATE_TASKS' IN UPDATE TASK.
    SAP also tells us not to do any updates on SAP system tables like MBEW, MARD, MSEG.
    Before the exit is called, now they call 'MB_DOCUMENT_BADI' with methods MB_DOCUMENT_BEFORE_UPDATE and MB_DOCUMENT_UPDATE. Possibly you have more success implementing the BADI.
    I don't know your situation and goal so this is all I can tell you now.
    Good luck!
    Regards,
    Clemens

  • Why does my iMac (on occasion) not shut down, warning message comes on saying i have to switch off by pressing and holding the power button then restart,

    Why does my iMac (on occasion) not shut down, warning message comes on saying i have to switch off by pressing and holding the power button then restart, something to do with a Panic report?
    Thanks
    Brian

    Hi mende1,
    you asked me to post the Kernal panic report then next time it appears, sorry for the delay but it was fine until yesterday when it happened again so here it is, hope you can make sense of this, thank you for your help.
    Regards
    Brian
    Interval Since Last Panic Report:  97797 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    17D8F909-09A9-4BC6-A153-A12F75529506
    Sun Jan 27 09:32:57 2013
    panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff80002b4b31, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x00000000800a9118, CR3: 0x0000000000100000, CR4: 0x0000000000000660
    RAX: 0xffffff80008c2028, RBX: 0x00000000800a9100, RCX: 0xffffff800ae5bf00, RDX: 0x0000000000000080
    RSP: 0xffffff8078713e68, RBP: 0xffffff8078713eb0, RSI: 0x000000005aefd876, RDI: 0x00000000800a9118
    R8:  0x0000000000000010, R9:  0x0000000000000000, R10: 0xfffffe802662d000, R11: 0x00080000000263f3
    R12: 0xffffff8078713f60, R13: 0xffffff8078713f78, R14: 0x0000000000000000, R15: 0x00000000800a9118
    RFL: 0x0000000000010002, RIP: 0xffffff80002b4b31, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0x00000000800a9118, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff8078713b10 : 0xffffff8000220792
    0xffffff8078713b90 : 0xffffff80002c4794
    0xffffff8078713d40 : 0xffffff80002da55d
    0xffffff8078713d60 : 0xffffff80002b4b31
    0xffffff8078713eb0 : 0xffffff80002352a5
    0xffffff8078713ec0 : 0xffffff800036489d
    0xffffff8078713ee0 : 0xffffff8000345031
    0xffffff8078713fb0 : 0xffffff8000820057
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11G63
    Kernel version:
    Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
    System model name: iMac10,1 (Mac-F2268CC8)
    System uptime in nanoseconds: 1750251829240
    last loaded kext at 51464252613: com.apple.filesystems.msdosfs          1.7.1 (addr 0xffffff7f815c7000, size 57344)
    last unloaded kext at 215848970782: com.apple.driver.AppleFileSystemDriver          13 (addr 0xffffff7f825c2000, size 12288)
    loaded kexts:
    com.vmware.kext.vmnet          3.0.0
    com.vmware.kext.vmioplug          3.0.0
    com.vmware.kext.vmci          3.0.0
    com.vmware.kext.vmx86          3.0.0
    com.apple.filesystems.msdosfs          1.7.1
    com.apple.driver.AppleBluetoothMultitouch          70.12
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.iokit.IOBluetoothSerialManager          4.0.8f17
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.GeForce          7.3.2
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleHDA          2.2.5a5
    com.apple.driver.AppleMikeyDriver          2.2.5a5
    com.apple.driver.AGPM          100.12.75
    com.apple.driver.AppleBacklight          170.2.2
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.3
    com.apple.driver.ApplePolicyControl          3.1.33
    com.apple.driver.ACPI_SMC_PlatformPlugin          5.0.0d8
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.8f17
    com.apple.driver.AppleIRController          312
    com.apple.driver.AppleUSBCardReader          3.0.6
    com.apple.iokit.SCSITaskUserClient          3.2.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCISerialATAPI          2.0.3
    com.apple.iokit.IOAHCIBlockStorage          2.1.0
    com.apple.driver.AppleAHCIPort          2.3.1
    com.apple.nvenet          2.0.17
    com.apple.driver.AppleUSBHub          5.1.0
    com.apple.driver.AirPort.Atheros40          505.67.1
    com.apple.driver.AppleUSBEHCI          5.1.0
    com.apple.driver.AppleUSBOHCI          5.1.0
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleFWOHCI          4.9.0
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleACPIButtons          1.5
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.5
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          195.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.4
    com.apple.security.TMSafetyNet          8
    com.apple.driver.AppleIntelCPUPowerManagement          195.0.0
    com.apple.driver.AppleBluetoothHIDKeyboard          160.7
    com.apple.driver.AppleHIDKeyboard          160.7
    com.apple.driver.AppleMultitouchDriver          231.4
    com.apple.driver.IOBluetoothHIDDriver          4.0.8f17
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.nvidia.nv50hal          7.3.2
    com.apple.NVDAResman          7.3.2
    com.apple.driver.DspFuncLib          2.2.5a5
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleHDAController          2.2.5a5
    com.apple.iokit.IOHDAFamily          2.2.5a5
    com.apple.iokit.IOSurface          80.0.2
    com.apple.iokit.IOAudioFamily          1.8.6fc18
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleGraphicsControl          3.1.33
    com.apple.iokit.IONDRVSupport          2.3.4
    com.apple.iokit.IOGraphicsFamily          2.3.4
    com.apple.driver.AppleSMC          3.1.3d10
    com.apple.driver.IOPlatformPluginLegacy          5.0.0d8
    com.apple.driver.IOPlatformPluginFamily          5.1.1d6
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.8f17
    com.apple.iokit.IOBluetoothFamily          4.0.8f17
    com.apple.iokit.IOUSBHIDDriver          5.0.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.2.1
    com.apple.iokit.IOUSBMassStorageClass          3.0.3
    com.apple.driver.AppleUSBMergeNub          5.1.0
    com.apple.driver.AppleUSBComposite          5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.2.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.2.1
    com.apple.iokit.IOAHCIFamily          2.0.8
    com.apple.iokit.IOUSBUserClient          5.0.0
    com.apple.iokit.IO80211Family          420.3
    com.apple.iokit.IONetworkingFamily          2.1
    com.apple.iokit.IOUSBFamily          5.1.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOFireWireFamily          4.4.8
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.8
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          331.7
    com.apple.iokit.IOStorageFamily          1.7.2
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.5
    com.apple.iokit.IOPCIFamily          2.7
    com.apple.iokit.IOACPIFamily          1.4
    Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.52f9
    Graphics: NVIDIA GeForce 9400, NVIDIA GeForce 9400, PCI, 256 MB
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.67.5-P2P
    Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: ST3500418ASQ, 500.11 GB
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    USB Device: Ext HDD 1021, 0x1058  (Western Digital Technologies, Inc.), 0x1021, 0x24300000 / 3
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0x24400000 / 2
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26500000 / 3
    USB Device: hub_device, 0x0409  (NEC Corporation), 0x0059, 0x26400000 / 2
    USB Device: Tablet, 0x172f, 0x0037, 0x26410000 / 6
    USB Device: Mass Storage Device, 0x058f  (Alcor Micro, Corp.), 0x6362, 0x26430000 / 5
    USB Device: USB 2.0 Hub [MTT], 0x1a40  (TERMINUS TECHNOLOGY INC.), 0x0101, 0x26440000 / 4
    USB Device: JumpDrive, 0x05dc  (Lexar Media, Inc.), 0xa205, 0x26441000 / 7
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x06110000 / 4

  • Update Show Messages with customized warning message

    Hi Friends,
    We have a requirement, where if the PR line item value is 0.01, a warning message should be triggered while creating a PO with the corresponding PR number. 
    We are able to Trigger the Warning message, but it is not getting updated/ stored in the PO (Show messages) for further reference. once the user clicks OK or presses enter button, the message goes off as it is the process, but it needs to be updated, so that the user can get the warning message when trying to Test the PO.
    Hope the problem is clear, do let know if more details is required.
    Thanks in advance.
    Regards,
    Vasanth

    Hi,
    Do you issue message in exit EXIT_SAPMM06E_012. (include ZXM06U43)?
    We use this exti for PO  checks - all messages issued are then vissible in option 'show messages' next to PO date.
    Hope it helps.
    regards,
    wojciech

  • BAPI to update customer details

    Hi All,
    What is the BAPI that we should use to update customer details into SAP??
    What are the mandatory fields we need to update customer record in SAP?
    Thx
    Navin

    Hi,
    1)
    I tried BAPI_CUSTOMER_CHANGEFROMDATA1, imported to XI. But it has the following Parameter Names and corresponding Associated Types respectively:
    PI_PERSONALDATA, PI_PERSONALDATAX, PI_OPT_PERSONALDATA, PI_OPT_PERSONALDATAX, PI_COMPANYDATA, PI_COMPANYDATAX, PI_OPT_COMPANYDATA, PI_OPT_COMPANYDATAX
    BAPIKNA101_1, BAPIKNA101_1X, BAPIKNA105, BAPIKNA105X, BAPIKNA106,BAPIKNA106X, BAPIKNA105, BAPIKNA105X.
    For the above 8, I am getting following message in XI: Schema for type urn:sap-com:document:sap:rfc:functions: BAPIKNA106 (Category Data Type) not found
    2) SD_CUSTOMER_MAINTAIN_ALL
    It is not Remote-enabled module
    3) BAPI_CUSTOMER_EDIT
    I dont I can update details of the customer...I am not sure...Because it has only Customer ID in request parameters....If I want to change name or address...how would I send them in Request  to BAPI??
    Thx
    Navin

  • No standard BAPI to update Customer???

    Hi All,
    We are trying to find BAPI to update the changed customer details (address, phone numers ...any details). In ABAP forum they mentioned following 3 BAPIS:
    BAPI_CUSTOMER_CHANGEFROMDATA1
    SD_CUSTOMER_MAINTAIN_ALL
    BAPI_CUSTOMER_EDIT
    I can't use any of these because of the following reasons:
    I tried BAPI_CUSTOMER_CHANGEFROMDATA1, imported to XI. But it has the following Parameter Names and corresponding Associated Types respectively:
    PI_PERSONALDATA, PI_PERSONALDATAX, PI_OPT_PERSONALDATA, PI_OPT_PERSONALDATAX, PI_COMPANYDATA, PI_COMPANYDATAX, PI_OPT_COMPANYDATA, PI_OPT_COMPANYDATAX
    BAPIKNA101_1, BAPIKNA101_1X, BAPIKNA105, BAPIKNA105X, BAPIKNA106,BAPIKNA106X, BAPIKNA105, BAPIKNA105X.
    For the above 8, I am getting following message in XI: Schema for type urn:sap-com:document:sap:rfc:functions: BAPIKNA106 (Category Data Type) not found
    Can I import those associated types to XI?? They are structures in SAP. If not is there any way that I can do this??
    2) SD_CUSTOMER_MAINTAIN_ALL
    It is not Remote-enabled module. Can't import to XI.
    3) BAPI_CUSTOMER_EDIT
    I dont think I can update details of the customer using this BAPI...I am not sure...Because it has only Customer ID in request parameters....If I want to change name or address...how would I send them in Request to BAPI??
    Any other RF Modules that I can use ??
    Thx
    Navin
    Message was edited by:
            navin kumar

    Hi Navin,
    How did you import the BAPI_CUSTOMER_CHANGEFROMDATA1 into XI? Normally datastructures for the BAPI will be imported together with the BAPI....
    Regards,
    John.

  • TS1363 my itunes will not update a error message apears during dload C:\Users\Edwin\AppData\Local\Apple\Apple Software Update\ my phone has the new update and now wont sync with my pc due to this

    my itunes will not update keeps comming up with a error when dloading the latest version now my iphone4s wont sync as it has the latest software

    Is the message refering to a specific .msi file? If so, which particular .msi is it referring to? (iTunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • Received notice to update my I Tunes.  Would not update.  Error message read " I Tunes has an invalid signature"  never had an issue with updates till this notice.  What do i do to resolve this error?

    Received notice to update ITunes.  When downloading,  got error message "ITunes has an invalid signature" and would not update.  Never had an update issue until this download.  How do i rectify this error?

    Hi, bro2pro.
    I would recommend a complete uninstall as outlined in the article below.  Make sure to process the uninstall in the order specified. 
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/ht1925
    Once uninstalled, download iTunes directly from here iTunes 11.0.4 or iTunes.com.  Make sure to save the file to your desktop instead of selecting the run option.  Locate the file on your desktop, right click and select run as administrator.  This should allow the install. 
    Cheers,
    Jason H. 

  • Extending sales order change BAPI and updating custom fields

    Hi
    i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
    i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
    may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
    also can some one send me code to actually check if bapi is changing my values?
    if poss tell me how should i populate values into BAPI.

    After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
    Fill values as follows :
    Data :   ls_parex  TYPE  bapiparex,
                lt_parex  TYPE STANDARD TABLE OF  bapiparex.
    ls_parex-structure = 'BAPE_VBAK'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(XX) = somevalue.  <---- Value for custom field no 1
    ls_parex-valuepart1+XX(XX) = somevalue.  <---- Value for custom field no 2
    APPEND ls_parex TO lt_parex  .
    clear ls_parex.
    ls_parex-structure = 'BAPE_VBAKX'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
    ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
    APPEND ls_parex TO lt_parex.
    Same pair for VBAKKOZ & VBAKKOZX
    Updating custom fields
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = Sales order number
          order_header_inx = 'U'   <--- U for update
        TABLES
          extensionin      = lt_parex[].
    Edited by: nkarwa on Oct 25, 2010 12:39 PM

  • BADI MB_MIGO_BADI not updating custom field in MSEG Table

    Dear Experts,
    I am working on screen exit In MIGO transaction for transfer Posting.
    I checked that BADI MB_MIGO_BADI having facility for screen exit and method line_modify having facility to change GOITEM Structure for the changed line item.
    Now, to make this functionality work I have enhanced include structure CI_COBL which is available in both mseg table and goitem structure, now I have this customized fields on my custome tab through the enhancement and also to update this value 2 custom fields created in goitem structure and MSEG table through include structure  CI_COBL.
    Here my question is at the time of transfer posing creation in MIGO when I am passing the value in custom fields through screen and assigning it to custom fields of structure GOITEM through LINE_MODIFY method, it is giving me below worning message
    BADI: Field GOITEM-ZZIDNLF is not ready for input. (Change is not taken over)
    Now I have debuged the code, also checkout many threads and came to know that because of few checks in standred program (iNCLUDE:LMIGOKL3) these fields will not be updated WHERE IT always checks whether these fields are ready for input or not and if not ready then instead of assigning the values it throws worning message.
    Now can you please through some light how can I go ahead as I have check out many threads and also tried to change value of cs_goitem structure using field symbol but throughing dump that it is blocked against changes through field symbol.
    The helpful answers will be highly appriciated.

    Hi,
    In the badi mentioned by you GOITEM is the importing parameters & if the relevant field is not used in any MIGO screen you cannot change the data.
    Please check example BADI interface: IF_EX_MB_MIGO_BADI~LINE_MODIFY
    Please check the BADI documentation:
    Changed data in GOITEM is only adopted if the relevant fields are visible and ready for input.
    Changed data in GOITEM is not adopted if the relevant field is not used in any MIGO screen (warning via MIGO 049).
    Changed data in GOITEM is not adopted if the relevant fields are not ready for input (warning via MIGO 050)
    Thanks and Regards,
    Chandra

  • Sales order change BAPI not updating items Profit center

    Dear ,
    I am facing the problem in using the BAPI for Item 's profit centre  in blank space.
    I write down the below code <but it's not at all updating the profite centre .
    please ccorrect the code if any required'
    TYPES: BEGIN OF file_data ,
           vbeln TYPE vbap-vbeln, " order numner
           posnr TYPE vbap-posnr, " orderitem
           profit_ctr TYPE vbap-prctr, " [profite centre
          END OF file_data.
    DATA: t_data TYPE STANDARD TABLE OF file_data .
    DATA : wa_data LIKE LINE OF t_data.
    DATA: t_data_item TYPE STANDARD TABLE OF file_data .
    DATA : wa_data_item LIKE LINE OF   t_data_item.
    **DATA: t_data_item TYPE file_data OCCURS 0.
    *DATA: return TYPE STANDARD TABLE OF bapiret2.
    *DATA: wa_return LIKE LINE OF return.
    DATA: wait LIKE bapita-wait VALUE 'X'.
    DATA: s_order_header_in LIKE bapisdh1.
    DATA: s_order_header_inx LIKE bapisdh1x.
    DATA: BEGIN OF i_order_item_in OCCURS 0.
            INCLUDE STRUCTURE bapisditm.
    DATA: END OF i_order_item_in.
    DATA: BEGIN OF i_order_item_inx OCCURS 0.
            INCLUDE STRUCTURE bapisditmx.
    DATA: END OF i_order_item_inx.
    DATA: BEGIN OF it_return OCCURS 0.
            INCLUDE STRUCTURE bapiret2.
    DATA: END OF it_return.
    ***********************selection
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS : file LIKE rlgrap-filename OBLIGATORY.
    "ctu_mode  TYPE ctu_mode  DEFAULT 'N'.
    SELECTION-SCREEN END OF BLOCK b1.
    *********assign file
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
      CLEAR file.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = file
        EXCEPTIONS
          OTHERS    = 1.
      DATA:  it_text TYPE truxs_t_text_data .
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_field_seperator    = 'X'
          i_line_header        = 'X'
          i_tab_raw_data       = it_text
          i_filename           = file
        TABLES
          i_tab_converted_data = t_data[] " Your internal table of structure of Excel sheet
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      t_data_item[] =  t_data[].
      DELETE ADJACENT DUPLICATES FROM t_data COMPARING vbeln.
    Header update indicator
      s_order_header_inx-updateflag = 'U'.
    Line items
      REFRESH: i_order_item_in, i_order_item_inx.
      LOOP AT t_data INTO wa_data.
        LOOP AT t_data_item INTO wa_data_item WHERE vbeln = wa_data-vbeln. .
          i_order_item_in-itm_number = wa_data_item-posnr.
          i_order_item_in-profit_ctr = wa_data_item-profit_ctr.
          i_order_item_inx-itm_number = wa_data_item-posnr.
          i_order_item_inx-updateflag = 'U'.
          i_order_item_inx-profit_ctr = 'X'.
          APPEND: i_order_item_in, i_order_item_inx.
        ENDLOOP.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = wa_data-vbeln
          IMPORTING
            output = wa_data-vbeln.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            salesdocument     = wa_data-vbeln
            order_header_in   = s_order_header_in
            order_header_inx  = s_order_header_inx
            behave_when_error = 'P'
          TABLES
            return            = it_return
            order_item_in     = i_order_item_in
            order_item_inx    = i_order_item_inx.

    i already used same But it's not working
    s_order_header_inx-updateflag = 'U'.
    Line items
      REFRESH: i_order_item_in, i_order_item_inx.
      LOOP AT t_data INTO wa_data.
        LOOP AT t_data_item INTO wa_data_item WHERE vbeln = wa_data-vbeln. .
    BAPISDITM
          i_order_item_in-itm_number = wa_data_item-posnr.
          i_order_item_in-profit_ctr = wa_data_item-profit_ctr.
    BAPISDITMX
          i_order_item_inx-itm_number = wa_data_item-posnr.
          i_order_item_inx-updateflag = 'U'.
          i_order_item_inx-profit_ctr = 'X'.
          APPEND: i_order_item_in, i_order_item_inx.
        ENDLOOP.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = wa_data-vbeln
          IMPORTING
            output = wa_data-vbeln.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            salesdocument     = wa_data-vbeln
            order_header_in   = s_order_header_in
            order_header_inx  = s_order_header_inx
            behave_when_error = 'P'
          TABLES
            return            = it_return
            order_item_in     = i_order_item_in
            order_item_inx    = i_order_item_inx.

  • BAPI not updating Z-fields while creating PR

    Hi all,
    I am creatting PR using BAPI_REQUISITION_CREATE, PR was created and std fields uppdated but some customer data z-fields hasbeen added to the screen and i am passing these fields using BAPI structure but these z-fields remains blank. Below is the code kindly suggest what's going wrong.
    zfield structure
    PREQ_ITEM     NUMC     5     0
    Zfield1                     CHAR     40      0
    Zfield1            CHAR     30     0
    Zfield1          CHAR     1     0
    Zfield1          CHAR     1     0
    Zfield1          CHAR     1     0
    Zfield1          CHAR     1     0
    Zfield1          CHAR     255     0
    Zfield1          CHAR     255     0
    *******Code***********
    data : BAPI_TE_MEREQITEM type BAPI_TE_MEREQITEM.
    data : BAPI_TE_MEREQITEMX type BAPI_TE_MEREQITEMX.
    BAPI_TE_MEREQITEM-PREQ_ITEM = '10'.
    BAPI_TE_MEREQITEM-Zfield1 = 'TEST'.
    BAPI_TE_MEREQITEM-Zfield2 = '999999999'.
    BAPI_TE_MEREQITEM-field3 = 'N'.
    BAPI_TE_MEREQITEM-field4 = 'N'.
    BAPI_TE_MEREQITEM-field5 = 'N'.
    BAPI_TE_MEREQITEM-field6 = 'N'.
    BAPI_TE_MEREQITEM-field7 = 'DRI PLANT'.
    BAPI_TE_MEREQITEM-field8 = 'From IT'.
       move 'BAPI_TE_MEREQITEM' to extensionin-structure.
      extensionin-VALUEPART1 = BAPI_TE_MEREQITEM+0(240).
      extensionin-VALUEPART2 = BAPI_TE_MEREQITEM+240(239).
      extensionin-VALUEPART3 = BAPI_TE_MEREQITEM+480(109).
      append extensionin.
    BAPI_TE_MEREQITEMX-PREQ_ITEM = '10'.
    BAPI_TE_MEREQITEMX-field1  = 'X'.
    BAPI_TE_MEREQITEMX-field2  = 'X'.
    BAPI_TE_MEREQITEMX-field3  = 'X'.
    BAPI_TE_MEREQITEMX-field4  = 'X'.
    BAPI_TE_MEREQITEMX-field5  = 'X'.
    BAPI_TE_MEREQITEMX-field6 = 'X'.
    BAPI_TE_MEREQITEMX-field7 = 'X'.
    BAPI_TE_MEREQITEMX-field8 = 'X'.
        move 'BAPI_TE_MEREQITEMX' to extensionin-structure.
      append extensionin.
            CALL FUNCTION 'BAPI_REQUISITION_CREATE'
               IMPORTING
                 number                   = prno
                TABLES
                     requisition_items    = requisition_items
          requisition_account_assignment   =  requisition_account_assignment
               return                     = i_return
               EXTENSIONIN               = EXTENSIONIN.

    Hello,
    before calling Commit FM please try using FM ZZG05_BUPA_EVENT_DSAVB  and then commit the changes.
    or
    Use the Function Module CRMXIF_PARTNER_SAVE. You can update or create standard and newly created fields(EEWB).
    The following FM updates all the customer fields.
    Please let me know if you face any issues.
    Thanks & Regards,
    Ravi Aswani

  • FM or BAPI to update custom fields in Excise invoice header (J_1IEXCHDR) table

    Dear friends,
    I have created the following custom fields in standard table J_1IEXCHDR (Excise invoice header detail),
    1) ZZKURRF - Exchange rate
    2) ZZWAERK - SD Document Currency
    Is there any BAPI or Function module to update these Custom fields of Excise header table J_1IEXCHDR?
    Have a nice day ....
    Thanks.

    Dear Lakshmipathi,
    Sorry for posting in wrong domain.
    Thanks for your immediate response. I will use the FM J_1I7_USEREXIT_EXCISE_BEF_SAVE for Excise invoices created in future.
    But, I have to update the custom data for existing records in J_1IEXCHDR. For that I need a FM or BAPI.
    Please provide the same.
    Thanks in advance .
    Have a nice day .

Maybe you are looking for