BAPI_SALESORDER_CHANGE - change the Payer at header level

Could someone look thru the following and tell me why i am getting an express message when i try to change the Payer.
The BAPI worked fine before I introduced the Payer change.
Any help appreciated........
-->when i changed teh item number to 000010 it says i am missing parameters but when i change it to 000000 i get the express document even though it says that the doc has changed <-
        LS_PARTNR     TYPE BAPIPARNR,
        LS_PARTRC   TYPE BAPIPARNRC,
        LT_PARTNR TYPE TABLE OF BAPIPARNR WITH HEADER LINE,
        LT_PARTRC   TYPE TABLE OF  BAPIPARNRC WITH HEADER LINE,
  LS_PARTNR-PARTN_ROLE = 'RG'.
  LS_PARTNR-PARTN_NUMB = '1000000322'.
  LS_PARTNR-ITM_NUMBER = '000000'.
  APPEND LS_PARTNR TO LT_PARTNR.
  CLEAR LS_PARTRC.
  MOVE US_VBELN TO LS_PARTRC-DOCUMENT.
  MOVE '000000' TO LS_PARTRC-ITM_NUMBER.
  MOVE 'U' TO LS_PARTRC-UPDATEFLAG.
  MOVE 'RG' TO LS_PARTRC-PARTN_ROLE.
  MOVE '1000000570' TO LS_PARTRC-P_NUMB_OLD.
  MOVE '1000000322' TO LS_PARTRC-P_NUMB_NEW.
  APPEND LS_PARTRC TO LT_PARTRC.
  CLEAR LS_PARTNR.
  CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
      SALESDOCUMENT    = US_VBELN
      ORDER_HEADER_IN  = LS_HEADER
      ORDER_HEADER_INX = LS_HEADERX
    TABLES
      RETURN           = LT_RETURN
      ORDER_ITEM_IN    = LT_ITEM
      ORDER_ITEM_INX   = LT_ITEMX
      PARTNERS         = LT_PARTNR
      PARTNERCHANGES   = LT_PARTRC.
Edited by: Ed Morrissey on Feb 1, 2008 3:05 PM

Thanks. I tried that but i can't delete the old payer and insert a new one. (cant do it in 'real time' either due to config0
But was an excellent suggestion.
I have spent more time on this and still have not found the answer although i have come across others on the web who have had the same problem.
Any other suggestions.......
Any body know why I may be receiving an express document when it tries to save the order ?.........

Similar Messages

  • Complete delivery indicator in the sales order header level

    my order quantity is 10 and having the complete delivery indicator in the header level
    Complete delivery indicator in the sales order header level
    when i am doing the partial delivery i got below error
    Delivery quantity is less than quantity of 10 PC assigned to batches
    this is warehouse linked.
    Please let us know how to do the partial delivery.
    when i click on the bacth icon to reduce the quantity it is greayed out.
    is there any posiblity to reduce the quantity in the transfer order
    Please do the needfull
    thanks
    Raju.

    Hi
    Usually this Complete delivery indicator flow from Customer master data. you need to change this data in Customer Master
    Sales Area Tab under Shipping view Remove the Complete delivery indicator, also in Partial delivery per item keep the field Blank ( Partial deliveries allowed )
    I hope this will solve your issue
    Award if useful to you

  • Changing the payer in sales order other then BDC, LSMW

    Hi Friends,
    We are working at BHEL,
    here we want to change the payer instead of old payer for all open sales orders is , is there any possibility to change the payer in sales order other then LSMW , BDC , those two are not helpful for us  because there is lot of incompleteness logs in my incomplete procedure,
    please suggest me to proceed further,
    regards,
    Gangi Reddy.

    Hi Gangi,
    I have explained the CATT procedure, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
    Have a look and let me know if you have further doubts.
    Rewards if helps.
    Regards
    Nadarajah Pratheb

  • How can I have the pricing conditions at the item and header level of the d

    How can I have the pricing conditions at the item and header level of the delivery? There exist "condition" tabs both the header and the item level of the delivery but the contents of the tabs are empty. I'll be happy if you can help me. Thanks in advance....

    Hi
    If you want to have the pricing procedure at delivery level then you need to assign a pricing procedure at delivery level also
    Just go through the path to maintain the pricing procedure at delivery level.
    IMG -> Logistics execution -> Shipping -> Basic Shipping Functions -> Pricing -> Pricing Procedure. for Delivery.
    But can you be more clear if the above one is not your query ?
    Regards
    Srinath

  • Can any one tell me how to change the current row header in FB1LN tcode

    Hi,
    can any one tell me how to change the current row header in FB1LN tcode.
    I want to show input date also in the layout.
    Regards
    Mave

    Hi
    I know two ways:
    - transaction obvu: here you can insert new fields, but only if these fields are included in certain table (like BKPF, BSEG, BSIS.....
    - if your field isn't included in those table, you have to modify the structure RFPOS and manage it in the BTE 1650. After updating RFPOS you have to run the program RFPOSXEXTEND to update the structure RFPOSXEXT.
    Max

  • Can we change the  payer details in invoice

    hi gurus
    can we change the  payer details in invoice??
    points awarded
    kishore

    Hi Kishore,
    No, we cannot change the Payer in Invoice.because who ever the payer maintained in the sold to party that will appears here.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Migo is not showing the excise tab - header level and item level

    Hi,
    i have created one PO with excise and i have created MIGO with only capture excise invoice, in MIGO before saving the document system is showing the excise basic, cess and higher education cess in excise tab, header level as well as item level. After saving the document, if i go to dispaly view of the MIGO document system is not showing the header level as well as item level excise amount. The tab itself is not appearing. Can any one help me on this.

    Hi,
    There are two kinds of statuses, system status and user status.
    You can only influence System status if you execute a business transaction that changes the system status.there
    are four system statuses open, In process,Released and Completed.
    User status can be created as additional information to the system status in any numbers.But for this you
    need to define a status profile which would further be assigned to transaction type(header status) and
    item categories(item status).
    The header status is independent of the item status. One exception is the status Completed.
    If all items have the status Completed, the header status is also set to Completed.
    For defining a status profile you need to go to
    SPRO>Customer Relationship Management>Transactions>Basic settings>Status Management.
    Hope this helps.
    Regards
    Sidd

  • Change in partner at header level not getting copied to item level

    Hello,
    I would really appreciate any help from the forum on the below query.
    How is it possible that a change in the Employee Responsible(Standard Partner Function) at the header level is not triggering a change in the item level?
    Thanks,
    Sahil

    Hi Sahil,
    Please look into below note.
    It may hint you something.
    1008458
    Rgds
    Hari

  • Changes in conditions at header level in Scheduling Agreement

    Dear experts,
    I would like  to change condition for duty at header level.when i did through ME32l,system is showing these conditions in Grey field.I want to over write the condition value with new one.
    Please suggest me how to do this.
    Thanks in advance
    MK

    Hi MK,
    While condition customizing in "chnages can be made" manual entries if you select manual entry has priority "c" then only you can overwrite the condition value
    but for selection "B" you will not be able to overwrite because this value is flowing auto from conition record
    If you think logically if you are maintaining condition record and condition value is flowing auto why system should allow you to change instead you can change the condition record from where the value is flowing
    And if you want that value to be always overwritten make "c" as priority
    Hope this clears your doubt
    BR
    Diwakar
    reward if useful

  • IsSchemaValid does chang the xml-encoding header from UTF-8 to WINDOWS-1252

    I found the following effect:
    isSchemaValid does changing the encoding - entry of the xml-file-header
    generating xml-file by using DBMS_XMLGEN :
    xmldoc := DBMS_XMLGEN.getXML(ctx);
    with the header of the file is
    <?xml version="1.0" encoding="UTF-8"?>
    change the xmldoc to a xmlType
    and validate it against the schema
    xmldoc_xmlType:=(xmltype(xmldoc)) ;
    xmldoc_xmlType.isSchemaValid ( bSchemalocation)
    after this the header of the file is
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    my DB:
    R11_2_0_2 / Windows 64
    the same in
    R11_2_0_1 / Windows 32
    select name, value from v$parameter where upper(name) like '%NLS%'
    nls_calendar     
    nls_comp          BINARY
    nls_currency     
    nls_date_format     
    nls_date_language     
    nls_dual_currency     
    nls_iso_currency     
    nls_language          AMERICAN
    nls_length_semantics     BYTE
    nls_nchar_conv_excp     FALSE
    nls_numeric_characters     
    nls_sort     
    nls_territory          AMERICA
    nls_time_format     
    nls_timestamp_format     
    nls_timestamp_tz_format     
    nls_time_tz_format     
    register my schema by:
    dbms_xmlschema.registerSchema(
    schemaurl => vschemaurl,
    schemadoc => xsd_file,
    local      => FALSE,      
    gentypes      => TRUE,      
    genbean      => FALSE,      
    gentables      => TRUE,      
    force      => FALSE,
    owner      => dbuser
    ,CSID      => nls_charset_id('AL32UTF8')
    How can I let or change back the xml-encoding entry to UTF-8 ?
    regards

    Your solution should not be relied upon...
    C:\Temp>sqlplus /nolog @t1 %CD%
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Mar 4 09:41:32 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> spool testcase.log
    SQL> --
    SQL> connect sys/oracle as sysdba
    Connected.
    SQL> --
    SQL> set define on
    SQL> set timing on
    SQL> --
    SQL> def XMLDIR = &1
    SQL> --
    SQL> def USERNAME = XDBTEST
    SQL> --
    SQL> def PASSWORD = &USERNAME
    SQL> --
    SQL> def USER_TABLESPACE = USERS
    SQL> --
    SQL> def TEMP_TABLESPACE = TEMP
    SQL> --
    SQL> drop user &USERNAME cascade
      2  /
    old   1: drop user &USERNAME cascade
    new   1: drop user XDBTEST cascade
    User dropped.
    Elapsed: 00:00:00.24
    SQL> grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
      2  /
    old   1: grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
    new   1: grant create any directory, drop any directory, connect, resource, alter session, create view to XDBTEST identified by XDBTEST
    Grant succeeded.
    Elapsed: 00:00:00.07
    SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
      2  /
    old   1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
    new   1: alter user XDBTEST default tablespace USERS temporary tablespace TEMP
    User altered.
    Elapsed: 00:00:00.00
    SQL> set long 100000 pages 0 lines 256 trimspool on timing on
    SQL> --
    SQL> connect &USERNAME/&PASSWORD
    Connected.
    SQL> --
    SQL> create or replace directory XMLDIR as '&XMLDIR'
      2  /
    old   1: create or replace directory XMLDIR as '&XMLDIR'
    new   1: create or replace directory XMLDIR as 'C:\Temp'
    Directory created.
    Elapsed: 00:00:00.00
    SQL> create table XML_DEFAULT of XMLTYPE
      2  /
    Table created.
    Elapsed: 00:00:00.11
    SQL> create table XML_CLOB of XMLTYPE
      2  XMLTYPE store as CLOB
      3  /
    Table created.
    Elapsed: 00:00:00.01
    SQL> select *
      2    from nls_database_parameters
      3   where parameter in ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET')
      4  /
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CHARACTERSET               AL32UTF8
    Elapsed: 00:00:00.02
    SQL> declare
      2    XML_DEFAULT XMLType := xmltype('<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>') ;
      3    XML_CLOB    XMLType := xmltype('<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>') ;
      4  begin
      5    delete XML_DEFAULT;
      6    delete XML_CLOB;
      7    insert into XML_DEFAULT values (XML_DEFAULT);
      8    dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT.xml');
      9    IF  XML_DEFAULT.isSchemaValid ( 'SCHEMALOCATION_DOES_NO_MATTER_FOR_TEST_CASE.XSD', 'SCHEMA_NO_MATTER') = 1 THEN  null; ELSE  null; END IF;
    10    commit;
    11    dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT_IS_VALID.xml',nls_charset_id('WE8MSWIN1252'));
    12    dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT_WIN1252.xml');
    13    insert into XML_CLOB values (XML_CLOB);
    14    dbms_xslprocessor.clob2file( XML_CLOB.getclobval() , 'XMLDIR','XML_CLOB.xml');
    15    commit;
    16  end ;
    17  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.27
    SQL> --
    SQL> host type XML_DEFAULT.xml
    <?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>
    SQL> --
    SQL> host type XML_DEFAULT_IS_VALID.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <TEST>SELECT</TEST>
    SQL> --
    SQL> host type XML_DEFAULT_WIN1252.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <TEST>SELECT</TEST>
    SQL> --
    SQL> host type XML_CLOB.xml
    <?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>
    SQL> --
    SQL>First, the character set changes because isSchemaValid() causes the document to be parsed and converted to the internal database character set, as does storing it in a table.
    It appear that your solution works in SQL because the semantics of SQL are such that it causes a 'copy' of the XMLType to take place before running the isSchemaValid() processing, were we to optimize away that copy as a result of a patch or performance optimization project then you solution would break...
    If you want the output in a particular character set you should force that using XMLSerialize or getBlobVal(charsetid). Unfortunately we don't have a convience method for writing BLOBS on DBMS_XSLPROCESSOR...

  • Why is it so problematic changing the amount of header columns/rows in Numbers?

    When I set up a new spreadsheet I often make many changes to header rows and columns until I get a layout ironout and suitable for my task. Heck I even transpose from column headins to row headins sometimes. Yet everytime I reduce say column headings it always deletes the information in the column I didn't want it to. Even when I have a blank column. Is there any way to select columns then change column headers item in the inspector or something? Well obviously I tried the former and the answer is "no", leaving "something" ;-)
    This is a hopeful question for workarounds/methods/education before I place a feature request to polish this functionality with some no-nosense inetligence.

    Put your feature request in.
    The current state of affairs is:
    You may convert the topmost non-header row to a header row, to a maximum of five. Doing so will not affect the content of the cells in the row (but may change format attributes such as bold and alignment).
    You may add a header row above or below an existing header row, to a maximum of five in total, using the appropriate menu items in the popup menu in the header row's reference tab, or by pressing option-up arrow or or option-down arrow. Cells in the new header row will be empty. Any formulas referencing cells in the original header row will be adjusted as necessary.
    You may add header rows above the first row of the table by choosing a number larger that the (checked) existing number of header rows in the sub menu of the Tables menu item Header Rows. Cells in the added rows will be empty.
    Converting header rows to non-header rows is not supported.
    The top header row(s) may be removed by choosing a number smaller than the (checked) existing number of header rows in the sub menu of the Tables menu item Header Rows.
    Any Header row(s) or regular row(s) may be removed by selecting the row(s) (or a cell in the row(s)) and choosing Delete Row(s) from the Table menu.
    The content of cells in the row(s) is deleted with the rows. Formulas referencing cells above or below the deleted rows will be adjusted, theose referencing cells in the deleted rows will return error message.
    Support for converting, adding and removing Header columns follows the same pattern as above, with left and right respectively replacing above and below.
    Footer rows may be added or removed following the same patterns as above, with below and above respectively replacing above and below.
    Converting to or from Footer rows is not supported in either direction.
    Regards,
    Barry

  • BAPI_SALESORDER_SIMULATE How to get the conditions on header level?

    Hi,
    is it possible to get the pricing conditions on header level (sales order) with the Bapi BAPI_SALESORDER_SIMULATE?
    We only found the information on item level?
    Thanks a lot.

    hope its possible,
    If don't specify any item no for condition type in bapi, then it will be consider as header condition.
    make sure condition should be header condition.
    hope it will work.
    Regards,
    Marreddy

  • How can i change the color of  header in ouput list of alv?

    My output list heading is 'LIST OF COST CENTERS DATA' How can i change the color of that.
    I was searched in forum but i didn't get.if it is silly question please forgive me.

    we can change the header text color, by using the html font tag.
    < htmlb :tableView id               = "flights"
                                 table            = "<%= controller->it_flight %>"
                                 headerText       = "<font color='red'>Flight Details</font>"  <----are you talking abt this
                                 headerVisible    = "True"
                                 hasLeadSelection = "FALSE"
                                 footerVisible    = "FALSE"
                                 visibleFirstRow  = "1"
                                 onRowSelection   = "onRowSelection"
                                 iterator         = "<%= controller %>"
                                 selectedRowIndex = "<%= controller->row %>"
                                 width            = "100%"
                                 design           = "ALTERNATING" >

  • Changing the OverView Page Heading in Web UI

    Hello Gurus ,
    We have a requirement to change the Heading of an Overview Page .
    For example we would like to change the heading "Corporate Account" to say " Partner Company" . Can any one guide us regarding the same .
    Your Inputs are higly apreciated.
    Regards
    Shaik

    Hi,
    For Accounts, the heading is coming from the component-BP_HEAD,Window-BP_HEAD/MainWindow impl class-CL_BP_HEAD_MAINWINDOW_IMPL, method-IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION.
    So you need to somehow redefine this method in your enhanced component and change the following lines:
    description = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BP/CORPORATEACCOUNT' ).
    You need to define your own alias in SOTR_EDIT transaction and use them here.
    Hope it gives you some pointers to start with!
    Please award points if helpful!
    Regards,
    Rohit

  • Changing the Height of Top Level Navigation

    How do I change the height of the Top Level Navigation?  I went into the framework page I am using, and then opened the Top Level Navigation iView, and changed the Fixed Height to "100" pixels while leaving the Height Type as "Fixed", but this had no affect.
    I am using just one level of TLN, and trying to increase the height of that one level so it is easier to see in the page.
    Thanks,
    Owen

    I have already downloaded the PAR file and customized it, and am using it in my custom portal framework.  Which part of the code do you recommend I modify?  There is the portalapp.xml file, which specifies the height as 45 pixels, but this is just the default size, which should be overridden by the value I specify in the iview, right?
    As far as the theme editor, that doesn't help me.  I have to increase the size of the top level navigation, not just change the font.
    Thanks,
    Owen

Maybe you are looking for

  • Getting files transferred from my PC to MacBook Pro

    I have a fairly new PC and bought a MacBook Pro because I'm returning to school end of august.  I have lots of files on my PC that I would love to use on my laptop.  How can I connect both and access and copy these files to my laptop?  Both have wi-f

  • Deciding when to use "final" in method signatures

    Please consider this source code: public void foo(final Set<String> set) { ... }People who use this class don't need to know that the "set" reference is "final", right? Edited by: dpxqb on Apr 30, 2010 3:28 AM

  • Weblogic portal page flow issue

    Hi, We are working with portal development using legacy product. This runs on weblogic portal 8.1 SP 4. Part of the project, we have to provide user management. We are planning to use the java page flow offered by weblogic. When we create a new appli

  • MPEG Streamclip 1.5

    MPEG Streamclip is a high-quality converter for MPEG files and transport streams. MPEG2 conversions require the $20 Apple MPEG-2 Playback Component. http://www.alfanet.it/squared5/mpegstreamclip.html http://www.apple.com/quicktime/mpeg2/ New in this

  • "Hard coding" args in main?

    Hi! How do you "hard code" args in the main class? public class monitor {    String [] argv = "smtp.comcast.net","modernmovies","blackbox","[email protected]","10000"; What I have here doesnt work  :  ) Thanks!   public static void main(String [] arg