Retrieving text from Vendor Master data
Hi All,
Please go through the navigation and query next to that...
Vendor Master Change/ Display(XK02/XK03) --> Provide any Vendor number already created --->
select the General Data ---> select Payment Transactions --> press enter to view the data -->
Goto Menu Extras --> select texts --> a window will pop up giving 2 rows for entering text as mentioned below.
Accounting note
Purchasing memo
We can enter the text beside the provision 1st line else we can double click any one of them so that we will enter into a window to enter the long text or anything necessary.
Now that in this concern my requirement is that i want to retrieve the text entered under the 1st line or in the window which comes after double clicking Accounting note or Purchasing memo option basing on Vendor number or any other parameter or if any table where this data gets stored.
Is there any program required to retrieve this text or any Function Module which retrieves this text or any coding avaliable please do send me as it is a very urgent requirement ....
regards
PSNG
Could you please let me know, How to check through that FM as the parameters are confusing me when i went through them?
regards
PSNG
Similar Messages
-
Get PO from vendor master data
Hi,
Those any body knows a BAPI or FM that would get the PO that was created in the IDOC from vendor master data?
Please help...
thank you...
regards,
maeHi Mae,
hope this may be of some help.
REPORT zpo_bapi_purchord_tej.
DATA DECLARATIONS *
TYPE-POOLS slis.
TYPES: BEGIN OF ty_table,
v_legacy(8),
vendor TYPE bapimepoheader-vendor,
purch_org TYPE bapimepoheader-purch_org,
pur_group TYPE bapimepoheader-pur_group,
material TYPE bapimepoitem-material,
quantity(13),
delivery_date TYPE bapimeposchedule-delivery_date,
net_price(23),
plant TYPE bapimepoitem-plant,
END OF ty_table.
TYPES: BEGIN OF ty_alv,
v_legs(8),
success(10),
v_legf(8),
END OF ty_alv.
TYPES: BEGIN OF ty_alv1,
v_legf1(8),
v_msg(500),
END OF ty_alv1.
*-----Work area declarations.
DATA: x_table TYPE ty_table,
x_header TYPE bapimepoheader,
x_headerx TYPE bapimepoheaderx,
x_item TYPE bapimepoitem,
x_itemx TYPE bapimepoitemx,
x_sched TYPE bapimeposchedule,
x_schedx TYPE bapimeposchedulx,
x_commatable(255),
x_alv TYPE ty_alv,
x_alv1 TYPE ty_alv1,
x_alv2 TYPE ty_alv1.
*-----Internal table declarations.
DATA: it_table TYPE TABLE OF ty_table,
it_commatable LIKE TABLE OF x_commatable,
it_item TYPE TABLE OF bapimepoitem,
it_itemx TYPE TABLE OF bapimepoitemx,
it_sched TYPE TABLE OF bapimeposchedule,
it_schedx TYPE TABLE OF bapimeposchedulx,
it_alv TYPE TABLE OF ty_alv,
it_alv1 TYPE TABLE OF ty_alv1,
it_alv2 TYPE TABLE OF ty_alv1.
DATA: po_number TYPE bapimepoheader-po_number,
x_return TYPE bapiret2,
it_return TYPE TABLE OF bapiret2,
v_file TYPE string,
v_temp(8),
v_succsount TYPE i VALUE 0,
v_failcount TYPE i VALUE 0,
v_total TYPE i.
DATA: v_temp1(5) TYPE n VALUE 0.
DATA: x_event TYPE slis_t_event,
x_fieldcat TYPE slis_t_fieldcat_alv,
x_list_header TYPE slis_t_listheader,
x_event1 LIKE LINE OF x_event,
x_layout1 TYPE slis_layout_alv,
x_variant1 TYPE disvariant,
x_repid2 LIKE sy-repid.
DATA : it_fieldcat TYPE TABLE OF slis_t_fieldcat_alv.
SELECTION-SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK v_b1 WITH FRAME.
*-----To fetch the flat file.
PARAMETERS: p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK v_b1.
AT SELECTION-SCREEN *
AT SELECTION-SCREEN.
IF p_file IS INITIAL.
MESSAGE text-001 TYPE 'E'.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
*-----To use F4 help to find file path.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
v_file = p_file.
START-OF-SELECTION *
START-OF-SELECTION.
PERFORM gui_upload.
LOOP AT it_table INTO x_table.
PERFORM header_details.
v_temp = x_table-v_legacy.
LOOP AT it_table INTO x_table WHERE v_legacy = v_temp.
PERFORM lineitem.
PERFORM schedule.
ENDLOOP.
DELETE it_table WHERE v_legacy = v_temp.
PERFORM bapicall.
MOVE po_number TO x_alv-success.
APPEND x_alv TO it_alv.
CLEAR x_alv.
*-----To clear the item details in internal table after the operation for a header.
REFRESH: it_item,
it_itemx,
it_sched,
it_schedx.
CLEAR: v_temp1.
ENDLOOP.
v_total = v_succsount + v_failcount.
PERFORM display_alv.
FORM GUI_UPLOAD *
FORM gui_upload .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = v_file
filetype = 'ASC'
TABLES
data_tab = it_commatable
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
IF sy-subrc = 0.
*-----To fetch the comma seperated flat file into an internal table.
LOOP AT it_commatable INTO x_commatable.
IF x_commatable IS NOT INITIAL.
SPLIT x_commatable AT ',' INTO
x_table-v_legacy
x_table-vendor
x_table-purch_org
x_table-pur_group
x_table-material
x_table-quantity
x_table-delivery_date
x_table-net_price
x_table-plant.
APPEND x_table TO it_table.
ENDIF.
CLEAR x_table.
ENDLOOP.
ENDIF.
ENDFORM. " gui_upload
FORM HEADER_DETAILS *
FORM header_details .
MOVE 'NB' TO x_header-doc_type.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = x_table-vendor
IMPORTING
output = x_table-vendor
MOVE x_table-vendor TO x_header-vendor.
MOVE x_table-purch_org TO x_header-purch_org.
MOVE x_table-pur_group TO x_header-pur_group.
x_headerx-doc_type = 'X'.
x_headerx-vendor = 'X'.
x_headerx-purch_org = 'X'.
x_headerx-pur_group = 'X'.
ENDFORM. " header_details
FORM LINEITEM *
FORM lineitem .
v_temp1 = v_temp1 + 10.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_temp1
IMPORTING
output = v_temp1.
MOVE v_temp1 TO x_item-po_item.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = x_table-material
IMPORTING
output = x_table-material.
MOVE x_table-material TO x_item-material.
MOVE x_table-quantity TO x_item-quantity.
MOVE x_table-net_price TO x_item-net_price.
MOVE x_table-plant TO x_item-plant.
x_itemx-po_item = v_temp1.
x_itemx-material = 'X'.
x_itemx-quantity = 'X'.
x_itemx-net_price = 'X'.
x_itemx-plant = 'X'.
APPEND x_item TO it_item.
APPEND x_itemx TO it_itemx.
CLEAR: x_item, x_itemx.
ENDFORM. " lineitem1
FORM SCHEDULE *
FORM schedule .
MOVE x_table-delivery_date TO x_sched-delivery_date.
MOVE v_temp1 TO x_sched-po_item.
x_schedx-delivery_date = 'X'.
x_schedx-po_item = v_temp1.
APPEND x_sched TO it_sched.
APPEND x_schedx TO it_schedx.
CLEAR: x_sched, x_schedx.
ENDFORM. " schedule
FORM BAPICALL *
FORM bapicall .
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = x_header
poheaderx = x_headerx
IMPORTING
exppurchaseorder = po_number
TABLES
return = it_return
poitem = it_item
poitemx = it_itemx
poschedule = it_sched
poschedulex = it_schedx.
IF po_number IS NOT INITIAL.
v_succsount = v_succsount + 1.
MOVE x_table-v_legacy TO x_alv-v_legs.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ELSE.
v_failcount = v_failcount + 1.
MOVE x_table-v_legacy TO x_alv-v_legf.
MOVE x_table-v_legacy TO x_alv1-v_legf1.
LOOP AT it_return INTO x_return.
IF x_alv1-v_msg IS INITIAL.
MOVE x_return-message TO x_alv1-v_msg.
ELSE.
CONCATENATE x_alv1-v_msg x_return-message INTO x_alv1-v_msg SEPARATED BY space.
ENDIF.
ENDLOOP.
APPEND x_alv1 TO it_alv1.
CLEAR x_alv1.
ENDIF.
ENDFORM. " bapicall
FORM DISPLAY_ALV *
FORM display_alv .
PERFORM x_list_header.
PERFORM build_fieldcat CHANGING x_fieldcat.
x_repid2 = sy-repid.
x_event1-name = 'TOP_OF_PAGE'.
x_event1-form = 'TOP_OF_PAGE'.
APPEND x_event1 TO x_event.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = x_repid2
is_layout = x_layout1
it_fieldcat = x_fieldcat
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_save = 'A'
is_variant = x_variant1
it_events = x_event
TABLES
t_outtab = it_alv
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " display_master_data
FORM USER_COMMAND *
FORM user_command USING ucomm LIKE sy-ucomm selfield
TYPE slis_selfield.
READ TABLE it_alv INTO x_alv INDEX selfield-tabindex.
CLEAR : x_alv2,it_alv2[].
LOOP AT it_alv1 INTO x_alv1 WHERE v_legf1 = x_alv-v_legf.
x_alv2 = x_alv1.
APPEND x_alv2 TO it_alv2 .
ENDLOOP.
DATA : it_fieldcat TYPE slis_t_fieldcat_alv.
DATA : x3_fieldcat LIKE LINE OF it_fieldcat.
CLEAR : x3_fieldcat,it_fieldcat[].
CLEAR x3_fieldcat.
x3_fieldcat-col_pos = '1'.
x3_fieldcat-fieldname = 'V_LEGF1'.
x3_fieldcat-reptext_ddic = text-111.
x3_fieldcat-ref_tabname = 'IT_ALV2'.
APPEND x3_fieldcat TO it_fieldcat.
CLEAR x3_fieldcat.
CLEAR x3_fieldcat.
x3_fieldcat-col_pos = '1'.
x3_fieldcat-fieldname = 'V_MSG'.
x3_fieldcat-reptext_ddic = text-112.
x3_fieldcat-ref_tabname = 'IT_ALV2'.
APPEND x3_fieldcat TO it_fieldcat.
CLEAR x3_fieldcat.
x_layout1-colwidth_optimize = 'X'.
x_layout1-zebra = 'X'.
IF it_alv2[] IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = x_repid2
is_layout = x_layout1
it_fieldcat = it_fieldcat
i_save = 'A'
i_callback_top_of_page = 'TOP'
is_variant = x_variant1
it_events = x_event
TABLES
t_outtab = it_alv2
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDIF.
ENDFORM.
FORM USER_COMMAND *
FORM top.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = 'Commentry'.
ENDFORM.
FORM BUILD_FIELDCAT *
FORM build_fieldcat CHANGING et_fieldcat TYPE slis_t_fieldcat_alv.
DATA: x1_fieldcat TYPE slis_fieldcat_alv.
CLEAR x1_fieldcat.
x1_fieldcat-col_pos = '1'.
x1_fieldcat-fieldname = 'V_LEGS'.
x1_fieldcat-reptext_ddic = text-108.
x1_fieldcat-ref_tabname = 'IT_ALV'.
APPEND x1_fieldcat TO et_fieldcat.
CLEAR x1_fieldcat.
x1_fieldcat-col_pos = '2'.
x1_fieldcat-fieldname = 'SUCCESS'.
x1_fieldcat-key = 'X'.
x1_fieldcat-reptext_ddic = text-109.
x1_fieldcat-ref_tabname = 'IT_ALV'.
APPEND x1_fieldcat TO et_fieldcat.
CLEAR x1_fieldcat.
x1_fieldcat-col_pos = '3'.
x1_fieldcat-fieldname = 'V_LEGF'.
x1_fieldcat-key = 'X'.
x1_fieldcat-reptext_ddic = text-110.
x1_fieldcat-ref_tabname = 'IT_ALV'.
APPEND x1_fieldcat TO et_fieldcat.
CLEAR x1_fieldcat.
ENDFORM. " build_fieldcat
FORM BUILD_LIST_HEADER *
FORM x_list_header.
DATA: x_list_header1 TYPE slis_listheader.
*-----List Header: type H
CLEAR x_list_header1 .
x_list_header1-typ = 'H'.
x_list_header1-info = text-105.
APPEND x_list_header1 TO x_list_header.
*-----List Key: type S
x_list_header1-typ = 'S'.
x_list_header1-key = text-106.
x_list_header1-info = v_total.
APPEND x_list_header1 TO x_list_header.
*-----List Key: Type S
CLEAR x_list_header1 .
x_list_header1-typ = 'S'.
x_list_header1-key = text-107.
x_list_header1-info = v_succsount.
APPEND x_list_header1 TO x_list_header.
ENDFORM. " build_list_header
FORM TOP_OF_PAGE *
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = x_list_header.
ENDFORM. " TOP_OF_PAGE
cheers,
Hema. -
Payment method not defaulting from Vendor master data
Hi All
I am running F110 payment run. In the Payment proposal SAP is not pulling payment method from vendor master data for some invoice. we have like two payment methods , Sap is defaulting payment method for one type of payment method and not defaulting for the other...What could be the possible reasons?( for both the invoices We are not maintaining any payment method)Hi
In F110 if payment methods are different from vendor master data and payment methods mentioned in parameters tab it will take payment methods from parameters tab, so that you have to give both payment methods in parameters tab so that it will consider both. -
Hi,
when I create a PO using a vendor, after filling field Purchasing Org., Purch. Group and Company code, system copies a text but I don't know from where.
In PO down the header texts I can read "Text adopted from Vendor Master (Purch.org.-spec.test text )", I cannot find it in vendor master....
Could You help me ?
RegardsHi,
In MK03 please open your vendor go to purchasing data and click on extras on the menu bar, and select text, here you will find purchase order texts, hope this is what you were looking for.
Also check the PIR.
Regards
Shailesh
Edited by: Shailesh Rajan on Jun 28, 2011 3:07 PM -
Payment Terms should come from vendor master data
When we create a new contract (ME31K) Z0NQ for the vendor XYZ by default the payment terms that the contract retrieve is 1131, but in master data (XK03) for vendor XYZ I have payment terms 1011 defined.
I already checked it in Purchase organization and CCode level.
Please advise. Thanks!It should come from vendor master only butmake sure that you are creating cintract based onthe RFQ or some use exit is avtive for that.
-
Hello All,
We generally maintain some vendor information TEXTS . (XK1/2/3 --> Extras --> Texts ).
How do we programatically retrieve the text maintained here.I want to know the table . F1 info. shows the structure name as usual.If thru standard texts what should be the Text Id ? I tried to check in all vendor related tables LF* but left clueless.
Please help.
Regards,
Ramdass.Try this piece of Code
DATA : it_lines_sh TYPE STANDARD TABLE OF tline.
data : m_key type thead-tdname.
M_KEY = '0000305240'. "Vendor"
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = '0001'
language = sy-langu
name = m_key
object = 'LFA1'
TABLES
lines = it_lines_sh
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
This will extract the Accounting note text from Vendor Text.
Regards
Vinod -
Dunning Proposal - Accounting Text from vendor Master
Hi,
In F150, if you click on the change button, it will take you to Dunning proposal and on the selection screen, you have a check point Check Account long text and Check Document Long Text..
1. What is the difference between the two?
2. When you execute this Dunning Proposal, again you get a button for Change Texts, from where the texts can be maintained for each Vendor.. The requirement is to have the text displayed in the output report of Dunning Proposal against each vendor.. How is that possible? I changed Variant to bring in the field Text but it shows blank.
Regards,
SAPFICO
Edited by: SAPFICO on Apr 4, 2011 12:18 PMHi All,
Any Pointers???
Regards,
SAPFICO
Edited by: SAPFICO on Apr 8, 2011 7:22 AM -
Header Text copy to PO from vendor master
Dear all,
I am trying to pull data storeed in vendor master to PO for header text so that we don't need to repeat to each PO for the vendor.
I tried to link this in "Texts for Purchase Orders" in SPRO ,But not able to link it
B'coz it's not allowing me to add the object of vendor master
so pl guide me how i link vendor master text to PO
Regards,
VimleshHi,
In customizing ->material management -> purchasing -> purchase order -> texts for purchase orders -> define copying rules for header texts, choose "header text" and click on text linkages. Here you can enter for source object "vendor master", and for source text choose vendor master header text.
And in the FIX INDICATOR for text you have to maintain blank. then it will copy text
This will copy text from vendor master to PO header text.
Please check this and revert back if you need further details
thanks,
santosh -
Upload vendor master data long texts to CRM
Hi
I do have the same problem of this thread:
[CRM Middleware - R3 to CRM - Long Text transfer |CRM Middleware - R3 to CRM - Long Text transfer]
Does anyone know how to upload long texts of Vendor master data to Business Partner mater data?
Thanks in advance for any help
PierluigiBy learning the basics of BDC recording and the use of GUI_UPLOAD
-
Purchase Order Text in Vendor Master
Hello. Does anyone have information on how to use the Purchase Order Text field in the vendor master? Everything I have read so far is in reference to SRM. We are currently running ECC6.0. I entered information into the PO Text field of the Purchasing screen on the vendor master, but cannot figure out how to get it to input to the PO header text. Any information would be greatly appreciated.
In customizing ->material management -> purchasing -> purchase order -> texts for purchase orders -> define copying rules for header texts, choose "header text" and click on text linkages. Here you can enter for source object "vendor master", and for source text choose vendor master header text.
This will copy text from vendor master to PO header text. -
Hello friends
I have error while creating financial transaction. Payment details are not retrieving from BP master data to creating financial transaction screen.
No payment details entered for transaction
Message no. FTR0030
Please advise to set off this.
Thanks & Regards
SwamiDear Swami,
Please select one payment details in Business partner and use assigned tab from top selection parameter from standing instruction to assigned bank details to product type.
It will open other window like above example for each product of treasury, then assign bank details to product. Once assigned and save.
System will pick payment details in deal automatically based on business partner.
Hope this solve your issue.
Regards,
Jain
Message was edited by: Jain Varghese -
*Journal Entries while uploading the vendor master data from legacy system*
hi SAP Folks,
can any one of you tell me the journal entries while uploading the vendor master data from legacy system to SAP system.
Eg: legacy system is having 10000 vendors list, 1 reconciliation account and $ 1000000. while uploading all these data from legacy system to SAP what are the journal entries we get.
thanks in advance.
Edited by: ravindranath manikonda on Nov 24, 2008 1:12 PMHi
you will be having only one entry logically
i.e. Opening Bal. clrng A/c Dr.
To Vendor A/c Cr.
regards -
Header Text PO from Vendor master automatically
Dear Friends
This is regarding automatically adoption of header text in PO from vendor master. I am following these steps
- Maintained customizing as MM>purchasing > PO>texts for PO >define copying rules for header texts .
in this , select the text type ( this is the PO header text ) and click on text linkage and maintain source obj as vendor master and maintain the fixing as blank ( ie text automatically adopt in the target obj)
-Then I wrote text (needed in FR lanugage) to respective vendor in purchasing view
Now When I create a PO, system does not propose any thing under header text
Did I miss anything.
Please respond
Regards
SGHi,
1. First I assume the configuration settings are correct
MM- Purchasing -- PO --Texts for PO --Define Copying rules for header text
Here the target text type (in this case the PO text type ) i.e. sequence no. is assigned to the correct source object and text (in this case the vendor text type)
2.If you logon to the system using the language option. i.e. logon id, password and language you get the SAP screens in that language. Now if you try to maintain vendor text in FR and create a PO, the FR Text would get copied to the PO. Now if you go back to the EN logon you ll still find the vendor text in FR. So it is definitely linked to the logon language.
There should be another way for this too.
This is an observation and may help you resolve your issue. -
Error while replicating vendor master data from R3 to SRM
Hi,
I am trying to replicate Vendor master data from the R3 system to SRM system(7.0) for the first time and am facing the following error :
Organizational unit 50000004 does not exist; check entries
Message no. BBP_BUPA034
I have gone through the other posts with similar issues but haven't been able to find a solution.
Any ideas?
Thank you.hi sahlini
did you create a vendor organisation structure via PPOCV_BBP ? SINCE YOU REFER THIS NUMBER 50000004 WHAT IS THIS?
BR
\MUTHU -
How to create automatic creation of BP from customer and vendor master data
Hi gurus,
can any one tell how to create automatic creation of BP from customer and vendor master data.
Please give me the steps.
Thanks
Sasikanth.HI,
Goto SPRO\ Cross application components \ Master data synchronization \ Synchronization control.
Assign account groups of customer and vendors to respective BP grouping. This setting is enough to create BP in background while creating customer / vendor. But the fields groups are very much important, ensure mandatory fields should be sync.
rgds,
Srini
Maybe you are looking for
-
i have checked all the option in the option bar in the firefox.. but nothing could help me solving this problem... every time i click home,or try to visit someones profile, or any link in my page its asking for a permision.. saying.. u like to leave
-
Yellow Spots on iPhone 5 screen
Hi everyone. As you can see from the picture, there's a faint yellow spots on the iPhone screen. The phone was purchased in December but the spots didn't appear until yesterday. I've resetted the phone using iTunes and basically ruled out this is a s
-
Initial Positioning of RowIterators
I have a fairly large hierarchy of Master/detail view Objects like: ViewObject1 ->ViewObject2 --->ViewObject3 ----->etc... My swing/Jclient app starts with a search to find the correct row for ViewObject1 and that row gets set to the current Row. Now
-
Hi All, I am facing one issue reagrding flex automation.with the trial version of flex builder,is it possible to have all the classes related automation? when I am trying to use mx.aumation package lots of classes are missing.Can anybody guide me as
-
Clearlooks-gtk2 vs with gtk-engines
The 2 packages in the title conflicts one with the other, and this is fine, because they both provide the engine for clearlooks. But what about the icons and the metacity themes that come with the first of the two? clearlooks-gtk2 provide a greater s