More contact person items in the header data of a stanard order
Hi guys,
we want to create more than one contact person in the header data of a standard order
(for example contact person 1 --> 215, contact person 2 --> 216)
Transaction VA01 --> Goto --> Header --> Partner
It isn´t possible to create more entries with the same partner function.
I found the table VBPA2 instead of the table VBPA. Here it would be possible to enter more of the same contact person items.
How can I customize the function to enter more contact person items?
Thanks for your help.
Regards,
Martin
Hi Eduardo,
thank you for your info, but I haven´t found the flag.
If you mean the flag "unique in cust. mast", this flag isn´t set in our case.
Function Description Partner Error Higher-level Unique CustHTyp
Typ Group Funct In cust.mast
CP Contact person AP 06
Regards,
Martin
Similar Messages
-
How we will display the header data and item data seperately in lists
how we will display the header data and item data seperately in lists
REPORT z_alv_list_block.
TYPE-POOLS: slis. " ALV Global types
SELECTION-SCREEN :
SKIP,
BEGIN OF LINE,
COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(2) TYPE n DEFAULT '02' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
DATA:
1st Table
BEGIN OF gt_kna1 OCCURS 0, " Data displayed
kunnr LIKE kna1-kunnr, " Customer number
ernam LIKE kna1-ernam, " Name of Person who Created
erdat LIKE kna1-erdat, " Creation date
name1 LIKE kna1-name1, " Name 1
END OF gt_kna1,
2nd Table
BEGIN OF gt_mara OCCURS 0,
ernam LIKE mara-ernam, " Name of Person who Created
matnr LIKE mara-matnr, " Material number
ersda LIKE mara-e rsda, " Creation date
brgew LIKE mara-brgew, " Gross weight
END OF gt_mara,
3rd Table
BEGIN OF gt_vbak OCCURS 0,
vkorg LIKE vbak-vkorg, " Sales organization
kunnr LIKE vbak-kunnr, " Sold-to party
vbeln LIKE vbak-vbeln, " Sales document
netwr LIKE vbak-netwr, " Net Value of the Sales Order
waerk LIKE vbak-waerk, " SD document currency
END OF gt_vbak.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
START-OF-SELECTION.
Read data
SELECT * FROM kna1
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_kna1.
SELECT * FROM mara
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_mara.
SELECT * FROM vbak
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'.
PERFORM list_append TABLES gt_kna1
USING '1'
'GT_KNA1'.
PERFORM list_append TABLES gt_mara
USING '2'
'GT_MARA'.
PERFORM list_append TABLES gt_vbak
USING '3'
'GT_VBAK'.
PERFORM f_list_display.
FORM USER_COMMAND *
FORM user_command USING i_ucomm LIKE sy-ucomm
is_selfield TYPE slis_selfield. "#EC CALLED
CASE i_ucomm.
WHEN '&IC1'. " Pick
CASE is_selfield-tabname.
WHEN 'GT_MARA'.
WHEN 'GT_KNA1'.
WHEN 'GT_VBAK'.
READ TABLE gt_vbak INDEX is_selfield-tabindex.
IF sy-subrc EQ 0.
Sales order number
SET PARAMETER ID 'AUN' FIELD gt_vbak-vbeln.
Display Sales Order
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
----< /div>
Form list_append
FORM list_append TABLES ut_table
USING u_no TYPE char1
u_tabname TYPE slis_tabname.
Macro definition
DEFINE m_fieldcat.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = &2.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
ls_sort-fieldname = &1.
ls_sort-up = 'X'.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA :
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
ls_sort TYPE slis_sortinfo_alv,
lt_sort TYPE slis_t_sortinfo_alv. " Sort table
DATA:
lt_events TYPE slis_t_event,
ls_event TYPE slis_alv_event,
ls_layout TYPE slis_layout_alv.
ls_layout-group_change_edit = 'X'.
ls_layout-colwidth_optimize = 'X'.
ls_layout-zebra = 'X'.
ls_layout-detail_popup = 'X'.
ls_layout-get_selinfos = 'X'.
ls_layout-max_linesize = '200'.
CASE u_no.
WHEN '1'.
Build field catalog and sort table
m_fieldcat 'KUNNR' 'KNA1'.
m_fieldcat 'ERNAM' 'KNA1'.
m_fieldcat 'ERDAT' 'KNA1'.
m_fieldcat 'NAME1' 'KNA1'.
m_sort 'KUNNR'.
WHEN '2'.
m_fieldcat 'MATNR' 'MARA'.
m_fieldcat 'ERNAM' 'MARA'.
m_fieldcat 'ERSDA' 'MARA'.
m_fieldcat 'BRGEW' 'MARA'.
m_sort 'MATNR'.
WHEN '3'.
m_fieldcat 'VBELN' 'VBAK'.
m_fieldcat 'VKORG' 'VBAK'.
m_fieldcat 'KUNNR' 'VBAK'.
m_fieldcat 'NETWR' 'VBAK'.
m_fieldcat 'WAERK' 'VBAK'.
m_sort 'VBELN'.
ENDCASE.
IF u_no CA '13'.
MOVE 'TOP_OF_PAGE' TO ls_event-name.
CONCATENATE 'TOP_OF_PAGE' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ELSE.
MOVE 'TOP_OF_LIST' TO ls_event-name.
CONCATENATE 'TOP_OF_LIST' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = lt_fieldcat
is_layout = ls_layout
i_tabname = u_tabname
it_events = lt_events
it_sort = lt_sort
i_text =
TABLES
t_outtab = ut_table
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
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. " LIST_APPEND
Form f_list_display
FORM f_list_display.
DATA ls_print TYPE slis_print_alv.
ls_print-no_print_selinfos = 'X'. " Display no selection infos
ls_print-no_print_listinfos = 'X'. " Display no listinfos
ls_print-reserve_lines = 2. " Lines reserved for end of page
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
is_print = ls_print
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. " F_LIST_DISPLAY
FORM top_of_page1 *
FORM top_of_page1. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page3 *
FORM top_of_page3. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page *
FORM top_of_page.
ULINE.
WRITE : sy-uname, sy-title(56) CENTERED, sy-datum.
ULINE.
ENDFORM.
FORM top_of_list2 *
FORM top_of_list2. "#EC CALLED
WRITE 'TOP OF LIST2'.
ENDFORM.
END OF PROGRAM Z_ALV_LIST_BLOCK *********************** -
How to display the header data on different position in alv report
hi all,
how to display the header data on different position in alv report.
for example ,
customer name
xxxx xxxx
vendor name street
xxxx xxxx xxxxx
pls help me .hi
as per my understanding you need to trnasfer header internal table data to pdf..
please check the following links for internal table to pdf..
Convertion of Internal table data to PDF
This link is related to ur issue
Re: how to insert the calling of the FM: OTF to PDF
Thanks -
How to display text value in the header data (Header text) of credit memo
Hi...
I need to display the text value of the text field in the header text of the header data in credit memo.
The text values are stored in a ztable and i need to display it based on the billing document stored in vbrk (zfield) that was inserted during the creation of credit request..
Appreciate your help on how to do this...
Thansk and will surely reward the points..
Kanthi..Hi kanthi ,
Read the value from Z Table and during the creation of cedit memo check out for some exit where u the value from The zTABLE AND use function module SAVE_TEXT with object and id in the header text .
Please award if useful. -
JMS Adapter setting the header data of MQ message
Hi All,
I need to set the properties in JMS adapter for setting the header data of MQ message.
JMS_IBM_MQMD_Format = MQFMT_NONE.
Thanks in advance
RavijeetHi All,
I am stuck in a typical XI issue.......I have a scenario where my input to XI is IDoc and output is xml message going to IBM MQ.
The IDoc is sending some chineese character which is fine is SXMB_MONI Integration server and also fine in the payload of message monitoring, so feel the message is going fine from XI to MQ.
But the receiver EDI system which is picking the message from MQ queue says the chinese characters are getting corrupted. They say that you need to set the additional properties in MQ header data
JMS_IBM_MQMD_Format = MQFMT_NONE.
How do I do this in communication channel for jms adapter ? How to I set the MQ header data in jms communication channel ?
Thanks in advance
Ravijeet
Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM
Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM -
Pre-Populating the header data in the survey attached to an activity in CRM
Hello Gurus,
I have a question regarding Pre-Populating the header data in the survey attached to an activity in CRM Mobile 4.0. That in can we define a Functional module for a PBO (Process Before Output) for a survey u201CZ_SVY_Templateu201D in CRM 4.0.
So that when a Sales rep opens the Survey in CRM Mobile 4.0 the Organizationu2019s Header data should automatically be displayed in the u201CZ_SVY_Templateu201D, so that he just needs to fill out only the remaining additional blank fields in the survey.
<< Moderator message - Please do not offer points >>
Thanks,
Siddhu
Edited by: Rob Burbank on Oct 8, 2010 2:16 PMModerator message - Cross post locked
Rob -
Summing up items of the same date in crystal report
Hi Experts,
I am doing a sales analysis report in crystal and I have grouped the report by the BP Name hence showing sub totals per BP. I would also like to go further and sum up same sales items done on the same date under one item description i.e
Date Code Description Amt $
02-Mar-2011 NTE01 Handling Charges 1,000
02-Mar-2011 NTE01 Handling Charges 1,000
02-Mar-2011 NTE01 Handling Charges 1,000
03-Mar2011 NTE02 Storage Charges 2,000
03-Mar2011 NTE02 Storage Charges 2,000
03-Mar2011 NTE02 Storage Charges 2,000
Expected Results
Date Code Description Amt $
02-Mar-2011 NTE01 Handling Charges 3,000
03-Mar2011 NTE02 Storage Charges 6,000
Patrick
Edited by: Patrick Makanga on Mar 10, 2011 8:05 AM
Edited by: Patrick Makanga on Mar 10, 2011 8:17 AMHi Julie
Thanks, had grouped by PBs and summed up sub totals per each BP and finally a grand total for all the BPs. Just wanted to make the report appear shot and avoid repetition of two same items with the same date. Have tried creating the two levels of groups but still not getting the desired results, could it be done with a formula field? if yes, how is the code?
Patrick -
Lead Columns - editing the head data
Hi,
I have Cost center in the lead columns and I have to display both the Key and Name. On the layout only the column where key appears has the head data as Cost center the column where the name appreas has blank head data. I want to edit that to show head data as "Description". I tried editing but the changes cannot be saved.
Any suggestions?
Thanks,
HemaI noticed this too and the only way I could get around it was to build my own user interface worksheet and have a macro move the data into it as I liked.
-
Is it posible to find out the billing date of any sales order..?
Hi all,
Is it posible to find out the billing date of any sales order..?
If it is posible tell me how to do.
ThanksHi ,
Can you explain more on this.
I think you want to know billing date for the sales order. Here the billing is already done.
If so , go to vbfa table and then give the sales order number in VBELV field. You will get many records. But VBTYP_N give as M ( Invoice ) and find out the document number and then pass it in billing table VBRK and get the date of creation.
If it is like proposed date while creating the sales order ,
then i am not sure about it.
Regards,
Venkatesh -
Can we change the doc date in a purchase order ?
can we change the doc date in a purchase order ?
i have created PO with wrong dates but now want to correct it, but its not letting me do it ...why ?I don't think DOC DATES can be changed. You can only change the posting dates of the Goods receipt and Invoice documents as that is what matter for your financial consolidation.
Regards,
Ravi
Note : Please mark the helpful answers -
Multiple Contact person at sales document header
Hi Friends
I have maintain the multiple Contact person as Architect, Consultant etc. in sales document header in partner function. Now i want to print the contact persons detail in output so i wanted to know where from i can get these data after saving sales order
Regards
ShambhuHI
All the partner related information in a document can be fetched from table VBPA.
You may have to change the script to get those details in output.
Regards
Guru -
HR BAdi to display the header data of employee (PA30)
Hello All,
I am using transactions PA30 and PA20 to change the HR master data. I will explain my problem as follows.
1) Transaction pa30. Enter personal number. Press enter. Screen will display employee basic info at header, just before selecting the any infotype. SSN number is also displayed for USA employee.
2) I will select infotype 0002, change the SSN number, save it. before saving, in function module exit:EXIT_SAPFP50M_002 (INCLUDE ZXPADU02) , i am encrypting the SSN number and then stores it in DB.
3) In BADI HRPAD00INFTY(BEFOE_OUTPUT), i am taking same encrypted SSN number form DB, decrypt it, and showing on screen.
But the header part is still showing encrypted value. It is not decrypting the value before display. After investigation i found that, while displaying header part, mentioned Badi is getting called. I want to decrypt he same before display in header part only. It is working fine with detailed part (Means 0002 infotype screen).
Which Badi should i use to decrypt the SSN number, before display it in header part??
Any help??
Thanks,
PrashantHi Prashant,
The Badi method is triggering before the PBO, Means before infotype screen 3000
In your requirement you have to implement the method AFTER_INPUT rather than BEFORE_OUTPUT in the same BADI implementation
This will work, Try it out.
Thanks
Pavan
Edited by: pavan kanike on Jan 30, 2009 7:34 PM -
Remove "content-length" item from the header of httpServletResponse
Hi all,
tomcat6.0, JDK5.0.
I use tomcat6.0 as the web container and JDK version is 1.5.
I found tomcat connector will add "content-length" item in all httpServletResponse header.
But now I need generate some chunked http response.according the RFC, there should be no "content-length" item in the http header when response is chunked-encoding.
So how can I remove the 'content-length" item from the httpServletResponse header?
Thanks a lot!
Rareone posting to a question, please:
http://forum.java.sun.com/thread.jspa?threadID=5268921&tstart=0
% -
Changing the header data in an appraisal to enable part appraisers
Hi
We have implemented the BAdi HRHAP00_ACC_HEADER and added the enhanacement in our template. when we access the transaction PPPM as a manager and go into the appraisal document for an employee, we still cannot enable the Part appraisers button to add part appraisers on in the In Process Status. Is there perhaps something we are missing or is there something that has to be turned on. On testing the BAdi seperately, we do get the desired result, except accessing the appraisal via the transaction PPPM it enables nothing. PLs help
NasmeethaHello Nasmeetha,
There are to standard delivered BAdI implementations that do what you want. One enables the header for adding part appraisers in status 'In Planning' and 'In Review'. The other in status 'In Process'.
When configured on the document a button should appear called 'Change Header'. On pressing this the header is turned open.
Now, pppm, means R/3 UI. Next to the line with 'part appraisers' is a button with an arrow. Press this button. A popup appears and this should be ready for input.
If this is not the case you should create an OSS message on PA-PD-PM.
Regards and Groetjes,
Maurice -
Table for the PO Date and Stock Transfer Order Date of a material no
Hello Everyone!
I am having a requirement where I want both the Purchase Order Date and Stock Transfer Order Date of a perticular material no.
On the basis of difference of these two dates I want to find out the period for which the material was present in supplying plant.
I am not getting the table through which I can get these two dates for a material.
Please help me out.
Its urgent.hi,
see these tables:
EKKO Purchase Order Header Table
EKPO Purchase Order Item Table
EKBE PO History table.
reward if its useful
Maybe you are looking for
-
Hello. I erased (completely not quickly) my 4.7 GB DVD+RW with the help of Disk Utility in which it was successful, it asked me to open Finder, DVD Player or Disk Utility, I chose Finder. Then I dragged a MP4 and burned it, it asked me to name the bl
-
I have the latest version of iTunes for Windows Vista, and when I download a song, or play a song, the info bar at the top runs a process called "determining song volume". when ever that runs, iTunes stops working, and shuts down. then Vista loads a
-
Looping the same answer from the 1st row in the table
I have a database with 3 tables: (1) employeeTable (2) cityTable (3)stateTable. I reference the employee's city name and state code by each id number from the cityTable and stateTable. My Employee table has about 10 records, 3 has an idcity and idsta
-
Multiple page format for single smartforms
We have a requirement to get the output in different page formates for a smartform. How to achieve this???
-
I have an xml file tagged with namespaces: for example, ce:section, ce:para i just trying to collect the 'ce:floats' xml nodes by using the following code: //Defining the Namespace in the array of arrays of 2 strings Dim NmSpArr(,) As String = {{"sb"