Update info type 1002 (Description) unlimited text lines

Hi Experts,
I am trying to create description for infotype 1002 (HRT1002 table) for unlimited text lines using a BDC process. Is there any function module or bapi that I can use?
Please help me out.
Thank you.
Best Regards,
Felipe Alvarez
Points will be rewarded.

Hi
I have a code that does create descriptions for Infotype 1002. You can modify it for your subtypes. I had used it for subtype 0120,0004.
Just mention ur email address and I will send u the code.
regards
Waz

Similar Messages

  • How to update info type 0585 & 0586

    Dear Mates,
    How to update info type 0585 & 0586 ?? because I've tried with LSMW but unable to update more than 7 records.
    Ur's
    Mohan

    Dear KV LMR,
    For IT0584, IT0585, IT0586 mass upload you have to go for BDC . LSMW will not fulfill the purpose as different employees has different number of data set available in these infotypes and data is not uniform like your IT581 or PAN number or Emailid upload.
    First you have to prepare template for IT0585/IT0586 and speak with your ABAPer to prepare the required BDC program.
    If you are comfortable with BDC, you can do it by yourself. If required drop a mail at [email protected] . I can provide you the BDC template /code snippet.
    Regards,
    Nayak

  • Urgent Requirement : How to retrieve Description field from Info type 1002

    Hi,
    My requirement is to fetch description field from infotype 1002 which will be stored in text format.
    I think this will be stored in TTEXT table but am not able to fetch using that.
    Can anyone please help me out in this.
    Thanks in Advance,
    Sarika.

    Try out following tables
    T582ITOPERT               Infotype Operation Texts
    T582S                          Infotype Texts          
    T591S                          Subtype Texts           
    T777U                          Subtype Texts

  • HR IDOCS failing for Info Type 1002

    Guys, I am moving from business side of SRM to techno/functional. We have HR data replication IDOCS failing from R/3 to SRM with the following error. Any help on how to debug this further and your thoughts/experience on this error
    Error: insertion of infotype 1002 (return code 3 )
    Message no. 5-133
    Diagnosis
    An error occurred when you tried to insert infotype 1002 using RH_INSERT_INFTY (return Code                                                    3).
    Thanks

    Hi
    This is a system bug.
    Please go through the following SAP OSS Notes, depending on your SAP version/Support pack ->
    Note 185422 HR-CA-ALE: Error with RH_INSERT_INFTY
    Note 890704 RH_INSERT_INFTY: Inserting in the structural authorization
    Note 832395 HRALX: Status 51: Insertion of infotype 1001
    Note 766882 HRALX: Error when inserting infotypes
    Note 850259 HRALX: Position deleted or not changed
    Note 445336 Different ADATANR for to and from relationships
    Note 532675 Interface correction for RH_OBJID_REQUEST and RHP_CRMQ
    Note 451578 Error in module BBP_UPDATE_ORG_ADDRESS
    Note 440135 Short dump NO_AUTHORIZATION when creating HR work center
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Removing Objects O and S from info type 1000 and 1028 in Distribution model

    Hi,
    My requirement is to remove the objects O and S in distribution model from the filter group of Info type 1000 and 1028.
    After removing the objects I perform the below steps:
    1.  I send an employee (P) through PFAL.
    2.  Once the employee data is reached to receiver system, then check the employee from PA20.
    3.  From the Organization Assignment info type (0001), check whether the Org unit and Position text appears on the screen.
    Currently after removing the objects O and S, the texts do not flow. But only the org unit and postion id flows to info type 0001, not the text.
    Is there any other method or some other configuration to send the texts to the receiver system, apart from maintaining it in distribution model? We want the texts to be displayed in PA20 and PA30 screen for info type 0001 ( along with org unit and position id).
    Thanks in Advance.

    Hi,
    the text for O and S are stored in infotype 1000...so PA30 reads them from that table. So if you want to have the texts in the target system you need to send at least infotype 1000. Why don't you want to send it?.
    Regards,
    Ana

  • HR_INFOTYPE_OPERATION for upadting info type 0106 as secondary record

    hi,
    I am using this FM for updating info type 0021 and 0106 as secondary record, info type 0021 got created and also 0106 got created.
    however individual fields in 0106 like perid, stras, ort01 are not updated, only record with key got created.
    any clues how to use this FM
    Thanks,
    Kranthi.

    Problem resovled, however i am not sure this FM actually creates, in reality it should create.
    below is the code i am using for the above scenario.
    data:  g_masterdata_bl    type ref to if_hrpa_masterdata_bl,
              msg_handler          type ref to cl_hrpa_message_list,
              ls_p0021                type p0021,
              ls_0106                  type p0106,
              g_container            type ref to if_hrpa_infty_container,
              g_container_nnnn  type ref to cl_hrpa_infotype_container,
              update_mode        type hrpad_update_mode,
              g_is_ok                  type boole_d,
              lt_tab                     type hrpad_infty_container_tab,
              ls_pref                    type pref.
    ls_p0021-pernr  = '00000578'.
    ls_p0021-subty  = '1'.
    ls_p0021-infty   = '0021'.
    ls_p0021-begda = sy-datum.
    ls_p0021-endda = '99991231'.
    ls_p0021-famsa  =  '1'.
    ls_p0021-fanam = 'first name'.
    ls_p0021-favor  = 'first name agaiin'.
    ls_p0021-fasex  = '1'.
    ls_p0021-fgbdt  = '19770101'.
    ls_p0021-grpvl = 'ABCD'.
    ls_0106-pernr    = '00000578'.
    ls_0106-subty    = '1'.
    ls_0106-infty     = '0106'.
    ls_0106-begda   = sy-datum.
    ls_0106-endda   =  '99991231'.
    ls_0106-perid    = '114463323'.
    call method cl_hrpa_masterdata_bl=>get_instance
      importing
        masterdata_bl = g_masterdata_bl.
    create object msg_handler.
    call method g_masterdata_bl->get_infty_container
      exporting
        tclas           = 'A'
        pskey           = ls_p0021-pskey
        message_handler = msg_handler
      importing
        container       = g_container.
    * Insert info type records
    g_container_nnnn ?= g_container.
    g_container           ?= g_container_nnnn->modify_data(
      primary_record    =  ls_p0021
      secondary_record = ls_0106
      pref = ls_pref
    try.
        call method g_masterdata_bl->insert
          exporting
            message_handler = msg_handler
            update_mode     = update_mode
          importing
            is_ok           = g_is_ok
          changing
            container       = g_container.
      catch cx_hrpa_violated_assertion.
        g_is_ok = space.
    endtry.
    try.
        call method g_masterdata_bl->flush
          exporting
            no_commit = space.
      catch cx_hrpa_violated_assertion.
    endtry.

  • 0581 Info type

    All,
    When i am updateing info type 0581,i ended up with error as "No automatic
    updation for info type 0008 and Relevant wage types not found.
    Is this something related changes to user exits or config is missing at some where  else.
    Note: Dynamic acion is deleted for this.
    Thanks,Kiran

    Hi Shekar,
        You mean i need to update info type 0581 first and later i need to update
    0008 info type.
    When i am doing like this,it was showing an error in status bar as allowance grouping is not found.
    Method what i followed for this:-
    Intially updated list of wage components to IT0008 Like basic pay,Hra,DA,Coveyance.Later i am updateing 0581.Then i  am getting an error as
    " No Automatic updation to IT0008 and relevant wage types not found".Could you
    please mark me an email in detail to [email protected]
    Thank you,Kiran

  • How to read PP01- Object type u0091Positionu0092- Description- Text

    Hi All,
    How to read PP01->Object type ‘Position’->Description->Text
    I tried to use READ_TEXT but i am not able to figure out what combination
    to be given in input fields  of this BAPI.
    Please Guide.
    Regards

    Hi Amit,
    Thanks for reply.
    It is coming in HRT1002 table which is linked with HRP1002 with field TABNR.
    But problem is that I have to capture this value in BADI-HRBAS00INFTY.
    Before save. Because with BADI i need to update data in it.
    any solution of it?
    Regards

  • HT3669 Latest Mac OS Update Driver for Canon 9500 Pro causes text lines all to be printed over the first letter of the line?

    Anyone know how I can 'fix' the Mac OS printer driver for the Canon 9500 Pro - all my text lines end up with the whole line being printed over the first character of the line of text when printing PDFs. It has ruined a lot of work.

    I'd try this:
    Delete the current printer (reset the print system) Mac OS X: How to reset the printing system
    Delete all other Canon software and utilities from your computer.
    Do a factory reset on your printer
    Use Software Update to download the driver from Apple.
    Don't reinstall any other Canon Utilities.
    Make sure you don't have something mechanical stopping the paper from advancing.
    If the problem is really the driver, then you could look in Gutenprint for a different driver. Gutenprint for Mac OS X

  • When i type my email, the text would go on and on and overflows. I mean to say it doesn't autmatically hit the right hand side wall and change to next line! I have to manually press enter and then next line starts. Started happening suddenly.pls help.

    When i type my email, the text would go on and on and overflows. I mean to say it doesn't autmatically hit the right hand side wall and change to next line! I have to manually press enter and then next line starts. Started happening suddenly.pls help.

    Does it happen when you reply to an email? If so, it might be that there's content in the original email (like an image or something similar) that overflows the window content, therefore the Mail app, when you hit the border, follows the content below instead of going on a new line. You might wanna try that.
    Also: Please do not post the whole question in the question title.

  • I updated my 4s, and now the text messaging is so slow its almost unusable (type then wait 20  seconds to see characters)

    I updated my 4s, and now the text messaging is so slow its almost unusable (type then wait 20 seconds or more to see characters on the screen).  Help Please!

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js
    * [3] http://kb.mozillazine.org/Multiple_profile_files_created

  • Update Sales Order with Text-Line and without regular Lines

    Hello Experts,
    i have a problem to update a Sales Order with no Item-Lines but with one Text-Lines or one Sub-Total-Lines.
    I get only the Error "The specified resource name can not be found in the image file", the %temp% are delete.
    i have testet with Methode: #updateDocWithSubDeletion, #Synchronnous Update, #Synchronous Insert with fallback to Update (i was desperate)
    my Scenario look like this:
    my Payload:
    i have allready testet with the part AdminInfo und QueryParams with the same Error.
    <Payload id="atom6" Role="X">
        <Documents xmlns="">
            <row>
                <DocNum>227780</DocNum>
                <DocType>dDocument_Items</DocType>
                <HandWritten>tNO</HandWritten>
                <Printed>psNo</Printed>
                <DocDate>20150423</DocDate>
                <DocDueDate>20150423</DocDueDate>
                <CardCode>61052</CardCode>
                <CardName>Durchlauf</CardName>
                <DocCurrency>EUR</DocCurrency>
                <DocRate>1.000000</DocRate>
                <DocTotal>0.000000</DocTotal>
                <Reference1>227780</Reference1>
                <JournalMemo>Kundenaufträge - 61052</JournalMemo>
                <PaymentGroupCode>-1</PaymentGroupCode>
                <DocTime>0819</DocTime>
                <SalesPersonCode>2</SalesPersonCode>
                <TransportationCode>-1</TransportationCode>
                <Confirmed>tYES</Confirmed>
                <SummeryType>dNoSummary</SummeryType>
                <ContactPersonCode>0</ContactPersonCode>
                <ShowSCN>tNO</ShowSCN>
                <Series>5</Series>
                <TaxDate>20150423</TaxDate>
                <PartialSupply>tYES</PartialSupply>
                <DocObjectCode>17</DocObjectCode>
                <DiscountPercent>0.000000</DiscountPercent>
                <DocTotalFc>0.000000</DocTotalFc>
                <RevisionPo>tNO</RevisionPo>
                <RequriedDate>20150423</RequriedDate>
                <CancelDate>20150523</CancelDate>
                <BlockDunning>tNO</BlockDunning>
                <Pick>tNO</Pick>
                <PaymentMethod/>
                <PaymentBlock>tNO</PaymentBlock>
                <MaximumCashDiscount>tNO</MaximumCashDiscount>
                <WareHouseUpdateType>dwh_CustomerOrders</WareHouseUpdateType>
                <Rounding>tNO</Rounding>
                <DeferredTax>tNO</DeferredTax>
                <NumberOfInstallments>1</NumberOfInstallments>
                <ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>
                <DocumentSubType>bod_None</DocumentSubType>
                <Address2/>
                <UseShpdGoodsAct>tNO</UseShpdGoodsAct>
                <IsPayToBank>tNO</IsPayToBank>
                <DownPayment>0.000000</DownPayment>
                <ReserveInvoice>tNO</ReserveInvoice>
                <LanguageCode>9</LanguageCode>
                <SequenceModel>0</SequenceModel>
                <UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
                <DownPaymentAmount>0.000000</DownPaymentAmount>
                <DownPaymentPercentage>0.000000</DownPaymentPercentage>
                <DownPaymentType>dptInvoice</DownPaymentType>
                <DownPaymentAmountSC>0.000000</DownPaymentAmountSC>
                <DownPaymentAmountFC>0.000000</DownPaymentAmountFC>
                <VatPercent>0.000000</VatPercent>
                <ServiceGrossProfitPercent>0.000000</ServiceGrossProfitPercent>
                <OpeningRemarks/>
                <ClosingRemarks/>
                <RoundingDiffAmount>0.000000</RoundingDiffAmount>
                <ControlAccount>1200</ControlAccount>
                <InsuranceOperation347>tNO</InsuranceOperation347>
                <ArchiveNonremovableSalesQuotation>tNO</ArchiveNonremovableSalesQuotation>
                <ExtraMonth>0</ExtraMonth>
                <ExtraDays>30</ExtraDays>
                <CashDiscountDateOffset>0</CashDiscountDateOffset>
                <StartFrom>pdt_None</StartFrom>
                <NTSApproved>tNO</NTSApproved>
                <EDocGenerationType>edocNotRelevant</EDocGenerationType>
                <DownPaymentStatus>so_Open</DownPaymentStatus>
                <GroupHandWritten>tNO</GroupHandWritten>
                <CreateOnlineQuotation>tNO</CreateOnlineQuotation>           
            </row>
        </Documents>
        <Document_SpecialLines xmlns="">
            <row>
                <AfterLineNumber>-1</AfterLineNumber>
                <LineType>dslt_Subtotal</LineType>
                <LineText>Zwischensumme</LineText>
            </row>
        </Document_SpecialLines>
        <Document_Lines xmlns="">
            <row>
                <ItemCode>108044</ItemCode>
                <Quantity>0.01</Quantity>
                <FreeText/>
            </row>
        </Document_Lines>
        <TaxExtension xmlns="">
            <row>
                <NetWeight>0.000000</NetWeight>
                <GrossWeight>0.000000</GrossWeight>
                <StreetS/>
                <BlockS/>
                <BuildingS/>
                <CityS/>
                <ZipCodeS/>
                <CountyS/>
                <StateS/>
                <CountryS/>
                <BuildingB/>
            </row>
        </TaxExtension>
    </Payload>
    when I insert a new row with an ItemCode , it works
    Thanks and Best Regards
    Ronny

    Hi,
    why don't you create a simple scenario to export B1 Sales Order to XML File?
    Maintain the SalesOrder via B1 client UI and check the result in XML as exported to file.
    In the Sales Order xml file you can easily see how "AfterLineNumber" needs to be filled in segment "Document_SpecialLines" to achieve what you've entered via B1 client.
    Normally the LineNum for B1 Documents starts counting with 0 and if you need to add a subtotal line after a regular item row, the "AfterLineNumber" value should be 0.
    Best regards
    Bastian

  • Custom table needs to be updated based on changes in Info type P0000

    Hi All,
       I have a requirement wherein when we make changes to info type P0000 this should be reflected to a custom table.
    If i create a new record, delete an existing record or make changes to a record in INFOTYPE P0000 this should also be reflected in my custom table.
       My custom table has 5 fields from info type p0000 and some custom fieds.
       please can you let me know exactly which user exit to use to acchieve the solution. and where exactly i can put the logic.
    Thanks,
    Mars

    Hi Venkat,
      I tried to code in the method AFTER_INPUT and executed but there are few thing which i have come across.
    1. when ever i create a new record in PA40 and each time i save the screens of PA40 this method is called and based on check it tries to update the table taht many times.
    2. The logic which i have used in the BADI implementations is as below:
      DATA: l_text TYPE string,
                 l_answer TYPE string,
                 lw_split TYPE XXXX.  (custom table)
      IF old_innnn NE new_innnn.
        lw_split-mandt = sy-mandt.
        lw_split-pernr = new_innnn-pernr.
        lw_split-begda = new_innnn-begda.
        lw_split-endda = new_innnn-endda.
        l_text = 'Does this employee need a split STIP?'.
            Display a pop up message to the user.
        CALL FUNCTION 'POPUP_TO_CONFIRM'
          EXPORTING
            titlebar                    = 'Choose'
            text_question               = l_text
            text_button_1               = 'Yes'
            text_button_2               = 'No'
            default_button              = '1'
            display_cancel_button       = space
         IMPORTING
            answer                      = l_answer
         EXCEPTIONS
            text_not_found              = 1
            OTHERS                      = 2.
        IF sy-subrc EQ 0.
          IF l_answer EQ '1'.
            lw_split-stflg = 'Yes'.
          ELSE.
            lw_split-stflg = 'No'.
          ENDIF.
        ENDIF.
        MODIFY TABLE  XXXX FROM lw_split.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
      ENDIF.
    3. when i try to activate this chunk of code it gives me error  saying "XXXX" is unknown. i tried to declare it under TABLES but in Vain.
    4 I have also tried to use the modify statement in IN_UPDATE instead of updating custom table in same method but its giving me same error "XXXX" is unknown. i tried to declare it under TABLES but in Vain.
    can you let me know your view on this. The above chunk of code is in case of creating a new record in P0000 info type.
    Thanks,
    Mars
    Edited by: Mars878 on Oct 13, 2009 9:18 AM

  • Sales order Text Line (Type)

    Hi,
    How do I add Text Line by selecting the field "Type" in Form Settings in my DI Add-On?
    Here is the code for adding a regulare Sales Order line:
    CODE
    oDocument_SalesOrder.Lines.FreeText = "This is not the Text I want to have...It is a Drop Down List and you can select Regular, text, sun-total in Type Column";
    oDocument_SalesOrder.Lines.Add();
    Thank you,
    Rune

    Rune,
    You need to use the Document_SpecialLines Object which is new to SAP Business One 2007A.  You can find more detail on this in the 2007A SDK Help Center documentation as well as sample code with the SDK at ...
    ..\Program Files\SAP\SAP Business One SDK\Samples\COM DI\CSharp\19.SpecialLines
    Eddy

  • SAP Script : to display the material description in two lines

    Hi All,
    I'm working on scripts.
    the material description field is been passed from my driver program ..into the script..
    Ex: &gs_final-maktx& ..
    There r a number of other fields to be displayed ...after this field ....
    Is there any option to split the 'Material description into two lines'?
    Ex: at present it is :
    This is material description
    Requirement is:
    This is material
    description
    I mean that there a number of field berfore and after this field......in the same line
    I need to jst split the materia description ...& make it to appear in two lines.....!!
    Expecting your suggestions....
    Edited by: vidya vidya on Nov 11, 2008 3:17 PM
    Edited by: vidya vidya on Nov 11, 2008 3:20 PM

    FM TEXT_SPLIT ?
    ..but i handled this by code.
    DATA:      zzboldsx(18) TYPE c,
          zzboldsx2(18) TYPE c,
          zzboldsx3(18) TYPE c,
          zzboldsx4(18) TYPE c.
    DATA: i_lines TYPE STANDARD TABLE OF tline WITH HEADER LINE ,
            r_lines TYPE tline,
            v_cnt LIKE sy-tabix.
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = stxh-tdid
          language                = stxh-tdspras
          name                    = name
          object                  = stxh-tdobject
        TABLES
          lines                   = i_lines[]
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc = 0.
    * Only 4 lines of Header text supported. Can add if needed
        LOOP AT i_lines INTO r_lines.
          CONDENSE r_lines-tdline NO-GAPS.
          v_cnt = v_cnt + 1.
          CASE v_cnt.
            WHEN 1.
              zzboldsx = r_lines-tdline.
            WHEN 2.
              zzboldsx2 = r_lines-tdline.
            WHEN 3.
              zzboldsx3 = r_lines-tdline.
            WHEN 4.
              zzboldsx4 = r_lines-tdline.
            WHEN OTHERS.
              EXIT.
          ENDCASE.
    *   zzbolDSX =  i_lines-tdline .
        ENDLOOP.

Maybe you are looking for