Field Tax Number 1 in VA01

Hi I am using the BAPI sd_salesdocument_create to create sales orders and need to pass the field Tax Number 1 (STCD1) for the case of a customer CPD. I'm using the table EXTENSIONIN as follows but not recorded the field.
EXTENSIONIN-STRUCTURE = 'VBPA3KOM'
EXTENSIONIN-VALUEPART1 = '          00000010406707933'
Thanks.

hi dvalesp,
Have you tried placing a breakpoint in SD_SALESDOCUMENT_CREATE at SE37?
perform ms_move_extensionin tables extensionin
                                     sales_items_in
                                     sales_schedules_in
                              using
                                     sales_header_in.
This is in line 222-226 of the source code of the BAPI.
Then check subroutine ms_move_extensionin of include program LVBAKF0C.
* BAPI enhancement <b>for</b> CPD Customer Information <b>for</b> table VBPA3
      WHEN 'VBPA3KOM'.
        CATCH SYSTEM-EXCEPTIONS conversion_errors  = 1.
          MOVE extensionin+lv_length TO wa_vbpa3kom.
          APPEND wa_vbpa3kom TO ex_vbpa3kom.
        ENDCATCH.
    ENDCASE.
  ENDLOOP.
try to check what is being transferred in the code "MOVE extensionin+lv_length TO wa_vbpa3kom." You may try to change the value of wa_vbpa3kom during debugging and continue the program to check if it works. If it works, that means all you have to change is the values inside extensionin.
Regards,
Paul

Similar Messages

  • Change Vendor (XK02) in Tax Number 1 field

    HI
    When we try to modify field Tax Number 1 (Tax information)  in XK02, system show a message " Tax code 1 is not valid". We were checking any enhancement but not success. The point is, we are un Venezuela and we need to change Tax Number 1 value from V-NNNNNNNN-R to VNNNNNNNNR but no posibbe. Is there something we missing for checking and put this customizing?
    Thanks in advance

    Hello,
    Are you really sure about this change?
    If you check documentation of SAP you'll see:
    Venezuela
    Tax code 1 (registro identificación fiscal - RIF) is 12 characters long
    and contains two hyphens at character 2 and 11. The first character of
    the tax number contains a letter, only J, I, V, G or E are permitted.
    Example: V-12345678-9, make a corresponding entry.
    Tax code 2 (Número de identificación fiscal - NIT) is numerical, has no
    gaps and a maximum length of 11 characters.
    Is it a legal change in venezuela?
    REgards,
    REnan

  • Hide XD02 Screen field Tax Number1 in control data tab

    Hello,
    I want to hide field Tax number 1 from the XD01/2/3 - control data tab, based on authorized / unauthorized user check.
    Please let me know the screen exit for that or how to hide it ?
    Thank you,

    Hi,
    I think that you will need to use the enhancement point mf02dfd0_01 spots es_mf02dfd0 in INCLUDE MF02DFD0. An enhancement at this point will allow you to loop through the screen fields and set the Tax Number 1 field not active in the PBO stage of the screen. I didn't see a user exit that would allow you to do the same.
    Regards,
    John

  • FI_TAX_BADI_011 for field STCD3 (Tax Number 3) in program  RFUMSV00

    Hi Experts,
    I need to add STCD3 (Tax Number 3) in  this standard report RFUMSV00.
    field catalogue i have succeed by this BADI      FI_TAX_BADI_014.
    Now i need populate value for the above,. i found in SDN this BADI   FI_TAX_BADI_011 will be helpful..
    but i am not able to .
    Any one come across this kind of requirement..
    Please help me.
    Regards,
    Praveen.

    Hi all,
    Solved myself.
    The solution of the problem :
    Implement the BADI --> FI_TAX_BADI_016
    In this Badi :
    Method : SET_FLAG_USE_BADI_16 See the code below.
    method IF_EX_FI_TAX_BADI_016~SET_FLAG_USE_BADI_16.
    CH_USE_BADI_16 = 'X'.
    endmethod.
    This code serve to activate This Badi !
    After,
    Method : END_OF_SELECTION See the code below.
    Implement this method with your rules !
    U can change 3 parameters.
    CH_GT_ALV
    CH_TRVOR
    CH_BUKRS_SUM
    Be careful when u manipulate this tables !
    After all update in this 3 parameters, the program start the edition of the report.
    Hope this thread will help you if you got the same problem like me.
    By everybody.
    Txang.

  • Vendor Master Record: Tax Number 1 Field

    Hi Everyone,
    For some reason, when you enter XK01 or XK02 for creation or change of vendor master record, Tax Number 1 within the Control Tab is visible and able to be input.  However, when displaying the vendor master record through XK03, the field is not visible.  Reviewing the field options for vendor master record did not reveal anything to me.  Any ideas why?
    Thanks,
    Pete

    Hi Peter,
    Please follow the path.
    SPRO>Financial Accounting  or Financial Accounting (New)>Accounts Receivable and Accounts Payable>Vendor Accounts>Master Data>Preparations for Creating Vendor Master Data>Define Screen Layout per Activity (Vendors)
    click on Display Vendor(Centrally) and Double click on Genral Data and Double click on Central
    check for Tax code field,its may be Suppressed
    If this helps you,please assign points.
    Thanks,
    Rau

  • Field exit for checking if tax number is unical in vendor master.

    Hi,
    is there a field exit that checks if tax number is unical in vendor master?
    Best regards

    Swamy,
    As you've pointed out, you already know that path. I'd recommend stating all that you've already tried and ruled out while posting a query here. It'll help people putting in effort that won't be helpful to you.
    Coming back to your query, there is obviously no way to introduce email ID as a sensitive field. However, there's nothing stopping you from using a little creativity here. This solution is not exactly direct, but I believe it is achievable. Here are your components:
    Have a look at enhancement SAPMF02K (t.code SMOD). Look at the component FM - EXIT_SAPMF02K_001.
    From table LFA1, get LFA1-ADRNR. Go to table ADR6 (SMTP Numbers (Business Address Services)).
    In ADR6, field SMTP_ADDR is email ID.
    You can designate a field you don't currently use as always = email ID field content on vendor master screen. This proxy field can get it's value inside the user exit I've mentioned above, and you can find the email ID using the logic I've mentioned above. Ensure that this proxy field can be designated a sensitive field. That's it!
    Now, everytime a user changes the email ID, your proxy field gets changed, and thus invokes the Senstive Field rule.
    I've not used this myself, but believe it should work.
    Remember to assign points if found useful.
    Regards
    Gulshan

  • MDGC 6.1 "Tax number 1" field

    Hi Gurus,
    Where are the fields in the CR to populate Tax Number 1 and 2 fields in SD?
    Thanks in advance.

    Hello Radis
    Check UI - BS_CU_MLT_ASSIGNMENT
    UIBB: Tax IndicatorsSales Area BS_CU_TAX_INDICATORS
    Make it visible and check.
    Kiran

  • Badi for check tax number field

    Hi guys!
    Can anyone tell if exists a badi that ckecks the field 'TAXNUM' in transaction 'BP' after we put a value there.
    I've already check in the transaction 'Bus7' and i only find the function for the event 'check before saving' -'BUP_BUPA_EVENT_DCHCK'.
    Thanks in advance.
    Hugo.

    Hi everybody!
    I need understand how implement check of taxnum using transaction BUS3 - view BUTX01.
    I need check tax number in transaction FPP2.
    I see a post very interesting:
    Badi for check tax number field
    I create a module function but inside of module function i don't have data for my validation. I think i make a mistake. Help please!
    If somebody have a tutorial would be great!!
    Thanks!

  • Tax Number Validation in BP transaction

    Hi experts,
    I'm working on a validation in Tax Number 1 field in transaction code BP when creating Business Partner. I have read that you have to create a custom FM and make your validations there and use FM 'BUS_MESSAGE_STORE' to raise an error message and put that FM in BUS3. My problem is that my custom FM cannot capture the Tax Number 1 values i want to validate. I already used FM 'DYNP_VALUES_READ' but does not able to get the value of Tax Number 1. Please help. This is my first time working on validations. Below are my sample code:
    CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME               = v_dyname " SY-REPID
          DYNUMB               = v_dynum  " SY-DYNNR
        TABLES
          DYNPFIELDS           = i_fields
        EXCEPTIONS
          INVALID_ABAPWORKAREA = 1
          INVALID_DYNPROFIELD  = 2
          INVALID_DYNPRONAME   = 3
          INVALID_DYNPRONUMMER = 4
          INVALID_REQUEST      = 5
          NO_FIELDDESCRIPTION  = 6
          INVALID_PARAMETER    = 7
          UNDEFIND_ERROR       = 8
          DOUBLE_CONVERSION    = 9
          STEPL_NOT_FOUND      = 10
          OTHERS               = 11.
    LOOP AT i_fields INTO w_fields.
        IF w_fields-fieldname = 'DFKKBPTAXNUM-TAXNUM'.
          v_taxnm = w_fields-fieldvalue.
        ENDIF.
      ENDLOOP.
    SELECT * INTO intab FROM dfkkbptaxnum WHERE taxnum = v_taxnm.
          IF sy-subrc = 0.
            "display error message
            CALL FUNCTION 'BUS_MESSAGE_STORE' "BDT: Saving Messages
            EXPORTING
              arbgb = 'ZMSG'              " sy-msgid (Application Area)
              msgty = 'E'                 " sy-msgty (S, I, E, W, A)
              txtnr = '010'.              " sy-msgno ("Tax No. 1 exist")
          ENDIF.
        ENDSELECT.

    Use below logic, lv_tax should be of data type BPTAXNUM.
    DATA: lv_tax type BPTAXNUM.
    LOOP AT i_fields INTO w_fields.
        IF w_fields-fieldname = 'DFKKBPTAXNUM-TAXNUM'.
          lv_tax = w_fields-fieldvalue.
          exit.
        ENDIF.
      ENDLOOP.
    SELECT * INTO intab FROM dfkkbptaxnum WHERE taxnum = lv_tax.

  • Tax number USA not maintained error in F110 and PMW interface

    Dear All,
    We are using F110 and creating output file using DMEE. After I run the APP and go to env->pay med->DME Adm i get the message 'No record found' in the TCode FDTA. When I go to Env->pay medi-> display log I get the log giving warning message Tax number USA for company code 1000 is not maintained. In the global setting for the co code no field appears for USA TAX Number even after scrolling down. What is the solution to this problem? Where do we find the field?. Please guide

    Dear Vinda,
    Please follow:
    1 - Enter t-code SE16.
    2 - Enter table T001Z.
    3 - Enter your Company Code from IN.
    4 - Hit Execute - F8.
    5 - Clique 'new entry' - F5 (If you cannot, ask for a Basis or use '/h' to clear the process).
    6 - Enter your C-code IN, param. type = SAPTIN and Parameter value = 'your required number'.
    7 - Save - crtl+s
    If you got no entries in T001Z to be able advance, go to OBY6 and fill awhile any field with tec name 'PAVAL'. Go back and execute.
    This procedure may not change OBY6 view, anyway try another test to check if table T001Z takes place in F110.
    Let me know the results.
    Regards
    Marssel

  • Tax Number in Vendor Master

    hi all-
    The SAP Help info/documentation shows the purpose of the various (vendor master) tax number fields for a number of countries. I can't find any information for the countries Malaysia, Singapore, Japan and Hong Kong.
    Can someone please help me out with that information for the countries mentioned?
    thx
    Ben

    Hi Ben,
    As per my knowledge there is no tax in Hong Kong (Its tax free zone).
    kishore.

  • Tax classification / tax number is not displayed in BP serach

    Hi,
    As per Standard serach in Service order work centre, the BP search screen brings diffrent search criteria but it is not displaying the search through Tax classification/ tax number, we would like to search the BP through Tax number / Pass port number, How it's possible in CRM 7 Web UI.
    Thanks & Regards,
    CHANDRA

    You have to enhance the search component for bp search and then add to search view new attribute for tax. The new attribute will then be available as search parameter in the screen.
    But, the code for data filtration based on this field may be written in the event handler of the search button. I am not pretty sure of the last step, but I would have gone in this direction.
    Regards.

  • How to modify an infotype with a tax number

    Hi,
    I need to implement a newly introduced personal tax number to our employees. Using the tx SE16 I have examined the table PA0002 containing the "Personal data 0002" infotypes and found that there's a field PERID of type CHAR 20 that we're not using and that can serve well to contain the new tax number.
    As instructed elsewhere on this forum I tried to use the tx PM01, 3. tab - enhance standard infotypes, clicked on button "create all", confirmed to create CI_P0002, new entry: short text "...", component PERID, component type PRDNI. The activation resulted in an error "Field PERID in table PS0002 is specified twice. Please check". Now the tx SE16 started to crash until I renamed PERID to ZOIB, but clicking on the button "assign enhancement" still doesn't seem to produce any result (the test button still displayes the same user interface).
    I will appreciate any suggestion, (except "call your abaper"), since I don't have one.

    Marko,
    Please do not modify the standard fields in the standard infotype like that.
    If you are not currently using the field PERID foer any purpose, you can just start using it without any further modifications using PM01. Please undo all you have done to ZZOIB fields.
    It is a configuration to hide or unhide fields in T588M.
    Go through the IMG for best results.
    Personnel M<anagement> Personnel Administration>Customizing User Interfaces> Screen modifications
    the above from memory, so the names of the nodes may be slightly different from what I have written.
    Hope this helps.

  • How to display only last 4 digits of tax number in Vendor Master view MK03

    Dear experts,
    In the Vendor Master view by Purchasing Organization (MK03), is there a way that will allow the user to view only the last four digits of the Vendor tax number?
    For example: Display only **-*-6789 (or blank spaces), instead of 123-45-6789 ?
    Any ideas and insights are much appreciated. Will award points for help.
    -TW

    In your report, just do a substr(ssn,5,4) for your new & improved SSN field to be displayed:
    SELECT First,
    Last,
    SUBSTR(ssn,5,4),
    Phone
    FROM Employees
    Thank you,
    Tony Miller
    Webster, TX

  • Auth obj for Tax number 1 and Tax number 2 in fk02

    In tocde FK02 and FK03 we want to restrict some of the fields i.e Tax number 1 and Tax number 2 i.e field stdc1 & stdc2 ,to be visible to some users only ,Is there any auth obj for these fields which we could restict to specific users.

    Hi,
    You can give the authorization for tab wise Genaral data/accounting data/Payment transaction
    Check the auth. objects:
    F_LFA1_BUK     Vendor: Authorization for Company Codes
    F_LFA1_BEK     Vendor: Account Authorization
    F_LFA1_APP     Vendor: Application Authorization
    F_LFA1_AEN     Vendor: Change Authorization for Certain Fields
    Regards,
    Kishore K

Maybe you are looking for

  • Is there a way to report a complaint about a moderator here in the Apple Support Communities?

    I spent a long time writing a question about an issue I'm having and submitted it to the OS X Mavericks section because I couldn't find an OS X Yosemite Beta section. I got a rapid response from a member of the community who I assume is a moderator o

  • Entity bean with primary key generated by trigger

    Hi, We have a table(oracle) with one column as primary key, but the primary key is generated by trigger every time a new row is inserted into this table, inside the trigger, it uses oracle sequence to get the next val. If we want to use entity bean w

  • Laptop to TV display

    I have never had any particular issue with switching display from T61 to HD TV but now when I click Fn Space switch resolution instead of switch between displays.  (using monitor plug connection}.  I have tried adjusting display settings and just see

  • Tables to get the billing plan discount percentage...

    Hello Experts, I am currently developing our sales invoice form and 1 requirement is that I have to show the billing plan/downpayment %. The specs only has the field FPLNR. Can you please tell me how to get the % amount. Thank you guys and take care!

  • OIM11gr2 - How to get currently logged in user details using oim api

    Hi All, I have a requirement to retrieve currently logged in users profile in the process adapter. I have tried with getSelfProfile in tcUserOperation and also ContextManager.getOIMUser API's however, in both the cases i am getting xelsysadm details