How to change shipment using Invoice no??

Hi experts,
I have to progrmatically change/update "Bill of lading" field in the shipment using data in the excel file.
Excel file will contain invoice numbers and data for Bill of lading.
Please provide me the solution or name of function module....
Thanks
Sameer

Hii Sameer
I guess you have to connect the tables (shipment & billing) to do the same.
You can connect billing to delivery by table VBFA and then from delivery to shipping again by the same table.
By this you can connect billing directly to shipment and do the changes.
You need to take help of some ABAPer to do the same.
Thanks & Regards
Gaurav Manocha

Similar Messages

  • HOW TO CHANGE THE USEFUL LIFE FOR MORE ASSETS AT A TIME FOR ASSET CLASS

    Hi All,
    Asset which is under Asset Class Support system-B700. Here every thing is ok but the problem in USE FULL LIFE which is come by default. It must be 4 instead of  5.   So can any body help me out from this how to change the Useful life in that Asset class.  In that Asset Class we have the morethan 200 Assets. It was happend in Prdocution system so now the problem is where i can change the useful life for the asset class either in DEV or PRD.
           Also i want to know the information of How these assets are Uploaded into the system (Lsmw or etc). this is very urgent for me.
    Thanks in Advance,
    Regards,
    Siva.

    Hi Ashok,
         Can i know the reason how it was happend. i mean instead of 4 years the system showing is 5yesrs any reason is there behind that.
    Thanks in Advance.

  • How to change salesman in invoicing after period closed.

    Hi,
    Can anybody tell me how to change the salesman in:
    sales order
    invoice (sd)
    invoice (FI doc)
    best regards,
    adnan abbasi

    Hi,
    Adnan,
    As we can change the sales person by manually, and it will reflects subsequent documents,
    If it is for one sales order we can do it manually but if you want to change sales man for No.of orders then we can use T-code  MASS for this.
    T code MASS
    Enter KNA1 table and execute
    select the table KNVP and execute it
    Enter the required selection criteria for which customers and sales area you need change sales person
    Select the icon select fields
    Choose required field Employee personal No.(Sales man) for which data has to change.
    Change the Employee name, save it
    it will effect to all the customers at a time.
    Regards
    Yuvaraj.:)

  • How to change workcenter using bdc

    hi,
      can any one help me that how to change Workcenter while creating production order.
    plz its urgent.
    plzzzzzz
    Gowri

    Gowri,
    Before calling BDC upload u have to do the validations,So put a logic for which Items u have to change WC.
    try to use any BAPI to overcome TC issue.
    Sample program here.
    data: str type c length 1,
    var type c length 30,
    cntr type i.
    data: begin of record,
    AUFNR(012),
    FLG_OVIEW(001),
    GLTRP(010),
    GSTRP(010),
    ARBPL(008),
    KTSCH(020),
    end of record.
    DATA: itab LIKE record OCCURS 1000 WITH HEADER LINE.
    PARAMETERS textfile LIKE rlgrap-filename DEFAULT
    'c:\prdord.txt'.
    End generated data section ***
    START-OF-SELECTION.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = textfile
    filetype = 'DAT'
    TABLES
    data_tab = itab
    EXCEPTIONS
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    WRITE:/ 'Upload From',textfile,'to itab is not successful'.
    EXIT.
    ENDIF.
    LOOP AT itab.
    IF sy-subrc <> 0. EXIT. ENDIF.
    perform bdc_dynpro using 'SAPLCOKO1' '0110'.
    perform bdc_field using 'BDC_CURSOR'
    'CAUFVD-AUFNR'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'CAUFVD-AUFNR'
    itab-AUFNR.
    perform bdc_field using 'R62CLORD-FLG_OVIEW'
    itab-FLG_OVIEW.
    perform bdc_dynpro using 'SAPLCOKO1' '0115'.
    perform bdc_field using 'BDC_OKCODE'
    '=TERM'.
    perform bdc_field using 'BDC_CURSOR'
    'CAUFVD-GSTRP'.
    perform bdc_field using 'CAUFVD-GLTRP'
    itab-GLTRP.
    perform bdc_field using 'CAUFVD-GSTRP'
    itab-GSTRP.
    perform bdc_dynpro using 'SAPLCOKO1' '0115'.
    perform bdc_field using 'BDC_OKCODE'
    '=VGUE'.
    perform bdc_field using 'BDC_CURSOR'
    'CAUFVD-GAMNG'.
    perform bdc_field using 'CAUFVD-GSTRP'
    itab-GSTRP.
    perform bdc_dynpro using 'SAPLCOVG' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'AFVGD-KTSCH'.
    Here is where i need to check whether the 'AFVGD-KTSCH'containing value 'SEWING' then the itab value should be placed in the below screen-field.
    perform bdc_field using 'BDC_CURSOR'
    'AFVGD-ARBPL(02)'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'AFVGD-ARBPL(02)'
    itab-ARBPL.
    perform bdc_dynpro using 'SAPLCOVG' '0100'.
    perform bdc_field using 'BDC_OKCODE'
    '=FREI'.
    perform bdc_field using 'BDC_CURSOR'
    'PSFC_DISP-AUFNR'.
    perform bdc_dynpro using 'SAPLSPO2' '0300'.
    perform bdc_field using 'BDC_OKCODE'
    '=OPT1'.
    perform bdc_dynpro using 'SAPLCOVG' '0100'.
    perform bdc_field using 'BDC_OKCODE'
    '=BU'.
    perform bdc_field using 'BDC_CURSOR'
    'PSFC_DISP-AUFNR'.
    CALL TRANSACTION 'CO02' USING bdcdata MODE 'A'.
    if sy-subrc eq 1001.
    write:/ ITAB-aufnr,ITAB-arbpl, ITAB-gstrp.
    write 'Not Updated'.
    else.
    write:/ ITAB-aufnr,ITAB-arbpl, ITAB-gstrp.
    write 'Updated Successfully'.
    endif.
    REFRESH bdcdata.
    *else.
    write 'Improper Text File Format'.
    *endif.
    endloop.

  • How to change EP used memory

    Hi all:
       We have EP 7 running on Aix.

    Hi all: 
       We have EP7 running on Aix system.
       I check in netweaver adminisator - System Management - Monitoring - Java System Reports . I found the Resource Consumption is
    3:09 PM
    AllocatedMemory MB MB     2048.0     2048.0
    AvailableMemory MB MB     2048.0     2048.0
    UsedMemory       MB MB     1252.0     1255.0
    However, my AIX server physical memory is 10G and only EP is running on it.
    I check the JVM parameters in System Information, I found
    java.max.heap.size     1024
    -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Dorg.xml.sax.driver=com.sap.engine.lib.xml.parser.SAXParser -Djco.jarm=1 -Xms1024m -verbose:gc
    -Dmemory.manager        2048M
    -Xgcpolicy:gencon        
    -Xj9      
    -Xjit:disableTailRecursion      
    -Xmn1000M      
    -Xms2048M      
    -Xmx2048M
    My questions is :
    1. is 2G memeory settings suitable for my 10G memory server ?
    2. How to change this 2G memeory settings to bigger size ?
    Thanks a lot.

  • How to change Pre-Payment invoice status (without applying)

    Hi,
    I have a paid pre-payment invoice. But i don't need to create standard invoice for it now.
    How do i change the Pre-Payment invoice status (without applying)? ......i.e. it should not be able to apply against any standard invoice.
    eg. maybe change status to 'Fully Applied'
    Thanks

    Closed due to non-response.

  • How to change pdTag, using nifWriteObject

    I've got an application that I wrote in CVI that will communicate with a Foundation Fieldbus device, and allows the user to read and edit values of parameters in some of the function blocks.
    Recently the need arose to change the device tag. How do I do this? I know it requires use of the nifWriteObject call, but everything I try resuls in a -2 error.
    I'm sure this can be done, as the Fieldbus Configurator software allows the user to change the tag, and I assume Configurator, uses the same API calls.
    Any suggestions will help.
    Thanks

    Actually there is a special library for NI-FBUS Comminmications Manager including additional API functions, which support "Set PdTag", "Set Address" and "Clear Device" as well as other powerful features.
    But it is not free, you can contact "[email protected]" for more information about this library.

  • How to change all used colors to 100% black

    It's probably a dead simple answer, but I can't find it.
    Here's the thing:
    In a product brochure I had to change all product drawings to 100% black.
    What I did was select all unused colors from the palette, deleted them. Then changed all the used colors into 100% black (drag Global black swatch onto the other swatches while holding Alt).
    In the printing office it appeared that there were still elements in the drawings that weren't in 100% black. Those elements had colors that weren't in a swatch in the color palette.
    How can I change ALL the used colors, including the ones that haven't been turned into a swatch in color palette, into 100% black?
    Thanks for any help!
    (Illustrator CS3 is what I'm working with)

    James,
    I am using CS3.
    It's a bit of a complicated story.
    I get the drawings supplied from my customer. The drawings are made in an Autocad-like program (I forgot its name), then imported into Autocad (because that first piece of software doesn't have the right export-extensions) and then from Autocad it's exported to Illustrator.
    The customer wanted to do the conversion to black themselves, because it would ease my work-load, since I wouldn't have to open and adjust all those drawings again when they have it open already.
    Only they are using CS2.
    I guess they'll just have to upgrade...

  • How to Change or Use Browser for WebDynPro In Ubuntu(Linux)???

    Dear Experts,
                      I want to know how to use webdynpro in Ubuntu(Linux) OS, when i select 'test' it shows Browser started in Status bar but browser is not open, but when i copy and paste the URL in address bar it opens, please help me how to use in Ubuntu.
    Best Regards,
    Kavin L

    This post helped me.
    https://code.google.com/p/chromium/issues/detail?id=147510
    Basically, the "Search in Google" extension is from Safari and it can be disabled in System Preferences.
    System Preferences -> Keyboard -> Keyboard Shortcuts -> Services -> Searching and unchecking "Search with Google"
    It worked for me and I also disabled a few other right-click options that I never use.

  • How to change icons using html codes.

    What are the html codes provided by apple to change its icons

    Without jailbreaking your device, you cannot do what you are asking. And no, per the Terms of Use, we can't discuss jailbreaking (which is a bad idea anyway, for a variety of reasons).

  • How to change 'dataprovider' using 'states'

    Hi All
    I have 2 arrays and a HorizontalList. I want to be able to switch between the arrays using states. The states and horizontal list look like
    <mx:Array id="arr1">
    </mx:Array>
    <mx:states>
       <mx:State name="state1">
          <mx:SetProperty name="dataprovider" target="{horizontalList}">
             <mx:value>
                arr1
             </mx:value>
          </mx:SetProperty>
       </mx:State>
       <mx:State name="state2">
          <mx:SetProperty name="dataprovider" target="{horizontalList}">
             <mx:value>
                arr2
             </mx:value>
          </mx:SetProperty>
       </mx:State>
    </mx:states>
    <mx:HorizontalList id="horizontalList"
      dataProvider="{arr1}"
    />
    This code doesn't work, the mx:Value is probably not what I need. Any suggestions how to fix this ?
    thnx
    Luca

    Hi Luca,
    Try the code below...
    Instead of  <mx:value>arr1</mx:value> assign the value in the SetProperty tag itself....as shown below
    <mx:SetProperty name="dataProvider" target="{horizontalList}" value="{arr1}">
    </mx:SetProperty>
    Also you have used the name of the property as dataprovider instead of dataProvider.(P should be uppercase)
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Array id="arr1">
      <mx:Object data='bar' label="bar1"/>
      <mx:Object data='bar' label="bar2"/>
      <mx:Object data='bar' label="bar3"/>
      <mx:Object data='bar' label="bar4"/>
      <mx:Object data='bar' label="bar5"/>
      <mx:Object data='bar' label="bar6"/>
    </mx:Array>
    <mx:Array id="arr2">
      <mx:Object data='bar' label="bar7"/>
      <mx:Object data='bar' label="bar8"/>
      <mx:Object data='bar' label="bar9"/>
      <mx:Object data='bar' label="bar10"/>
      <mx:Object data='bar' label="bar11"/>
      <mx:Object data='bar' label="bar12"/>
    </mx:Array>
    <mx:states>
        <mx:State name="state1">
           <mx:SetProperty name="dataProvider" target="{horizontalList}" value="{arr1}">
           </mx:SetProperty>
        </mx:State>
        <mx:State name="state2">
           <mx:SetProperty name="dataProvider" target="{horizontalList}" value="{arr2}">
           </mx:SetProperty>
        </mx:State>
    </mx:states>
    <mx:HorizontalList id="horizontalList"  dataProvider="{arr1}" labelField="label" height="100"/>
    <mx:HBox horizontalGap="5" top="200">
      <mx:Button id="btn1" label="Go to State1" click="this.currentState='state1'" />
      <mx:Button id="btn2" label="Go to State2" click="this.currentState='state2'" />
    </mx:HBox>
    </mx:Application>
    Thanks,
    Bhasker

  • How to change password using apple id

    i just bought a new Macbook pro and I can't change any preferences because it wants my password and I never set one.  Any thoughts on how to go about resetting a password without an old one?

    Just remember that will leave them with no way to update any apps that have been purchased under their mother's Apple ID.

  • How to change page using JS?

    Question in subject. Thanks in advance John.T

    Hey John,
    I've wrote these two to navigate through the pages more cleanly, perhaps they may be of use, although they falter with roman numerals and other non-numerical values for the page name, the frame work is there.
    //NEXT PAGE
    if (app.selection.length == 0){
    nextpage()}
    else{app.selection = null; nextpage();};
      function nextpage(){
         var myCurPage = app.activeWindow.activePage.name;
         myCurPage++
             var myNpage = app.activeDocument.pages.item(myCurPage+"")
                 try {app.activeWindow.activePage = myNpage;
                     myzoom();}
                 catch(myError){app.activeWindow.activePage = app.activeDocument.pages.item(0);
                     myzoom();
         function myzoom(){ 
         app.activeWindow.zoom(ZoomOptions.fitPage);
    //PREVIOUS PAGE
    if (app.selection.length == 0){
    previouspage()}
    else{app.selection = null; previouspage();};
    function previouspage(){
        var myCurPage = app.activeWindow.activePage.name;myCurPage--
            var myPpage = app.activeDocument.pages.item(myCurPage+"")
                try {app.activeWindow.activePage = myPpage;
                    myzoom();}
                catch(myError){
                    var LP = app.activeDocument.pages.length;LP--
                        app.activeWindow.activePage = app.activeDocument.pages.item(LP)
                            myzoom();
        function myzoom(){ 
        app.activeWindow.zoom(ZoomOptions.fitPage);
    ~mike

  • Any example on how to change address using ShippingGroupFormHandler

    Can anyone explain ShippingGroupFormHandler with simple example including binding it with order items and on submitting the page it should go to billing page.

    Hi Puthanampatti,
    Thanks for your quick response, the usecase i have is when a pl/sql proc generates the csv file in the utl/tmp directory in our database, and that file will get moved to the specific folder in app server.
    now that folder needs to be under the context root, so that we can pass a http link to the user and if he clicks on the link that file needs to get download automatically with the same authentication what we have given to the application.
    ADF version used: 10.1.3.5
    oracle iAS version: 10.1.3.4.0
    Database versoin: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    and also please guide us in which folder on the application server we need to move the files, so that whenever the user clicks on the link it should ask us the credentials. the security we used is LDAP authentication.
    thanks in advance.
    naga.

  • How to change the header and footer in the Section Breaks Next Page using OpenXML?

    I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page.
    Scenario of example, I have a doc file which has four pages with headers and footers and added fifth page in the section break next page, I want to change the header and footer of the fifth page only. This is achievable manually by deselecting the Link to Previous
    button in the Word Application but I don't know how to change it using XML?
    My code that adds the new page in the section breaks is:
    class Program
    static void Main(string[] args)
    string path = @"C:\Riyaz\sample.docx";
    string strtxt = "Hello This is done by programmatically";
    OpenAndAddTextToWordDocument(path,strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    using (DocX document = DocX.Load(@"C:\Riyaz\sample.docx"))
    document.InsertSectionPageBreak();
    Paragraph p1 = document.InsertParagraph();
    p1.Append("This is new section");
    document.Save();
    Please help.

    Here is the sample for your reference:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using DocumentFormat.OpenXml;
    using DocumentFormat.OpenXml.Packaging;
    using DocumentFormat.OpenXml.Wordprocessing;
    namespace WordAddNewFooterHeader
    class Program
    static void Main(string[] args)
    string path = @"E:\Document\TestHeaderandfooter-Copy.docx";
    string strtxt = "OpenXML SDK";
    OpenAndAddTextToWordDocument(path, strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    // Open a WordprocessingDocument for editing using the filepath.
    WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(filepath, true);
    MainDocumentPart part = wordprocessingDocument.MainDocumentPart;
    Body body = part.Document.Body;
    //create a new footer Id=rIdf2
    FooterPart footerPart2 = part.AddNewPart<FooterPart>("rIdf2");
    GenerateFooterPartContent(footerPart2);
    //create a new header Id=rIdh2
    HeaderPart headerPart2 = part.AddNewPart<HeaderPart>("rIdh2");
    GenerateHeaderPartContent(headerPart2);
    //replace the attribute of SectionProperties to add new footer and header
    SectionProperties lxml = body.GetFirstChild<SectionProperties>();
    lxml.GetFirstChild<HeaderReference>().Remove();
    lxml.GetFirstChild<FooterReference>().Remove();
    HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rIdh2" };
    FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rIdf2" };
    lxml.Append(headerReference1);
    lxml.Append(footerReference1);
    //add the correlation of last Paragraph
    OpenXmlElement oxl = body.ChildElements.GetItem(body.ChildElements.Count - 2);
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    SectionProperties sectionProperties1 = new SectionProperties() { RsidR = oxl.GetAttribute("rsidR", oxl.NamespaceUri).Value };
    HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.HeaderParts.FirstOrDefault()) };
    FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.FooterParts.FirstOrDefault()) };
    PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
    PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
    Columns columns1 = new Columns() { Space = "720" };
    DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };
    sectionProperties1.Append(headerReference2);
    sectionProperties1.Append(footerReference2);
    sectionProperties1.Append(pageSize1);
    sectionProperties1.Append(pageMargin1);
    sectionProperties1.Append(columns1);
    sectionProperties1.Append(docGrid1);
    paragraphProperties1.Append(sectionProperties1);
    oxl.InsertAt<ParagraphProperties>(paragraphProperties1, 0);
    body.InsertBefore<Paragraph>(GenerateParagraph(txt, oxl.GetAttribute("rsidRDefault", oxl.NamespaceUri).Value), body.GetFirstChild<SectionProperties>());
    part.Document.Save();
    wordprocessingDocument.Close();
    //Generate new Paragraph
    public static Paragraph GenerateParagraph(string text, string rsidR)
    Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = rsidR };
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    Tabs tabs1 = new Tabs();
    TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 5583 };
    tabs1.Append(tabStop1);
    paragraphProperties1.Append(tabs1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = text;
    run1.Append(text1);
    Run run2 = new Run();
    TabChar tabChar1 = new TabChar();
    run2.Append(tabChar1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    paragraph1.Append(run2);
    return paragraph1;
    static void GenerateHeaderPartContent(HeaderPart hpart)
    Header header1 = new Header();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Header" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    header1.Append(paragraph1);
    hpart.Header = header1;
    static void GenerateFooterPartContent(FooterPart fpart)
    Footer footer1 = new Footer();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Footer" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    footer1.Append(paragraph1);
    fpart.Footer = footer1;
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Error while editing groups in Oracle Portal 3.0

    I get following error message when I try to add a user to a group: Unexpected Error in wwsec_app_group_mgr.edit_group - ORA-00001: unique constraint (PORTAL30.WWSEC_FLAT_UK) violated (WWC-41234) Unexpected error encountered in wwsec_api.add_user_to_l

  • I am unable to change my Country to UK. For some reason it keeps coming up that I am from canada??

    I am trying to buy the personal year plan but I am unable to as the price keeps coming up as dollars. When I went to look, I realised that I have been set to being from Canada and am unable to change it please help.

  • Session in JSF JSP page

    Hi All, I am using JSF JSP pages. One such page is login.jsp I have backing object backing_login On successful login, listUser.jsp page is displayed. In this page, I have a HTML --- Commons Hyperlink component as follows.   <tr>               <td hei

  • Blank thumbnails in Iphoto mobileme gallery  after snow leopard upgrade

    After upgrading to snow leopard, all the thumbnails for my different mobileme galleries are blank. iphoto 08. If I click on a blank thumbnail, I get a big ? I tried logging out and back in mobileme a few times, and also tried all the "rebuild" option

  • DHCP with manual address doesn't work

    My ISP has decided that they won't support static addresses for the DHCP servers anymore. I'd really like to keep static IP addresses, so I tried using the "DHCP with manual address." Unfortunately, it doesn't recognize my Router which is serving DHC