Price column is blank on GRPO upload through XML

Dear SDK Forum Members,
We are trying to upload GRPO transaction linked to PO through XML, all values import fine but for the Price.  The price column is blank.
Need your assistance on this.  The following is the sample XML file.
<?xml version="1.0" encoding="UTF-16" ?>
- <BOM>
- <BO>
- <AdmInfo>
  <Object>20</Object>
  <Version>2</Version>
  </AdmInfo>
- <Documents>
- <row>
  <DocNum>17</DocNum>
  <DocType>dDocument_Items</DocType>
  <HandWritten>tNO</HandWritten>
  <Printed>tNO</Printed>
  <DocDate>May 29 2008 7:29PM</DocDate>
  <DocDueDate>May 29 2008 12:00AM</DocDueDate>
  <CardCode>V1010</CardCode>
  <CardName>Far East Imports</CardName>
  <Address>300 Elm Street Suite 300 Los Gatos CA 988778 USA</Address>
  <DocCurrency>USD</DocCurrency>
  <DocRate>0.000000</DocRate>
  <DocTotal />
  <Reference1 />
  <Comments />
  <JournalMemo />
  <PaymentGroupCode>2</PaymentGroupCode>
  <DocTime />
  <SalesPersonCode>2</SalesPersonCode>
  <Confirmed>tYES</Confirmed>
  <ImportFileNum />
  <SummeryType>dNoSummary</SummeryType>
  <ContactPersonCode />
  <ShowSCN>tNO</ShowSCN>
  <Series>13</Series>
  <TaxDate />
  <PartialSupply>tYES</PartialSupply>
  <DocObjectCode>20</DocObjectCode>
  <DiscountPercent>0.000000</DiscountPercent>
  <RevisionPo>tNO</RevisionPo>
  <BlockDunning>tNO</BlockDunning>
  <Pick>tNO</Pick>
  <PaymentMethod />
  <PaymentBlock>tNO</PaymentBlock>
  <MaximumCashDiscount>tNO</MaximumCashDiscount>
  <WareHouseUpdateType>dwh_Stock</WareHouseUpdateType>
  <Rounding>tNO</Rounding>
  <DeferredTax>tNO</DeferredTax>
  <NumberOfInstallments>1</NumberOfInstallments>
  <ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>
  <DocumentsOwner>3</DocumentsOwner>
  <DocumentSubType>bod_None</DocumentSubType>
  <Address2 />
  <PayToCode />
  <UseShpdGoodsAct>tNO</UseShpdGoodsAct>
  <IsPayToBank>tNO</IsPayToBank>
  <DownPayment>0.000000</DownPayment>
  <LanguageCode>3</LanguageCode>
  <PickRemark />
  <SequenceModel />
  <UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
  <VatPercent>0.000000</VatPercent>
  </row>
  </Documents>
- <Document_Lines>
- <row>
  <LineNum>0</LineNum>
  <ItemCode>X0004</ItemCode>
  <ItemDescription />
  <Quantity>10</Quantity>
  <ShipDate />
  <Price>650.000000</Price>
  <PriceAfterVAT>650.000000</PriceAfterVAT>
  <Currency>USD</Currency>
  <Rate>0.000000</Rate>
  <DiscountPercent>0.000000</DiscountPercent>
  <VendorNum />
  <WarehouseCode>01</WarehouseCode>
  <SalesPersonCode>2</SalesPersonCode>
  <CommisionPercent />
  <TreeType>iNotATree</TreeType>
  <AccountCode>_SYS00000000019</AccountCode>
  <UseBaseUnits>tNO</UseBaseUnits>
  <SupplierCatNum />
  <CostingCode />
  <ProjectCode />
  <BarCode />
  <VatGroup />
  <Height1>0.000000</Height1>
  <Height2>0.000000</Height2>
  <Lengh1>0.000000</Lengh1>
  <Lengh2>0.000000</Lengh2>
  <Weight1>0.000000</Weight1>
  <Weight2>0.000000</Weight2>
  <Factor1>1.000000</Factor1>
  <Factor2>1.000000</Factor2>
  <Factor3>1.000000</Factor3>
  <Factor4>1.000000</Factor4>
  <BaseType>22</BaseType>
  <BaseEntry>17</BaseEntry>
  <BaseLine>0</BaseLine>
  <Volume>0.000000</Volume>
  <VolumeUnit />
  <Width1>0.000000</Width1>
  <Width2>0.000000</Width2>
  <Address />
  <TaxCode />
  <TaxType>tt_Yes</TaxType>
  <TaxLiable>tYES</TaxLiable>
  <ShippingMethod>3</ShippingMethod>
  <CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>
  <CorrInvAmountToStock>0.000000</CorrInvAmountToStock>
  <CorrInvAmountToDiffAcct>0.000000</CorrInvAmountToDiffAcct>
  <WTLiable>tNO</WTLiable>
  <DeferredTax>tNO</DeferredTax>
  <NetTaxAmount />
  <NetTaxAmountFC />
  <LineTotal />
  <TaxPercentagePerRow />
  <ConsumerSalesForecast>tNO</ConsumerSalesForecast>
  <ExciseAmount />
  <SWW />
  <DistributeExpense>tYES</DistributeExpense>
  <ShipToCode />
  <RowTotalFC />
  <TaxOnly>tNO</TaxOnly>
  <UnitPrice>650.000000</UnitPrice>
  <LineStatus>bost_Open</LineStatus>
  <LineType>dlt_Regular</LineType>
  <ChangeAssemlyBoMWarehouse />
  </row>
  </Document_Lines>
  </BO>
  </BOM>
Thanks
Suda

Hi Suda
nice to meet you. thx for your nice email.
what i would try in your xml is to remove linetotal - it's an empty tag.
generally i would try to remove all empty tags.
the next is that you use price, priceafvat, unitprice and they have the same value
but you don't set the taxcode.
maybe you should try your luck with setting only one price tag - start with price or unitprice.
i hope it's a bit helpful - this xml imports are always tricky.
lg David

Similar Messages

  • Uploaded through Bridge CC photos from my camera; went through the motions, not paying attention, bu

    Uploaded through Bridge CC photos from my camera; went through the motions, not paying attention, but it did NOT save 'em where I usually save 'em; how can I ask Brindge or just the Mac Finder the last files I downloaded & where I saved 'em too? Oh, yeah, it ERASED the photos from my camera. I basically just need to ask my Mac (OS 10.8) where I downloaded 'em to. Thanks!

    Uploaded through Bridge CC photos from my camera; went through the motions, not paying attention,
    I'm not sure I do follow this, what do you mean with motions? can you specify this?. I assume you used Photodownloader? BTW, Not paying attention is usually not the best way when importing images...
    but it did NOT save 'em where I usually save 'em; how can I ask Brindge or just the Mac Finder the last files I downloaded & where I saved 'em too?
    When you import files they are written to your disk and therefor no need for save them, the files are already at your disk or written to the location you choose as destination. You could select your computername in the navigation column and then use the list view and choose the column last modified but this is not always showing the correct result. You could also do a spotlight search (or use the free Easy Find you can download from Devon) and choose to search for the extension you have shot your files in (Raw, jpeg??) and then choose modification date to sort.
    There is not a log (at least not to my knowledge) that keeps track of all of your movements unless you have installed such application (don't know if there is one but I think there will be a thrid party or script written by someone). You could try Console (in the utilities folder) that holds your logs and reports but this is usually for crash or forced quit situations.
    Oh, yeah, it ERASED the photos from my camera. I basically just need to ask my Mac (OS 10.8) where I downloaded 'em to. Thanks!
    Well, this would mean you would have first select the option to do so in Photodownloader. While I use PDL on a daily base I always thought this option should not even be present to choose and you certainly should not use it to delete originals.
    Like Curt already stated you have to use the camera software for this with the card in the camera. Either delete but preferable format the card. Mind you, this should not be done before you are sure where your files are written to and after you have checked randomly to see if the previews have build correctly for the newly imported files. Then you should make a back up of those files and only then start thinking about erasing or formatting the card for new use.
    If you have not done very strange things (like choosing the card as destination but if so they might still be there- check finder in column mode- or wrote them to an external disk - where they also still should be) the files should be somewhere at your system. Just do an extensive search and if the files are really important check for recovering software for your card.
    And follow the steps described above for importing, sometimes we need to learn our lessons the hard way (and I have been there too...)

  • Unique ID during upload through WebADI integrator

    Hi All,
    Is there any unique ID generated for each upload through a custom Integrator (similar to fnd_global.conc_request_id for concurrent programs)?
    Thanks,
    Sumanth

    JE,
    Normally we use row id or integration id for this, we populate this value in the external id field (for the records created manually) so that we can do bulk update. My personal experience is row id's are more reliable than integration id's and it has always worked for me :) (my technical team also prefers to use the row id for WS as this value cannot be changed). What kind of linking problem did your people face by using row id?
    If you are looking for some other unique single value identifier, I dont think any other than row id, integration id and external unique id exists. Else you need to go with “On Demand predefined fields” option (First Name, Last Name, Email, Work Phone # for contact records).

  • After load test is completed, "90% Page Time", "95% Page Time" columns appear blank and "99% Page Time" column is not available.

    Hi,
    I am using visual studio 2013. After running a load test on my application, I need to view the "90% Page Time", "95% Page Time" and "99% Page Time" percentile data in tabular results view. But since I have started
    using visual studio 2013, these columns appear blank after load test execution is completed. Is there a specific configuration change is required to view data from these columns ?
    Please refer attached screen shot -
    Help much appreciated.
    Thanks,
    Rahul S.

    Hi Rahul S,
    To collect the data, in the Load Test Editor, under the Run Settings node, select the run setting node to change. In the
    Properties window, for the Timing Details Storage property, select
    All Individual Details.
    Best Regards,
    Jack
    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.

  • Alert message in javascript if drop down in 1 column is blank and other column is not blank

    What I’m trying to do is have a java window alert pop up if the PNR column is blank and the BOM column is not blank on each row. I also put a cold fusion If statement around this javascript that the CN_Entry column in the Items table has to be an “N”. This code all actually works, but it only works on the row with the latest or newest item with an “N” in the CN_Entry column. I would like this to work on every row, so that if someone does this on any row, or multiple rows, this alert box will keep popping up until all the conditions are satisfied. What do I need to change to make this javascript work? Thanks.
    <cfif CN_Entry EQ "N">
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function verify() {
    var themessage = "Please enter ";
    if (EditItem.PNR_Approval_Initials#ItemID#.selectedIndex == 0 && EditItem.BOM_Approval_Initials#ItemID#.selectedIndex > 0)
    alert("You must enter some PNR initials for ECO #ECID_SPEC# Part Number: #Part_Number#");
    EditItem.PNR_Approval_Initials#ItemID#.focus();
    return (false);
    else
    document.EditItem.submit();
    //  End -->
    </script>
    </cfif>
    Andy

    The first thing you have to do is to remove the ColdFusion conditional logic.  ColdFusion runs on the server.  JS runs on the client.
    The next thing is to call the function from an event that happens on the web page.  form onsubmit seems like a good choice.

  • Employee Photo Upload through binary data

    Hi all,
    I know the Provision for Photo upload through OAAD Tcode, I know FM to upload the photos by giving path as input data. my requirement is I have picture in the form of binary data . i want to upload that into PA30. I have return the following code. No Error but image is not displayed in PA30.Can u Please correct me?
    tables: toav0, toaom, twfdb, toapa.
    data: key like ojint-key,
          object like ojint-name,
          object_id like toav0-object_id,
          archiv_id like toav0-archiv_id,
          arc_doc_id like toav0-arc_doc_id,
          ablagedatum like sapb-sapabldate,
          ar_date like toav0-ar_date,
          del_date like toav0-del_date,
          sap_object like toaom-sap_object,
          ar_object like toaom-ar_object,
          expiry_tim like toaom-expiry_tim,
          method like ojint-method,
          return like ojint-return,
          parameter like ojint-parameter.
    data:begin of i_toav0 occurs 1.
            include structure toav0.
    data: end of i_toav0.
    data: begin of i_toaom occurs 1.
            include structure toaom.
    data: end of i_toaom.
    data: begin of fields occurs 1.
            include structure ojfields.
    data: end of fields.
    DATA:     filename1  TYPE string.
    Data: i_name TYPE STXBITMAPS-TDNAME value 'TEST',
    *  archiv_id like toav0-archiv_id,
    i_id TYPE STXBITMAPS-TDID VALUE 'BMAP',
    i_btype TYPE STXBITMAPS-TDBTYPE VALUE 'BCOL',
    l_bds_bytecnt TYPE i,
    FLENGTH TYPE SAPB-LENGTH,
    l_bds_content TYPE TABLE OF bapiconten,
    OUTDOC     LIKE     TOADT ,
    wa_l_bds_content TYPE  bapiconten.
    *DATA : BINARY TYPE STANDARD TABLE OF TBL1024,
    data : BINARY TYPE STANDARD TABLE OF TBL1024 WITH HEADER LINE,
    ARCHIVOBJECT type standard table of docs,
    archiv_doc_id like toav0-arc_doc_id,
    wa_binary type TBL1024.
    data:  lw_ar_object like toaom-ar_object,
          lw_object_id like sapb-sapobjid,
          lw_sap_object like toaom-sap_object,
          lw_doc_type like toadd-doc_type,
          lw_path like sapb-sappfad,"toav0-arc_doc_id
    *      archiv_doc_id like toav0-arc_doc_id,
          doc_type like toadt-doc_class.
    constants:  c_sap_object type toaom-sap_object value 'PREL',
                c_ar_object type toaom-ar_object value 'HRICOLFOTO',
                c_doc_type type toaom-doc_type value 'JPG'.
    PARAMETERS: filename(150) TYPE c OBLIGATORY.                               "Name of the File where source as  txt format
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
      PERFORM getfile.
    start-of-selection.
      filename1 = filename.
    key = '010001380002'.
      lw_ar_object = c_ar_object.
    *  lw_object_id = w_pernr_pass.
      lw_sap_object = c_sap_object.
      lw_doc_type = c_doc_type.
    *  lw_path = it_data-file_nam.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename = filename1
          filetype = 'BIN'
        TABLES
          data_tab = archivobject.
    * Object to be archived
          select single * from toaom where ar_object = c_ar_object and sap_object = c_sap_object.
          if sy-subrc <> 0.
            raise UPLOAD_ERROR.
          else.
    * Authority check with Archive id
            archiv_id = toaom-archiv_id.
            perform authority_check_create(oaall)
            using archiv_id object space ar_object space
            changing sy-subrc.
            if sy-subrc ne 0.
              raise UPLOAD_ERROR.
            else.
              if sy-subrc <> 0.
                raise UPLOAD_ERROR.
                clear toav0.
              else." Transfer key for archiving
                toav0-object_id = key.
                if key eq space.
                  Raise FUNCTION_ERROR.
                  clear toav0.
                else.
                  perform create_archive_object_new  .
                endif.
              endif.
            endif.
          endif.
    form create_archive_object_new .
    CALL FUNCTION 'ARCHIV_CREATE_TABLE'
        EXPORTING
          AR_OBJECT                      = lw_ar_object
    *   DEL_DATE                       =
          OBJECT_ID                      = '010001380002'
          SAP_OBJECT                     =  lw_sap_object
    *   FLENGTH                        = '2328'
       DOC_TYPE                       = lw_doc_type
    *   DOCUMENT                       =
    *   MANDT                          = SY-MANDT
    * IMPORTING
    *   OUTDOC                         =
       TABLES
       ARCHIVOBJECT                   =  ARCHIVOBJECT
    *     BINARCHIVOBJECT                = binary
    * EXCEPTIONS
    *   ERROR_ARCHIV                   = 1
    *   ERROR_COMMUNICATIONTABLE       = 2
    *   ERROR_CONNECTIONTABLE          = 3
    *   ERROR_KERNEL                   = 4
    *   ERROR_PARAMETER                = 5
    *   ERROR_USER_EXIT                = 6
    *   ERROR_MANDANT                  = 7
    *   OTHERS                         = 8
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      call function 'ARCHIVOBJECT_CREATE_TABLE'
        EXPORTING
          archiv_id                = archiv_id
          document_type            = lw_doc_type
    *      length                   = '2328'
        IMPORTING
          archiv_doc_id            = i_toav0-arc_doc_id
        TABLES
          archivobject             = archivobject
    *      binarchivobject          = BINARY
        EXCEPTIONS
          error_kernel             = 1
          error_communicationtable = 2
          error_archiv             = 3.
           move i_toav0 to toav0.
        toav0-sap_object = lw_sap_object.
        toav0-object_id = key.
        move archiv_id to toav0-archiv_id.
        move i_toav0-arc_doc_id to toav0-arc_doc_id.
        toav0-ar_object = lw_ar_object.
        move lw_doc_type to toav0-reserve.
        move lw_doc_type to doc_type.
        commit work.
      call function 'ARCHIV_CONNECTION_INSERT'
          exporting
            archiv_id                   = toav0-archiv_id
            arc_doc_id                  = toav0-arc_doc_id
            ar_date                     = ar_date
            ar_object                   = toav0-ar_object
    *     DEL_DATE                    = ' '
    *     MANDANT                     = ' '
            object_id                   = '010001380002'
            sap_object                  = toav0-sap_object
            doc_type                    = doc_type
    *        barcode                     = barcode
          exceptions
            error_connectiontable       = 1
            others                      = 2
    endform.
    FORM getfile .
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = ' '
          def_path         = '*.*'
          mask             = ''
          mode             = 'O'
          title            = ' SELECTING FILE FOR SOURCE PROGRAM'
        IMPORTING
          filename         = filename
        EXCEPTIONS
          selection_cancel = 3
          selection_error  = 4.

    Hi all,
    I know the Provision for Photo upload through OAAD Tcode, I know FM to upload the photos by giving path as input data. my requirement is I have picture in the form of binary data . i want to upload that into PA30. I have return the following code. No Error but image is not displayed in PA30.Can u Please correct me?
    tables: toav0, toaom, twfdb, toapa.
    data: key like ojint-key,
          object like ojint-name,
          object_id like toav0-object_id,
          archiv_id like toav0-archiv_id,
          arc_doc_id like toav0-arc_doc_id,
          ablagedatum like sapb-sapabldate,
          ar_date like toav0-ar_date,
          del_date like toav0-del_date,
          sap_object like toaom-sap_object,
          ar_object like toaom-ar_object,
          expiry_tim like toaom-expiry_tim,
          method like ojint-method,
          return like ojint-return,
          parameter like ojint-parameter.
    data:begin of i_toav0 occurs 1.
            include structure toav0.
    data: end of i_toav0.
    data: begin of i_toaom occurs 1.
            include structure toaom.
    data: end of i_toaom.
    data: begin of fields occurs 1.
            include structure ojfields.
    data: end of fields.
    DATA:     filename1  TYPE string.
    Data: i_name TYPE STXBITMAPS-TDNAME value 'TEST',
    *  archiv_id like toav0-archiv_id,
    i_id TYPE STXBITMAPS-TDID VALUE 'BMAP',
    i_btype TYPE STXBITMAPS-TDBTYPE VALUE 'BCOL',
    l_bds_bytecnt TYPE i,
    FLENGTH TYPE SAPB-LENGTH,
    l_bds_content TYPE TABLE OF bapiconten,
    OUTDOC     LIKE     TOADT ,
    wa_l_bds_content TYPE  bapiconten.
    *DATA : BINARY TYPE STANDARD TABLE OF TBL1024,
    data : BINARY TYPE STANDARD TABLE OF TBL1024 WITH HEADER LINE,
    ARCHIVOBJECT type standard table of docs,
    archiv_doc_id like toav0-arc_doc_id,
    wa_binary type TBL1024.
    data:  lw_ar_object like toaom-ar_object,
          lw_object_id like sapb-sapobjid,
          lw_sap_object like toaom-sap_object,
          lw_doc_type like toadd-doc_type,
          lw_path like sapb-sappfad,"toav0-arc_doc_id
    *      archiv_doc_id like toav0-arc_doc_id,
          doc_type like toadt-doc_class.
    constants:  c_sap_object type toaom-sap_object value 'PREL',
                c_ar_object type toaom-ar_object value 'HRICOLFOTO',
                c_doc_type type toaom-doc_type value 'JPG'.
    PARAMETERS: filename(150) TYPE c OBLIGATORY.                               "Name of the File where source as  txt format
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
      PERFORM getfile.
    start-of-selection.
      filename1 = filename.
    key = '010001380002'.
      lw_ar_object = c_ar_object.
    *  lw_object_id = w_pernr_pass.
      lw_sap_object = c_sap_object.
      lw_doc_type = c_doc_type.
    *  lw_path = it_data-file_nam.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename = filename1
          filetype = 'BIN'
        TABLES
          data_tab = archivobject.
    * Object to be archived
          select single * from toaom where ar_object = c_ar_object and sap_object = c_sap_object.
          if sy-subrc <> 0.
            raise UPLOAD_ERROR.
          else.
    * Authority check with Archive id
            archiv_id = toaom-archiv_id.
            perform authority_check_create(oaall)
            using archiv_id object space ar_object space
            changing sy-subrc.
            if sy-subrc ne 0.
              raise UPLOAD_ERROR.
            else.
              if sy-subrc <> 0.
                raise UPLOAD_ERROR.
                clear toav0.
              else." Transfer key for archiving
                toav0-object_id = key.
                if key eq space.
                  Raise FUNCTION_ERROR.
                  clear toav0.
                else.
                  perform create_archive_object_new  .
                endif.
              endif.
            endif.
          endif.
    form create_archive_object_new .
    CALL FUNCTION 'ARCHIV_CREATE_TABLE'
        EXPORTING
          AR_OBJECT                      = lw_ar_object
    *   DEL_DATE                       =
          OBJECT_ID                      = '010001380002'
          SAP_OBJECT                     =  lw_sap_object
    *   FLENGTH                        = '2328'
       DOC_TYPE                       = lw_doc_type
    *   DOCUMENT                       =
    *   MANDT                          = SY-MANDT
    * IMPORTING
    *   OUTDOC                         =
       TABLES
       ARCHIVOBJECT                   =  ARCHIVOBJECT
    *     BINARCHIVOBJECT                = binary
    * EXCEPTIONS
    *   ERROR_ARCHIV                   = 1
    *   ERROR_COMMUNICATIONTABLE       = 2
    *   ERROR_CONNECTIONTABLE          = 3
    *   ERROR_KERNEL                   = 4
    *   ERROR_PARAMETER                = 5
    *   ERROR_USER_EXIT                = 6
    *   ERROR_MANDANT                  = 7
    *   OTHERS                         = 8
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      call function 'ARCHIVOBJECT_CREATE_TABLE'
        EXPORTING
          archiv_id                = archiv_id
          document_type            = lw_doc_type
    *      length                   = '2328'
        IMPORTING
          archiv_doc_id            = i_toav0-arc_doc_id
        TABLES
          archivobject             = archivobject
    *      binarchivobject          = BINARY
        EXCEPTIONS
          error_kernel             = 1
          error_communicationtable = 2
          error_archiv             = 3.
           move i_toav0 to toav0.
        toav0-sap_object = lw_sap_object.
        toav0-object_id = key.
        move archiv_id to toav0-archiv_id.
        move i_toav0-arc_doc_id to toav0-arc_doc_id.
        toav0-ar_object = lw_ar_object.
        move lw_doc_type to toav0-reserve.
        move lw_doc_type to doc_type.
        commit work.
      call function 'ARCHIV_CONNECTION_INSERT'
          exporting
            archiv_id                   = toav0-archiv_id
            arc_doc_id                  = toav0-arc_doc_id
            ar_date                     = ar_date
            ar_object                   = toav0-ar_object
    *     DEL_DATE                    = ' '
    *     MANDANT                     = ' '
            object_id                   = '010001380002'
            sap_object                  = toav0-sap_object
            doc_type                    = doc_type
    *        barcode                     = barcode
          exceptions
            error_connectiontable       = 1
            others                      = 2
    endform.
    FORM getfile .
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = ' '
          def_path         = '*.*'
          mask             = ''
          mode             = 'O'
          title            = ' SELECTING FILE FOR SOURCE PROGRAM'
        IMPORTING
          filename         = filename
        EXCEPTIONS
          selection_cancel = 3
          selection_error  = 4.

  • How to change price determination form blank to 2 on the material master?

    Hi expert,
    I had a difficult problem:
    Material ledger is active in our company Normally, in material master data accounting view 1, we always set price determination 2 and price control V. Price determination 2 is set default if creating a material master by entering no price determination.
    Today, my Key user came accross a prblem: In our company, for batch processing of material master, we made a mistake that  price determination were set blank (neither 2 or 3, In MBEW table, field MLAST is blank) when inputting material master. all data were imported without error warnings. But ,acturally, all materials' price determination in accounting view 1 was set Blank! This is a big problem that we can not release standard price or do any other price changing~~~.
    I have used CKMM to try to change price determination. But it failed: it can not identify this situation because old price determination must be set a word rather than blank in CKMM.
    I don't know any other solutions to change price determination from Blank into 2.
    Hope you can help me out. Very thankful!

    Hello,
    I have the same problem with a type material, the material ledger is active but the price determination were set blank.
    I already checked the OMX1 transaction... and all configurations of ML and type material and apparently is ok.
    Has anyone knows the solution?
    (maybe with applying a program or SAP note).
    Please help.
    Regards,
    Eliana

  • How to change Price determination from blank to 2

    Hi expert,
         I had a difficult problem:
         Material ledger is active in our company Normally, in material master data accounting view 1, we always set price determination 2 and price control S.  Price determination 2 is set default if creating a material master by entering no price determination.
         Today, my Key user came accross a prblem: In our company, for batch processing of material master, we use a IDOC to process inputting material master fields including the price determination field. But, because absence of the key user, price determination were set blank (neither 2 or 3, In MBEW table, field MLAST is blank) when inputting material master. all data were imported without error warnings. But ,acturally, all materials' price determination in accounting view 1 was set Blank! This is a big problem that we can not release standard price or do any other price changing~~~.
         I have used CKMM to try to change price determination. But it failed: it can not identify this situation because old price determination must be set  a word rather than blank in CKMM.
          I don't know any other solutions to change price determination from Blank into 2.  Specially, some materials that had already lots of movements and prices changing.
         Hope you can help me out. Very thankful!

    Hi,
    Currently the materials are inconsistent and there is no way to repair them with the standard
    programs. The problem should be corrected by Sap Support. Please create a oss message
    providing a detailed description of the incidence and the remote connection to check the problem
    in the system.
    Sorry for not giving you a better alternative.
    Regards,
    MLM

  • How  business transation data,opening balances are uploaded through lsmw?

    hi,
         please tel me hoe to upload the open balances,business transation data of the vendor,customer and gl account through lsmw? along with that please explain the uploading theough bdc.........
       i am eagerly waiting for ur answer...............please let me know asap.
    with regards,
    prasad.

    Hi,
    As all the balances can be uploaded through FB01,Create a document type by for upload set all the transaction allowed in document type.
    Firstly create a LSMW for FB01 posting a document so that we will know what all the fields need to be captured.
    Then in the same format create a XL template with necessary required fields and fill the same with data.
    Asset master data also can be uploaded through FB01 by removing the reconcilation field in OAMK change the reconcilation control and upload the balance in FB01 and again in OAMK change the control to reconcilation.
    or through OASV also you can upload.
    Edited by: santosh kumar on Feb 2, 2012 10:42 AM

  • Unable to update DVM in MDS with upload through em

              Hello all
    I'm working on two environment : dev1 and dev2
    I'm able to deploy a MDS on dev1 by zipping all the content in a "metadata.zip" file and uploading it to the dev1 through entreprise manager console.
    When I do the same thing on dev2, it does not work.
    I use a directory structure for dev1 : then I zip it in metadata.zip + upload through em : I can see then the modifications through the soa composer.
    I use another directory structure for dev2 : then I zip it in another metadata.zip + upload through em : I cannot then see the modifications through the soa composer (but modifications are visible in the metadata database !).
    If you have any clues
    Thanks

    Another information :
    On the MBeans Browser, when I invoke the listSandboxes() operation on MDS I can see that there is one entry that is returned and which filename is composed of the filename that I want to update in the MDS. I mean :
    I want to update a file in apps/AIAMetaData/dvm/dvmstage001.dvm
    In the listSandboxes() returns I have one entry :
    weblogic_72apps72AIAMetaData72dvm72dvmstage001.dvm

  • Net Price column should be in grey Mode

    Hi All,
      I have one requirement. In ME21N Transaction the net price column should be in grey mode based on some vendors only. Those vendors will maintain in ZTable. If that vendor will give in ME21N then that line item netprice should be in grey mode.
    How can i achieve this?
    Please help me..
    Regards
    Nageswar.

    Hi Nageswar,
    Below simple configurations will help.
    SPRO->SAP Customizing Implementation Guide->Materials Management->Purchasing->Purchase Order-> Define Screen Layout at Document Level->Double click on ME21N row entry ->double click on Basic Data, Item -> Navigate to required Selection group.
    Regards
    Gangadhar

  • Problem of BOM components uploading through BAPI,for  the Network(CN01)

    Hello,Friends,
    Iam PP consultant and facing a problem of BOM components uploading through BAPI,for creating of the Network (CN21)
    we have 300 components in the network activity and while uploading the BOM through BAPI , only 295 components has been uploaded.Others components has not uploaded.
    Please suggest me what will be the Problem? and
    What is the solution for the same?
    Regards,
    MYS

    in customizing availability checked has been applied ,for this reason one additional screen is appearing in BAPI for all these components
    How this screen could be by passed

  • Flat file upload through BPS webinterface

    Hi ,
    I want to load a flat file ( format in CSV) through web upload  into a master data infoobject.
    that is i want to upload through BPS webinterface . (3.5 version)
    Is it possible to write everything in a BSP application without the help of Planning level or layout or functions.
    but only through webinterface and a BSP application and can abap coding be included in directly in .htm page.
    kindly help me out.

    Hi,
    I don't think so you 'll be able to write the abap code directly in htm page.Web interfaces are used for the purpose of creating and using user interface .It is no where linked to the logic or the activity that has to be performed using abap code directly.
    You have to use the planning level and planning function for uploading the data through flat file.You can check the How to guide in forum's.
    You can also create Transaction code for uploading the master data,through abap code you can provide buttons to upload it.
    Regards,
    Indu

  • Un-checking Manual Price Column in Price List

    I am trying to un-check the manual price  column in the Item Price List (Inventory > Price Lists > Price Lists) for several items. After unchecking several items and clicking in  the update button, nothing happens. No error message, no update. It happens with some, not all items. What can it be??
    Also, can I bulk un-check the manual price ? For example, with DTW template ?

    hi
    the two option "update the entire price list" and "update by selection" are to update any cjanges in the price list there may be different price list difined in ur system and if i want to update the changes made in all the list i select the first option and if i want to update it with the selection criteria i select the second option.
    Regards,
    Manish

  • Column with blank values in a excel export.

    Hello
    I Export a Report to Excel.
    That's work fine but i have a problem.
    when in a detail section one value of one column is blank, the export discard the cell.
    in result , the values after the blank do not corresponding any more with there header....
    i find this source on this bug on the web
    http://aspadvice.com/blogs/crystal/archive/2004/04/20/2199.aspx
    but the solution inside that post do not work ...
    any idea ?

    i work with VS2008 in c# with the FW 3.5
    my bug is not in design mode
    the code where i format the excel export option :
    ExcelFormatOptions b_Format = new ExcelFormatOptions();
    b_Format.ShowGridLines = true;
                            b_Format.ExcelTabHasColumnHeadings = true;
                            b_Format.ExcelUseConstantColumnWidth = true;              
                            b_Format.FirstPageNumber = p_intPageDepart;
                            b_Format.LastPageNumber = p_intPageArrivee;
                            if (p_intPageDepart != 0 && p_intPageArrivee != 0)
                                b_Format.UsePageRange = true;                                                                               
    l_ExportOptions.ExportFormatOptions = b_Format;
    the program is a .net DLL use by a VB6 program....
    The Dll is used for all Crytal works.
    i show the Rpt successfuly. but when i export the rpt to excel the bug is present in the exported file.

Maybe you are looking for

  • Does something like this exist for mac somewhere?

    http://www.bitboost.com/pawsense/ I've recently gotten a cat that loves my desk and keyboard. I've had to resort to unplugging my keyboard whenever i'm not by it. While it isn't a big deal, i'd prefer it if i didn't have to. Is there something simila

  • How do I get my phone out of recovery mode without restoring the phone?

    My phone is stuck in recovery mode and I cannopt restore it because my info is not backed up. How do I fix this?

  • Bex Analyzer 7.0, Filter on Hierarchy Node (Text Group)

    Hi gurus, I would be glad if anyone of you could help me with this issue. I made an application with Bex Analyzer 7.0 which does following -> create certain combinations and copy it directly into PowerPoint as a picture. This works great, I can send

  • Why does an "�" in http protocoll is displayed as "?" on my IE ?

    I sent a request to a server. On the server I'm sure there is a text with some "�" spread anywhere of my html document requested. On my IE I displayed "?" instead of "�". Why ? please help

  • 1 form 2 tables

    I have a situation where I have to insert data into 2 tables from a single form. I have tried a view but that does not work. I would prefer not to create two regions since the user then would have to click two submit buttons. Is there a way to update