Map binary data (PDF) to XML not possible due to non-printable chars

Hi XI Gurus,
we have the following issue.
We send a PDF as binary data (as a hex string '25255044462D3' ) along with some other information from ERP within one RFC to XI , doing a message split 1:n for those two kind of messages (1. the PDF, 2. the XML) an send the split messages to file/ftp receiver adapter.
The message split and sending of the messages is working well, but we encounter some problems with non-printable chars (hex code below 0x20) in the pdf binary. The PDF data and the dynamic file name is mapped into an XML. But the non printable characters are converted into '#' when mapped into the XML target field.
(Due to the 1:n multi mapping, we cannot put the filename into dynamic configuration, so we have to map the pdf and the filename into an XML and extract the content with variable substitution in receiver file adapter....)
My question is: how can binary data with non-printable chars be sent through XI and can be mapped into an XML without beeing replaced by '#' ?
Any help will be greatly appreciated.
Thanks and regards
Holger

Maybe I didn´t explained it clearly enough.
We do not have the issue that the RFC puts the '#' into the string. We got from the RFC a hex string containing the pdf as visible hex values like:
As you can see we have the pdf as hex string. During message mapping XI replaces some non-printable chars like '0x04' or '0x19' with '#'.
My question is: how can we avoid those char replacement ?
BTW: I grabbed a pdf with sender file adapter, routed through XI without any mapping and send it with ftp in binary mode. But the pdf contains more chars as the origional file and the pdf content is not visible when opening with a pdf reader like Acrobat. I guess the file adpter has problems with carriage return and linefeed chars. Some CR and LF are replaced inserted somehow.
Best regards,
Holger

Similar Messages

  • ABAP XSL mapping - Binary data of attached file

    I have a webservice which is converting attachment and putting it into XSLT Node. when I mapped this node to Attachment payload of my partner (using ABAP xsl mapping), I got an error.
    I was able to send the same file via SOAP UI...
    On further investigation of the http log files, I noticed that Binary data for both streams looked same, but when I did a word count, I noticed that SOAP UI was a single line file while my PI data was more than 400 lines.. so I coded a fn:transfer of this data to convert end of line character to empty value. it did seem to work...
    My question, is this approach correct? or is there any way to ensure binary data stream in XML node does not contain those additional characters?

    can you provide input xml
    Edited by: RajuGA on Dec 7, 2011 2:09 PM

  • Mapping for ND_FORM to ND_FORM not possible due to recursion

    Hi Experts,
    I am trying to define external context mapping...with the steps..say there are two components ZOMP1(in which i am using other component) and ZCOMP2(this is used in zcomp1)
    1. IN the component zcomp2  I define ZCOMP1 under the used components
    2.in the component controller of ZCOMP2 under properties tab I create controller usage of zcomp1 and two entries are created
    3.I go to the context tab of component controller of zcomp2 and drag and drop the ND_FORM  node from ZCOMP1 to context node of ZCOMP2
    when I do a check I get the error
         Mapping for ND_FORM to ND_FORM not possible due to recursion
    Don't understand why am I getting this error though the node I am trying to map is not recursive?
    This is what I see in long text of error:
    Message no. SWDP_WB_TOOL263
    Diagnosis
    Mapping from ND_FORM to ND_FORM is not permitted, as ND_FORM has its own mapping that refers directly or indirectly to ND_FORM.
    System Response
    The mapping can neither be created nor used.
    Procedure
    If you receive this error message when you check a context or when you update the mapping to context node ND_FORM, delete the mapping to ND_FORM using the context menu function with the same name.
    Please help,
    Anubhav

    Hi Anubhav,
    following restrictions apply on recursion nodes:
    1. You cannot nominate a recursive node to act as the data source in a context mapping relationship. Recursive node structures are restricted to the scope of a single controller.
    2. The root node of a context cannot be used for a recursion.
    Please check this...
    http://help.sap.com/saphelp_nw04s/helpdata/en/47/45641e80f81962e10000000a114a6b/content.htm
    Also Cehck This,..
    Enhancement FPM of Trip application
    Cheers,
    Kris.

  • Binary data into a XML

    Hello,
    I'd like to know how I could insert binary data into a XML message, for example, an image.
    Does XML Java API support binary data insertion into a XML message? Or should I make my own classes to do this?
    As I've read in the next url http://www.javaworld.com/javaworld/javatips/jw-javatip117.html ,
    the best approach is to use a Base-64 encoding. The encoding algorithm processes a byte stream in 3-byte sequences. Each 3-byte sequence parcels into four 6-bit data units. Each 6-bit data unit then encodes into the character stream as the corresponding character from the character set: A-Z, a-z, 0-9, +, and /.
    Thanks

    Does XML Java API support binary data insertion into a
    XML message? Or should I make my own classes to do
    this?The XML Java API's support producing well-formed XML according to the XML specifications. Those specifications do not say (or even suggest) how you should encode binary data to put it into XML. If you want to encode your binary data in some way then you are free to do so, but you'll have to write your own code.

  • Purchase requisition from sales document' not possible due to a credit bloc

    hi experts,
    i have to confirm delivery date and quantity for some purchase order items but i'm not able because i receive following message:
    Subsequent function 'Purchase requisition from sales document' not possible due to a credit block'
    Purchase requisition belongs to a sales order which has customer 10000.
    The customer 10000 was block from FD32 but now i have unblock the customer from FD32, i have assigned customer to a category risk which is only a warning. (in OVA8 risk category 002 static check, reaction C, status/block uncheck )
    There is any possiblilities to confirm quantity ?? I mean ... i understand that sales order was created when the customer was block due to credit limit exceded ... but now the customer is not blocked.
    What should i do?
    Thank you.

    Hi Dan
    If you want to  confirm the delivery date then change the static check reaction to B . in OVA8 . But if you change the static check reaction to A , you can do Delivery and billing also
    Regards
    Srinath

  • Error Message: Change of update mode not possible due to open V3 update

    Hi Gurus,
    I got error message when i change update mode (LBWE) from V3 to Direct or Queued delta method.
    Error Message: Change of update mode not possible due to open V3 update
    Long text: You are not allowed to change the update mode for application 11 from V3 to another method. This is because there are still V3 update entries for update module MCEX_UPDATE_11 that have not been processed yet.
    Pls anyone give solution for this.
    Thanks
    Muthu

    Hi Sreeni,
    i did check in all the below Tcode as you adviced.
    1. Clear all record at SM13, LBWQ / SMQ1, Setup tables, RSA7 for particular datsasource or application..
    2. For LBWQ provide date range and delete not required records.
    I did not get the 3rd point " Need to clear in CLINTS of R/3 system" of your reply.
    what does that mean?
    I checked all the above tcodes and got the same message as no queue or data exists".
    I went SBIW tcode and activated my data source and try to change the Update mode but still it is throwing error message as "Change of update is not possible due to open V3"
    Please help me out.
    It will be very helpful for me if you could share steps or docs regarding this issue.
    Thanks,
    Shailaja

  • The first boot of iphone 5 is not possible due to lack of battery charge , it happened after charging, is there s any issue of battery life

    the first boot of iphone 5 is not possible due to lack of battery charge , it happened after charging, is there s any issue of battery life

    Charge the phone for 15 minutes with the Apple charger. Then hold the HOME and SLEEP buttons at the same time until an Apple logo appears.

  • [SOLVED]wlan0 up - Operation not possible due to RF-kill

    Hello everyone.
    I've encountered trouble trying to activate my wlan0 interface and I was wishing that someone here might be able to help me.
    $ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether
    3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether
    My attempt at trying to activate wlan0 renders the following;
    $sudo ip link set wlan0 up
    RTNETLINK answers: Operation not possible due to RF-kill
    Unblocking everything with RF-Kill does not seem to change much in particular:
    $rfkill list all
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
    $sudo rfkill unblock all
    $rfkill list all
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    Enabling/Disabling the wifi-button on my keyboard only changes the Hard Blocked-parameter of hp-wifi. The Soft block remains unchanged regardless of me trying to unblock all with rfkill.
    The following is the output of dmesg | grep phy0
    $ dmesg | grep phy0
    [ 7.460715] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
    [ 7.465387] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5390 detected
    [ 7.500363] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    dmesg | grep hp-wifi renders nothing.
    Additional Information:
    $uname -r
    3.12.2-1-ARCH
    Entire output of lsmod
    Module Size Used by
    hid_generic 1161 0
    usbhid 40577 0
    hid 90678 2 hid_generic,usbhid
    arc4 2008 2
    rt2800pci 11055 0
    rt2800lib 74595 1 rt2800pci
    rt2x00pci 2664 1 rt2800pci
    rt2x00mmio 2945 1 rt2800pci
    rt2x00lib 37807 4 rt2x00pci,rt2800lib,rt2800pci,rt2x00mmio
    joydev 9671 0
    eeprom_93cx6 2193 1 rt2800pci
    mac80211 466554 3 rt2x00lib,rt2x00pci,rt2800lib
    cfg80211 412854 2 mac80211,rt2x00lib
    uvcvideo 72900 0
    kvm_amd 52575 0
    videobuf2_vmalloc 3280 1 uvcvideo
    videobuf2_memops 2343 1 videobuf2_vmalloc
    videobuf2_core 28027 1 uvcvideo
    kvm 389125 1 kvm_amd
    videodev 111140 2 uvcvideo,videobuf2_core
    hp_wmi 7627 0
    media 11751 2 uvcvideo,videodev
    radeon 1284675 6
    sparse_keymap 3154 1 hp_wmi
    crc_ccitt 1371 1 rt2800lib
    rfkill 15651 2 cfg80211,hp_wmi
    r8169 58399 0
    microcode 15216 0
    evdev 10989 13
    mii 4035 1 r8169
    pcspkr 2035 0
    k10temp 3058 0
    psmouse 85428 0
    ttm 63411 1 radeon
    serio_raw 5049 0
    rtsx_pci_ms 7266 0
    drm_kms_helper 36286 1 radeon
    memstick 7472 1 rtsx_pci_ms
    drm 238206 8 ttm,drm_kms_helper,radeon
    sp5100_tco 5824 0
    thermal 8532 0
    battery 6837 0
    wmi 8419 1 hp_wmi
    i2c_piix4 10592 0
    snd_hda_codec_realtek 40772 1
    i2c_algo_bit 5399 1 radeon
    i2c_core 24164 6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
    ac 3332 0
    acpi_cpufreq 10779 0
    video 11228 0
    snd_hda_intel 36904 0
    shpchp 25465 0
    button 4677 0
    snd_hda_codec 149633 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 6340 1 snd_hda_codec
    snd_pcm 77709 2 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7242 2 snd_pcm,snd_hda_intel
    snd_timer 18726 1 snd_pcm
    snd 59173 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5450 1 snd
    processor 24935 3 acpi_cpufreq
    ext4 474187 4
    crc16 1367 1 ext4
    mbcache 6082 1 ext4
    jbd2 83504 1 ext4
    sr_mod 14898 0
    cdrom 34848 1 sr_mod
    sd_mod 30789 6
    rtsx_pci_sdmmc 14332 0
    mmc_core 95691 1 rtsx_pci_sdmmc
    ahci 22896 5
    libahci 21401 1 ahci
    rtsx_pci 32049 2 rtsx_pci_ms,rtsx_pci_sdmmc
    libata 170792 2 ahci,libahci
    ehci_pci 4000 0
    ohci_pci 4072 0
    ohci_hcd 23937 1 ohci_pci
    ehci_hcd 59220 1 ehci_pci
    usbcore 180136 6 uvcvideo,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
    scsi_mod 130669 3 libata,sd_mod,sr_mod
    usb_common 1656 1 usbcore
    Entire output of lspci
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320]
    00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
    00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
    00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
    00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
    00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
    00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
    00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
    00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
    07:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe
    It is worth mentioning that this problem has remained persistent throughout multiple linux distributions that I've tried on my laptop. The Wifi works fine in Windows 7 but as soon as I switch to any linux distro it stops working.
    I intend to put your advice to good use so any help would be very appreciated.
    Last edited by FunkDojo (2013-12-05 13:02:45)

    As I can see you have two wireless interaces, when i see only phy0 with rfkill, it's maybe your hp-wifi that force to disable phy0 interace. I think if you blacklist the driver it might allow phy0 to be enabled.
    Please download and install lshw available in the community repo and enter in a terminal :
    $ lshw -c network
    Last edited by maxarsys (2013-12-05 06:26:05)

  • Subsequent function '' not possible due to a credit block

    Hello Experts,
    We have the dynamic credit check at delivery, so while creating the deliery a pop-up message comes with the exceeding credit limit and allows us to save the delivery.  After releasing the delivery with VKM5 when we try to enter the picking quantity in Picked Qty column we are getting the error Subsequent function " not possible due to a credit bock.  Even though the delivery is released why it is again doing the credit check.  How to over come this issue.
    Thanks,
    Sreehari.

    Hi Ravi,
    While creating the delivery if we enter both the delivery and picking quantity then it is throwing the error message, now it is being released with VKM5 transaction.  In this case there is no second time credit check is happeing while doing PGI.
    In case while creating the delivey if we enter only the delivery quantity (not entering pick qty) and save the delivery then also it is shows the delivery is blocking due to credit check.  But after releasing it with VKM5, when we enter the pick quantity in the delivery (to do PGI) it again throwing the error message of credit block.  The credit check is happening again in picking.
    Please let me know how to resolve the issue.
    Thanks,
    Sreehari.

  • Good issue from delivery not possible due to credit block

    Hi gurus,
    Please help me on this issue.while doing PGI for the delivery i am getting the following error message."Good issue from delivery not possible due to credit block "The simple credit check is assigned for the sales document type.iam doing free of charge delivery.
    What are all the possible ways to get such error
    Regards
    Vis

    but system behavior is not set in transaction OVA8, means combination of risk categories and 03 is not set.
    I think you are checking the wrong risk category, please check once again the Risk category of the payer in FD32, what is it assigned and also check OVA8 with this risk category.
    If you find the above settings are correct as per your observation, try to create a fresh cycle so that you will get the correct results as per your settings in delivery.
    In your case what you are saying is correct, may be the risk category is changed recently this you can check the change log of the payer customer in FD32( if any change takes place).
    If possible try to past the screen shot of both.
    thanks,
    srinu.

  • Activation is not possible due to warnings (Partner Assignment)

    Hi,
    While activating a contract getting an error "Activation is not possible due to warnings (Partner Assignment)"
    Thanks and Regards
    Srihari

    Hi all
    Just had an upgrade and I am experiencing the same problem: Message no. RECN027
    Activation is not possible due to warnings (Partner Assignment) when trying to activate the Contract in RECN.
    Where in the Business Partner do I change the validation of the partner please
    Thanks in advance
    Gavin

  • Usage tracking problem : not started due to non-existent Usage Tracking tab

    Hello,
    I need some help after following the necessary steps to setup 'Usage Tracking'.
    My table S_NQ_ACCT stays empty.
    The structure in the rpd files looks like
    * OBI Usage Tracking
    Connection Pool
    Usage Tracking Writer Connection Pool
    Catalog
    dbo
    S_NQ_ACCT
    My nqsconfig has the following entries related to usage tracking
    # Usage Tracking Section
    # Collect usage statistics on each logical query submitted to the
    # server.
    [ USAGE_TRACKING ]
    ENABLE = YES;
    DIRECT_INSERT = YES;
    PHYSICAL_TABLE_NAME = "OBI Usage Tracking"."Catalog"."dbo"."S_NQ_ACCT";
    CONNECTION_POOL = "OBI Usage Tracking"."Usage Tracking Writer Connection Pool" ;
    BUFFER_SIZE = 10 MB ;
    BUFFER_TIME_LIMIT_SECONDS = 5 ;
    NUM_INSERT_THREADS = 5 ;
    MAX_INSERTS_PER_TRANSACTION = 1 ;
    When making queries on the Usage Tracking SA, I still receive the following error in the NQServer.log File
    +[59049] Usage Tracking not started due to non-existent Usage Tracking table "<Database>"."<Catalog>"."<Schema>"."<Table>".+
    What am I doing wrong??
    Txs for your quick help on this!
    Kr,
    A.

    Can you post your entire NQSConfig.INI file?
    According to the message guide (http://download.oracle.com/docs/cd/E12103_01/books/AnyMsg/AnyMsg_Messages.html#wp1007961) the error you're getting specifies the table that OBIEE is trying to use, so the fact that yours reports literally "<Database>"."<Catalog>"."<Schema>"."<Table>" makes me think maybe the wrong config is being picked up. Also your comment that using a file instead of DB doesn't work either.

  • Bought a new iPhone 4S which I cannot connect to the internet, mobile data network activation is not possible!

    I recently bought a new iPhone 4S in Singapore and found out that I cannot connect the iPhone to the internet over my mobile 3G connection.
    The telephone function is working fine as well as wifi; just connecting to the internet through my simcard is not possible.
    I hav another existing iPhone 4S, and in this iPhone the mobile internet connection 3G is working perfectly!
    I discoverd 1 difference between the two iPhones:
    On the new iPhone if I look at
    Settings / General / About / Carrier : the text "Orange UK 13.0" is displayed
    On my existing it says: "T-Mobile Nl 13.1

    Sorry, but I think you were ripped off.  There is no way a "new" iphone came out of the box provisioned for a carrier in a completely foreign network and country.  And Orange phones are sold locked to Orange, so if it is working with your T-Mobile SIM, it has to have been hacked.  That would be like me here buying a new iPhone and discoverying it was showing some carrier in Austrlia - just completely beyond reasonable explanation.
    If you try and restore, I'd bet money it relocks to Orange and won't accept your SIM at all.
    You can try wiping out all network settings and setting things up fresh (maybe do that with the SIM out, then see if it reads the settings correctly from the SIM).
    Settings - . General -> Reset -> Reset network Settings

  • Year end close not possible due to negative values in AUC

    When I raun the transaction AJAB I am getting an error -Depreciation /update of values has errors for AUC 4000253 . Further analysis of the problem:
    Diagnosis
    +The depreciation values for asset 000004000253-0000 in company code 9000 were not calculated completely and correctly.+  
    System Response
    The year-end closing cannot be carried out for company code 9000.
    Procedure
    Recalculate depreciation for the asset.
    You can recalculate depreciation in the 'Change asset master record' transaction by choosing the menu option 'Edit' -> 'Recalculate values.'
    The system then either completely recalculates depreciation for this asset, or provides a detailed error message explaining the error.
    I have done everything possible as per this error analysis but its not working. Kindly note that the AUC was previously settled from an internal order but during the course of the year, internal orders were discontinued and we now use PS/IM.
    Please help!!!

    Hi,
    For detail click on the this link:
    Re: Credit to AuC
    This will solve your problem.
    Regards
    Javed

  • Plant change in Sales Order not possible due to Sales Order BOM

    Hi all,
    we are trying to change the Delivery Plant in a Sales Order after the creation of a Sales Order BOM, but it gives a V1773 message first, then a blocking error V1810. The same happens with a Production Order.
    How can we change the Delivery Plant after the creation of one of these objects?
    Our scenario:
    - Make To Order
    - Sales Order BOM created with transaction CS61
    - Sales Order Routing created with transaction CA01
    We need to create the Sales Order BOM on the Production Plant (which doesn't change), but we need to be able to change the Delivery Plant in any time.
    Should you have further questions, feel free to ask.
    Thanks in advance,
    Giuseppe

    Hello Caselli,
    For V1773, please check the solution provided by note 588884, which is a modification. With this note it turns possible to delete all multi-level sales order BOM using transaction CSKB, which may be useful.
    The behavior mentioned by you is the standard behavior of the system. The scenario works as designed, a plant change is only possible as long as there is no other document assigned to the sales order.
    Longtext of V1 810 says:
    The plant can no longer be changed in the following situations:
        2. There is a production order for the order item but it is not a static assembly order.
    Your scenario seems to be point 2 as mentioned above. You can check the requirement type (VBAP-BEDAE) and requirement class in OVZH and assembly type (MNTGA) in OVZG.
    If you change the plant for the items with existing production orders, it will cause the incorrect values in the COPA. An order item is assigned to plant A and the corresponding production order exits. This
    means that the costs are assigned to plant A (this is the place where the costs accrue). Order and production order will be balanced at plant A.
    If you now, after the process has already started, should allow to change the order to plant B the following examples of problems will come up:
    - The costs accrued in plant A (see production order)
    - The SD order is now assigned to plant B, this means billing will be with plant B
    This leads to the fact the costs are on plant A, plant B has a benefit. Plant A cannot settle the costs and plant B has unexpected earnings. Inconsistencies in all involved process steps, SD, CO, COPA are the results.
    If you want to change the plant in the sales order you'll have to perform these steps:
    = Delete the production order.
    = Change the plant of the sales order item from A to C.
      This should be possible unless there are other documents which are already assigned to this sales    order item. Save.
    = Create a new production order and assign it to the sales order item again.
    I hope I am able to help you with this information.
    Best Regards,
    Bhavin Joshi

Maybe you are looking for