Scenario for Payment Terms Types Objects - DI Error: (-5002)

Hi Experts,
I am developing an scenario for creating and updating Payment Terms Types from the headquarter company to subsidiary companies. The object for this process is B1.8.8_PTT Payment Terms Types.
I created the bizstep and this is the xsl transformation:
<BOM xmlns="">
  <BO>
    <AdmInfo>
      <Object>40</Object>
      <Version>2</Version>
    </AdmInfo>
    <QueryParams>
      <GroupNumber>
        <xsl:value-of select="BO/BusinessPartnerGroups/row/GroupNumber"/>
      </GroupNumber>
    </QueryParams>
    <PaymentTermsTypes>
      <row>
        <PaymentTermsGroupName>
<xsl:value-of select="BO/BusinessPartnerGroups/row/PaymentTermsGroupName"/>
        </PaymentTermsGroupName>
        <StartFrom>
<xsl:value-of select="BO/BusinessPartnerGroups/row/StartFrom"/>
        </StartFrom>
        <NumberOfAdditionalMonths>
<xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalMonths"/>
        </NumberOfAdditionalMonths>
        <NumberOfAdditionalDays>
                      <xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalDays"/>
          </NumberOfAdditionalDays>
and so on with the rest of the field of the object...
<CreditLimit>
                      <GeneralDiscount>
<InterestOnArrears>
<LoadLimit>
<PriceListNo>
<OpenReceipt>
<DiscountCode>
<DunningCode>
<BaselineDate>
<NumberOfInstallments>
<NumberOfToleranceDays>
When I update or create payment term I get this error:
DI Error: (-5002) Data is not available; modify selection criteria and re-enter
If you know where could be the problem help would be appreciated.
Thanks in advance.
David

Hi,
I found my error in the xsl file.
The correct value is "<xsl:value-of select="BO/PaymentTermsTypes/row/...".
Thanks anyway,
David

Similar Messages

  • Dynamic Search Object for Payment Terms

    Hi,
    May i know the Dynamic Search Object for Payment Terms. I have to create a Advanced Search Page with Payment terms. I could not find the dynamic search object for Payment terms. Any help is appreciated
    Thank you.
    -Siddharth

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • Payment Terms - Only specify sales text for payment terms for customers !

    What is wrong with the format in the attached screen shot ?
    Do I have to Choose Customer & Vendor ?

    Hi Emad,
    This error “Only specify sales text for payment terms for customers" appears because this payment term is not applicable for customer. There are two choices either to delete the description text and make the payment term applicable only to vendor,However if you want to keep the description text, then make payment term applicable to customer as well by tick mark.
    Regards,
    Sam

  • Substitution Rule for Payment Term

    Hi Expert,
    I have to have Substitution for payment term the following criteria:
    Company Code = '1000' AND Document Type = 'L1' AND Posting key = '14', then ... substitution bseg-zterm with certain payment term.
    Problem: there is no substitution for bseg-zterm.
    I read the post at http://sap.ittoolbox.com/groups/technical-functional/sap-acct/substitution-rule-for-payment-term-489202
    and found that I need to apply a SAP note 42615 in order to enable the BSEG-ZTERM field in Substitution Rule for Payment Term, and after that run Program RGUGBR00 to regenerate the substitution.
    But, problem again, our SAP is ECC 6.0, and the said SAP note is not applicable.
    Kindly advise is there any other way that I can enable the bseg-zterm field at substituion.
    Thanks,
    sbmel

    Hi
    1. Go to SE16N and enter Table GB01
    2. Enter &SAP_EDIT in the command prompt i..e the space where you type your T code and press enter
    3. BCL TAB = BSEG and Field = ZTERM... Execute
    4. Remove the X for the field BEXCLUDE.. SAVE....
    5. Select this entry and menu Table > Transport > Include in tr request
    6. Run RGUGBR00
    Br, Ajay M

  • User Exit for payment term

    Hi Friends
    how to write the User Exit for Payment terms at Item Level. Any Sample User Exits can help me if no exact User Exit Is there
    User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD
    Thanks in Advance.
    Regards
    sahiti

    Hi Amrish.
    thanks again.
    Hear is the complete ticket which i got from the client.
    1. User exit in Program MV45AFZZ
    User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD.
    create an include first - and then add the statements to that include..
    this way when there is a patch or an upgrade - we need to only type the include statement and not the extire userexit.
    2. External Table Specifications:
    the table is client dependent
    table name: zpaymentterm.
    client(keyfield)-mandt
    sales org(key)vkorg
    sales Doc-(key)auart
    material Grp-Matkl
    cust:kunnr
    Payment term (zterm) : ijput field in table maintenance
    3. select from the ztable using vbak-vkorg/vbak-auart/vbap-matkl/vbak-kunnr is equal to zztable fields.
    move corresponding zztable-zterm to vbkd-zterm.
    4. Validations: if no entry found in ztable then payment term from the customer master should be copied in the document.
    5. Create the maintenence view for the table and assigned with Transaction Code.
    Thanks in advance.
    Sahiti.

  • Complete text for payment terms

    please help in picking up complete text for payment terms.i used TVZBT table.but only one line is stored in this table.if they give text in 4 lines,im getting only 1st line if i use TVZBT.please tell how to pick up the entire text.

    Hi Srinivas
    Please check FM
    FI_TEXT_ZTERM
    Regards,
    Arun

  • Table for Payment Terms

    Good day!
    Is there an available table for Payment Terms?
    Thank you!

    1.     TVKGGT-          TEXTS FOR CUSTOMER CONDITION GROUPS(CUSTOMER MASTER)
    2.     TVZBT    -          CUSTOMERS:TERMS OF PAYMENT TEXTS
    3.     TINCT     -     CUSTOMERS:INCOTERMS:TEXTS
    4.     DD01T     -      domain Descriptions
    5.     DD07T     -      Domain Value descriptions
    6.     DD07T     -     DD: Texts for Domain Fixed Values (Language-Dependent)
    7.     DD07V     -     View on fixed values and domain texts
    8.     DD03T     -     DD: Texts for fields (language dependent)
    9.     DD03L     -     Table Fields
    10.     DD07V will contain all the domain values.

  • Payment Block for Payment Terms

    Please let me know the steps to activate payment block for payment terms
    while posting the doucments through MIRO.
    Thank you
    Ravi

    Hi Ravi
    while defining the payment terms you can give the payment block.
    TCODE-OBB8
    Beside to the block key you have one check box available - if you select that, then system populate the payment block only when you change the payment terms in the line item.
    But, as you are asking directly with payment terms so you give the payment block in OBB8 without selecting the check box beside to that field
    VVR

  • For pAyment Terms Changes , where we can maintain the relevant Enteries

    Hi Gurus,
    My Query - For Payment Terms where we can Maintain The Relevant enteries other than Customer Master from FI point of view.
    pls guide me in this..
    Thanks in Advance
    poonam

    Hi Poonam,
    Payment term we are maintaining in customer master in two places.
    1) - Company code data page --> On payment transaction tab --> This is for FI
    2) - Sales area data page --> Billing document tab --> This is for SD
    Hope it helps,
    Regards,
    MT

  • G/L account for payment terms

    Hi,
    Is it possible to maintain 2 G/L accounts under 1 chart of account for cash discount? For example, G/L account 333333 for payment term Z333 and G/L account 222222 for payment term Z222.
    Will appreciate immediate feedback. Thanks.

    Hi,
    Good morning and greetings,
    You can use the OBBH or GGB1 option to determine the right GL account based on the payment term.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Change Search Help for Payment Terms Field

    Hi,
    I would like to change the Search Help for Payment Terms Field, in Customer Master (KNVV-ZTERM). and in Sales Document. I believe it is the same.
    Default is From Table T052 / T052U
    ZTERM  and TEXT1  Fields
    I would like to have
    From Table TVZBT
    ZTERM and VTEXT
    PayT    Own Explanation Field.
    Can we change the Search Help.

    Hi,
      The search help for the payment terms is not coming from the DDIC search help..
      It is coded in the process on value-request event...
      The function module FI_F4_ZTERM is called for this..you have to change this function module in case if you want the values from a different table..
      OR do implicit enhancement in the subroutine FORM HELP_ZTERM in the include MF02DFH0 to call your search help instead of the function module FI_F4_ZTERM ..And do the same for the sales order also..
    Thanks
    Naren

  • Table for payment term

    Please let me know the Table for payment term
    David

    Tables
    T052 - Terms of Payment
    TVKGGT- TEXTS FOR CUSTOMER CONDITION GROUPS(CUSTOMER MASTER)
    TVZBT - CUSTOMERS:TERMS OF PAYMENT TEXTS
    TINCT - CUSTOMERS:INCOTERMS:TEXTS
    DD01T - domain Descriptions
    DD07T - Domain Value descriptions
    DD07T - DD: Texts for Domain Fixed Values (Language-Dependent)
    DD07V - View on fixed values and domain texts
    DD03T - DD: Texts for fields (language dependent)
    DD03L - Table Fields
    DD07V will contain all the domain values.
    Thanks & Regards
    JP

  • Error "Valid Value - Value do not Exist" for payment terms

    Hi,
    I am trying to change the payment terms in a Sales Order using UIAPI.
    Although the value i am using to update is a valid value, i get the following error:
    Valid Value - Value do not Exist
    My code is as folows:
    Dim sNewValue as String
    sNewValue = "2"
    oFrm.Items("47").Specific.Select sNewValue, psk_ByValue
    What am i doing wrong?
    Thanks
    Satish

    Hi Satish,
    Have you tried defining the new value as an integer instead of a string? The GroupNum data type in the OCTG is Int, not character.
    Hope helps,
    Ibai Peñ

  • Assign condition type for payment terms

    When i creating a sales order, when the payment is COD, then it will trigger one of condition price mandatory, it I choose other payment terms, the trigger will be ignore. I would like to know how to set this checking, since i want to remove it. Thanks!

    Hi,
    You can try user exit USEREXIT_CHECK_VBKD or USEREXIT_SAVE_DOCUMENT_PREPARE applying following logic
    If  VBAK-AUART = u2018ORu2019 and VBKD-ZTERMS = 'COD' THEN xkomv-KSCHL = 'XXXX'(YOUR CONDITION TYPE) and KOMV-KHERK u2018Cu2019
    Else IGNORE
    I am not sure but you can try.
    Rgds
    San

  • Table / Tcode for Payment Terms change History

    Hi,
    Please let me know the Table name where we can see the previous Payment Terms and revised payment terms of a vendor.
    Or any transaction code exist  for Vendor Payment Terms changes??
    Regards...

    You have 2 optiions
    Option 1
    Please use report S_ALR_87012089.
    =============
    For vendors, you define field groups to
    Protect individual fields via authorizations when maintaining master data,
    Select only changes to particular fields using this program.
    For field groups which are only used for selection in this program, select the No authorization field.
    You can define field groups in the IMG, under Financial Accounting -> Accounts Receivable and Accounts Payable -> Vendor Accounts -> Master Records -> Preparations for Changing Vendor Master Records -> Define Field Groups for Vendor Master Records.
    You can assign fields to field groups in the IMG, under Financial Accounting -> Accounts Receivable and Accounts Payable -> Vendor Accounts -> Master Records -> Preparations for Changing Vendor Master Records -> Group Fields for Vendor Master Records.
    After the configuration you should be able to display the changes.
    =====================
    Option 2
    In the table CDPOS pass the field name along with object class KRED and FNAME "ZTERM" you should get the result. It is advisable to joind CDHDR and CDPOS create a query and look at the output.
    Regards
    K.R

Maybe you are looking for